VMWare and Host Parents

Andreas Ericsson ae at op5.se
Tue Dec 11 10:13:24 CET 2007


Matthew Joyce wrote:
> Does anyone have any working strategies for dealing with Host Parents on
> systems where parents may change ?
> 
> I have multiple VMware ESX server and we will be moving guest systems
> between them, thusly the Parent IP will change.
> 

Manually or automatically (when one VMWare host server fails, fe)?
If manually and the guests will then run on that host-server only,
there is no simple way to tell nagios this. It's akin to moving a
server from one room to another. Nagios can't know that parents
have changed unless you tell it to, so you'll have to reconfigure
Nagios when it happens.

>  
> 
> I saw a posting saying to create a virtual host which represents the ESX
> cluster and to use check_summary to test for at least one OK ESX server.
> 
>  
> 
> The check_summary didn't work for me, I wondered if there was another
> way to achieve the same result ?
> 

If it's supposed to happen automatically, you can use check_icmp in
check_host mode, like so:
ln -s check_icmp check_host
./check_host ip1 ip2 ip3 ... ipN

If at least one server responds, it will return ok.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list