> I am monitoring several hundred virtual machines and they > move from time to time to different VMware host machines. My > question is how can I easily update the parents for these?
We have this situation as well. The way I get around it is to reconfigure the scripts daily. I have a reconfigurator which regenerates the config files for both MRTG and Nagios, probing the SNMP on the VMWare server to identify the various locations of the guests. This is then used to set parent definitions, and also make summary graphs for MRTG. At the same time, it probes for agents, checks for various services, and dynamically reconfigures the monitoring for certain things (theres a central config file the holds a list of what should be there, in addition). We dont vmotion the guests very often, anyway, and the check_esx2 plugin will log current active VMs so it also keeps track of any changes. Sadly I can't share a copy of the config tool as it is too specific to our site. Steve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null