Re: snmp monitoring of Virtual Hosts via Physical Node? [message #5713 is a reply to message #5693] |
Mon, 28 August 2006 19:34 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
![](http://new-forum.openvz.org/images/custom_avatars/199.png) |
curx
Messages: 739 Registered: February 2006 Location: Nürnberg, Germany
|
Senior Member |
![curx@jabber.de](/theme/ovz3/images/jabber.png)
|
|
Hi,
thoughts:
install the a snmp daemon! on the hwnode, (like that one http://net-snmp.sourceforge.net/ or a snmpd, provided by your distro),
and write a (sh|perl|php|or_other_lang)script, which print the information out of the ve's /proc or other info src (i.e. with vzctl exec <veid> 'grep venet0 /proc/net/dev' - for the veid's network-traffic )
When walk through MIB, the script is executed and print out the information.
You can read more in the snmpd.conf under "Executables/scripts"
[Updated on: Mon, 28 August 2006 19:39] Report message to a moderator
|
|
|