<body style="font-family:Arial;font-size:14px"><p>
Quoting Michael Friedrich <<a href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a>>:<br />
<br />
Hi Ashish,<br />
<br />
Try to configure cluster resource under a new virtual host in nagios.<br />
<br />
define host {<br />
host_name cluster<br />
address 0.0.0.0<br />
parents clusterserver1 clusterserver2<br />
}<br />
<br />
Define clustered service under virtual host.<br />
<br />
define service{<br />
host_name cluster<br />
check_command servicename<br />
}<br />
<br />
Services will be checked under servers configured as parents if it is available on any one of the node service will be ok.<br />
<br />
Rgds,<br />
<br />
Aravind M D<br />
<br />
</p>
<blockquote style="border-left:2px solid blue;margin-left:8px;padding-left:8px;" type="cite">
On 2011-10-12 15:04, Kumar, Ashish wrote:
<blockquote cite="mid:CAKjbCD5wLbG=U12+05O0PQbbUQQRsGU_xCZpi6_TNmo18aPtEQ@mail.gmail.com" type="cite">
Hello fellow Nagios users,<br />
<br />
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.<br />
<br />
Would anyone actually using check_cluster like to lend me a hand? :)</blockquote>
<br />
i'd suggest using check_multi instead for checking real clustered services.<br />
<br />
<blockquote cite="mid:CAKjbCD5wLbG=U12+05O0PQbbUQQRsGU_xCZpi6_TNmo18aPtEQ@mail.gmail.com" type="cite">
<br />
We are using Nagios Core 3.2.0 on Centos.<br />
<br />
Thanks,<br />
Ashish Kumar<br />
<br />
<br />
<pre wrap="">
</pre>
<fieldset class="mimeAttachmentHeader">
------------------------------------------------------------------------------ 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. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-d2d-oct">http://p.sf.net/sfu/splunk-d2d-oct</a>
<pre wrap="">
</pre>
<fieldset class="mimeAttachmentHeader">
_______________________________________________ Nagios-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null</fieldset>
</fieldset>
</blockquote>
<br />
<br />
<pre class="moz-signature" cols="72">
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: <a class="moz-txt-link-abbreviated" href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a>
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: <a class="moz-txt-link-freetext" href="http://www.univie.ac.at/zid">http://www.univie.ac.at/zid</a>
<a class="moz-txt-link-freetext" href="http://www.aco.net">http://www.aco.net</a>
Icinga Core & IDOUtils Developer
<a class="moz-txt-link-freetext" href="http://www.icinga.org">http://www.icinga.org</a>
</pre>
</blockquote>
<br />
<br />
</body>