snmp limit? / VE monitoring [message #22484] |
Mon, 29 October 2007 20:06 |
FooDog
Messages: 7 Registered: September 2007
|
Junior Member |
|
|
i found the wiki entry for monitoring each VE
http://wiki.openvz.org/Monitoring_openvz_resources_using_nag ios_and_snmp
on our RHEL4 hardware nodes...
installed snmpd, configured snmpd:#cat /etc/snmp/snmp.local.conf
rocommunity vz
exec .1.3.6.1.4.1.2021.51 beancounters /bin/cat /proc/user_beancounters
exec .1.3.6.1.4.1.2021.52 vzquota /bin/cat /proc/vz/vzquota anytime i snmpwalk the .1.3.6.1.4.1.2021.51 OID, i get a timeout and snmpd would need to be restarted.
the .1.3.6.1.4.1.2021.52 OID worked perfectly. hrm.
after some troubleshooting....snmp seems to have some limits:
snmpd returns a max of 1024bytes, anything larger is truncated, anything over 4096bytes causes snmpd to hang.
cat /proc/user_beancounters|wc -c
13600 o well.
anyone solved this issue or use other solutions for VE monitoring?
i'm thinking either have SNMP only return data for one VE at a time. or
do the monitoring on the HN, and export to a central location.
ideas?
|
|
|