[Nagiosplug-help] RE: check_cluster2

Kemp, Darren Darren.Kemp at xerox.com
Tue Aug 17 16:05:23 CEST 2004


Never mind, I finally found the proper documentation.

All RTFM'f will be sent to /dev/null

;)

-dkk


-----Original Message-----
From: Kemp, Darren 
Sent: Tuesday, August 17, 2004 2:56 PM
To: 'nagiosplug-help at lists.sourceforge.net'
Subject: check_cluster2

I still cannot get this plugin to work properly.

The hosts clusters seem to be ok, however I cannot get a service cluster
to work in NAGIOS, or even on the command line properly.

../libexec/check_cluster2 -s -w 2 -c 4 -d
"webapvip02;IQ5-9087,webapvip02;IQ6-9088,webapvip01;IQ2-9087"

Service cluster ok: 3 ok, 0 warning, 0 unknown, 0 critical

2 of these servers are in a critical state, yet all shows up OK.

The same (or similar) check in NAGIOS, only shows data for one host.


define service {
        use                             generic-service
        service_description             TEST CLUSTER
        host_name                       clusters
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            3
        contact_groups                  managedservices,user
        notification_interval           120
        notification_period             24x7
        notification_options            w,c,r
        check_command
check_service_cluster!4!8!webapvip01;IQ1-9086,webapvip01;IQ2-9087

}

define command{
        command_name    check_service_cluster
        command_line    /usr/local/nagios/libexec/check_cluster2
--service -w $A
RG1$ -c $ARG2$ -d "$ARG3$"
        }


In NAGIOS I get a 1 ok, 0 down 0, 0 0, etc,

Does anyone have this working properly? What am I missing?

Thanks,

-darren











More information about the Help mailing list