monitoring for exactly 1 process on 3 hosts

Stuart Browne stuart.browne at ausregistry.com.au
Tue Jun 8 01:45:07 CEST 2010


> -----Original Message-----
> From: Litwin, Matthew [mailto:mlitwin at stubhub.com]
> Sent: Tuesday, 8 June 2010 08:57
> 
> I need to monitor that a process is running on one of three hosts and
> that is not running on the other two. Is there a way to set up a
> service such that a check must return OK for only one host of a
> hostgroup and alarm if there is less or more than one instance running
> in that hostgroup?
> -----------------------------------------------------------------------

Look at using check_proc (without notifications) combined with check_cluster (with notifications).

Stuart

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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