[Nagiosplug-help] check_cluster2

Kemp, Darren Darren.Kemp at xerox.com
Tue Aug 17 16:12:09 CEST 2004

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

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


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?



More information about the Help mailing list