Want to test machine if EITHER of two other machines is up

Emanuel Massano emanuel.massano at fccn.pt
Wed Apr 9 23:52:42 CEST 2008


Hi,
Have you tested with check_cluster? I think it is what you want.
Here is the link in the docs: 
http://nagios.sourceforge.net/docs/3_0/clusters.html

Regards
EM

Kelly Jones wrote:
> I use vMotion to auto-move several VMs between two VM servers: vm1 and vm2.
>
> I want to monitor these VMs if *either* of vm1 *or* vm2 is up, not
> necessarily both.
>
> Is there any easy way to do this? "parents vm1,vm2" requires both to be up.
>
> My hack solution was to create a fake "vm-either" machine whose check
> command is effectively "ping vm1 || ping vm2", and then make vm-either
> the parent of all my VMs.
>
> Is there a better way?
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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