Quoting Michael Friedrich <michael.friedr...@univie.ac.at>:

   Hi Ashish,

   Try to configure cluster resource under a new virtual host in nagios.

   define host {
   host_name        cluster
   address             0.0.0.0
   parents              clusterserver1 clusterserver2
   }

   Define clustered service under virtual host.

   define service{
   host_name            cluster
   check_command   servicename
   }

   Services will be checked under servers configured as parents if it is
available on any one of the node service will be ok.

   Rgds,

   Aravind M D

    
On 2011-10-12 15:04, Kumar, Ashish wrote:  > Hello fellow Nagios users,

   I have configured a couple of hosts in Nagios, since they are
the nodes of a HA cluster the services are running on the active
host only.  As obvious Nagios is showing the services down on the
passive host.  I tried using check_cluster and check_cluster2 but
due to the lack of information around the web and mailing list
archives I couldn't figure out how it can be configured.

   Would anyone actually using check_cluster like to lend me a hand? :)

  i'd suggest using check_multi instead for checking real clustered services.


   We are using Nagios Core 3.2.0 on Centos.

   Thanks,
   Ashish Kumar
    

------------------------------------------------------------------------------ 
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity and more. Splunk takes this data and makes sense of it. 
Business sense. IT sense. Common sense. 
http://p.sf.net/sfu/splunk-d2d-oct_______________________________________________
 Nagios-users mailing list 
Nagios-users@lists.sourceforge.nethttps://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


--  DI (FH) Michael Friedrich  Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria  email:
michael.friedr...@univie.ac.at phone:     +43 1 4277 14359 mobile:
 +43 664 60277 14359  fax:    +43 1 4277 14338 web:
http://www.univie.ac.at/zidhttp://www.aco.net  Icinga Core &
IDOUtils Developer http://www.icinga.org
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
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

Reply via email to