Monitoring openvz resources using nagios and snmp

From OpenVZ Virtuozzo Containers Wiki
Revision as of 07:47, 4 October 2006 by Wolodyj (talk | contribs) (snmpd configuration)
Jump to: navigation, search

snmpd configuration

Debian Etch example:

apt-get install snmpd

edit /etc/default/snmpd : remove -u snmp and repleace 127.0.0.1 witch your ip, Example:

export MIBDIRS=/usr/share/snmp/mibs
SNMPDRUN=yes
SNMPDOPTS='-Lsd -Lf /dev/null  -I -smux -p /var/run/snmpd.pid 207.46.250.119'
TRAPDRUN=no
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'