Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Talk:Monitoring /proc/user beancounters with nagios

205 bytes removed, 10:39, 13 August 2008
no edit summary
{{DISPLAYTITLE:Monitoring /proc/user_beancounters with email}}
To be added locally on the VZ HN to <code> /etc/crontab </code> to script <code> resource.sh <code>
Works as nagios-plugin with option '-f' or reports an increase of a failcnt-value by mail if run e.g. as a cronjob with option '-t'. We use it with both cases to be sure that we see a peak in case it happened between the nagios-checks.
  <source lang=pythonshell>#!/usr/bin/pythonbash# Copyright (C) 2008 Christian BenkeMgual# Distributed under the terms of the GNU General Public License v2v3
# v0.2 2008-04-04
# Christian Benke <benkokakao gmail com>
12
edits