Cluster Query

Kemp, Darren Darren.Kemp at xerox.com
Thu Aug 5 17:09:23 CEST 2004


It occurs to me I need to be more specific.

I have the syntax ok, but even through I have 16 services in my cluster,
the check only resturns that 1 is ok, and 0 for crit/warn etc. 

I have a somewhat strange cluster setup as we have multiple services in
the cluster on each host (4 java apps running on different ports) so my
cluster.cfg looks something like:

Host1;service a
Host1;service b
Host2;service c
Host2;service d

Etc.

Also, in the service entry for the cluster I just have host1 under
host_name (it seemed redundant to put anything else there, seeing the
actual hosts are in the cluster.cfg)

Will this work? And if so, am I missing a step?

Command def:
define command{
        command_name    check_service_cluster
        command_line    /usr/local/nagios/libexec/check_cluster2
--service -w $A
RG1$ -c $ARG2$ -d /usr/local/nagios/var/status.log < $ARG3$
        }

Service def:

define service {
        use                             generic-service
        service_description             SERVICE CLUSTER
        host_name                       host1
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            3
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,c,r
        check_command
check_service_cluster!2!4!/usr/local/nagios/etc/servicecluster.cfg
}

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kemp,
Darren
Sent: Thursday, August 05, 2004 10:49 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Cluster Query

Does anyone have any sort of base documentation for check_cluster2 for
NAGIOS 2.0? It appears to be completely different and I cannot get the
syntax to work properly.

Thanks in advance.

-dkk




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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