|
What we do here is to use a 2-stage process. Each guest is monitored as we would any other standalone server (install agent, set up templates, etc).
Then, we use the check_esx to query SNMP on the vmware console and obtain information like CPU usage by a particular guest, and overall CPU usage on the physical machine.
Finally, due to the dynamic nature of VMware (especially if you use VMotion as we do) I needed to produce a further utility which I have not yet published. That is a perl script which runs every 5 mins, and it queries for all existing guests, plus it has a saved list of past guests. It dynamically recreates some MRTG .cfg files and also fetches CPU, Net and Memory usage information and stores it into multiple .rrd files. MRTG does not actually get involved in the process at all. The .cfg files are then used by routers2 to display some complex userdefined summary graphs over the guests. This has the benefit of holding historical info even for guests no longer in existance or moved to a different server.
I can send you a copy of this last program if you wish? Also, check_esx has been updated and I will upload the new version to the web shortly. The new version is better with CPU stats.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|