Difference between revisions of "Talk:Monitoring /proc/user beancounters with nagios"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{DISPLAYTITLE:Monitoring /proc/user_beancounters with email}}
 
{{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>
+
To be added locally on the VZ HN to <code> /etc/crontab </code> to script <code> resource.sh </code>
  
  

Revision as of 10:40, 13 August 2008

To be added locally on the VZ HN to /etc/crontab to script resource.sh



<source lang=shell>

  1. !/bin/bash
  2. Copyright (C) 2008 Mgual
  3. Distributed under GNU General Public License v3
  4. v0.2 2008-04-04
  5. Christian Benke <benkokakao gmail com>

import string import pickle import sys import getopt import re

veid= current_data=dict()