On 1/13/12 2:44 AM, Morty wrote: > I've gotten check_cluster working to monitor a service cluster per the > docs. It works at a basic level. Thanks! > > Problem: service definitions seem to require an associated host or > hostgroup. I don't want to tie the check_cluster to an individual > host, because if that host goes down, a different host in the cluster > could still be up. But I also don't want it tied to every host in the > cluster because then I could get duplicate notifications. > > What am I missing? > The easy solution. Add a host entry called "WWW-Cluster1" or whatever you want it to be called.. Set the ip address to 127.0.0.1, and your host up/down check to some always-alive check ("echo OK" will do fine).
Then attach your cluster services to that. You could even have your host availability check be a check_cluster command that pings all your hosts. -- Mike Lindsey ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ 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