|
Three ways to do it.
1) The check_vmware plugin will provide this functionality eventually, but does not yet do so due to complications. So you'd have to wait for that.
2) If you are using VSphere4, you can buy the Cisco virtual switch for ESX. This makes the ESX Virtual switch completely SNMP capable and so it can be monitored by MRTG or Nagios using the same methods you would use for a physical switch. This is probably the best way to achieve it - but there is a significant cost involved in the licenses.
3) With a bit of work, you can get this information from the OS. If you install nsclient/NC_Net or SNMP on windows, and SNMP or NRPE on Linux, you can query the network interface counters in the guest and then use MRTG and Nagios to monitor network traffic that way. This is how we do it. You need to make sure you are calculating the rate on the MRTG/Nagios server and not on the guest, though, else youll be affected by clock skew.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|