Re: [Nagios-users] monitoring for exactly 1 process on 3 hosts

2010-06-08 Thread Rui Miguel Silva Seabra
Seg, 2010-06-07 às 16:57 -0600, Litwin, Matthew escreveu:
 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?

I think you'll need a local test combining the results of all three, or
remotely checking all three (via ssh, NRPE, etc...).

Rui


--
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@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

[Nagios-users] monitoring for exactly 1 process on 3 hosts

2010-06-07 Thread Litwin, Matthew
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?
--
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@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


Re: [Nagios-users] monitoring for exactly 1 process on 3 hosts

2010-06-07 Thread Stuart Browne
 -Original Message-
 From: Litwin, Matthew [mailto:mlit...@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@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