Monitoring clustered services
Aravind M D
aravind at linuz.in
Wed Oct 12 20:08:00 CEST 2011
Quoting Michael Friedrich <michael.friedrich at 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 at 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.friedrich at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111012/17882199/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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