check_cluster config

stephen wing stephen.wing at steria.co.uk
Mon Oct 1 09:50:04 CEST 2007


Hi 

            I am trying to setup the check_cluster service

I have 2 aix client machines configured for HACMP and I need to measure the
filesystem fullness which I already do for filesystems that remain on each
host. I also need to measure the filesystems that will move between hosts if
the cluster fails over. For each cluster member I have setup a service to
monitor the desired filesystem that moves hosts, so nagios shows the
filesystem is OK on the active host and a critical alert on the passive
host. 

I want to use check_cluster to monitor alerts if filesystem is not visible
on either host.

 

I have setup the servicecluster.cfg file with the 2 hosts and the service
descriptions on each.

I have defined the command as follows :-

 

# 'check_service_cluster' command definition

define command{

        command_name    check_service_cluster

        command_line    /usr/local/nagios/libexec/check_cluster --service
/usr/local/nagios/var/status.dat $ARG1$ $ARG2$ < $ARG3$

        }

 

I have also defined the service against the nagios server as :-

 

define service {

host_name                      aixtest1

service_description            hcn cluster status

check_command
check_service_cluster!1!2!/usr/local/nagios/etc/servicecluster.cfg

use                            generic-service

max_check_attempts             3

normal_check_interval          1

retry_check_interval           1

active_checks_enabled          1

check_period                   24x7

notification_interval          60

notification_period            24x7

notification_options           w,c,r

notifications_enabled          1

contact_groups                 admins

}

 

With this setup, nagios gives the error :-

Could not parse arguments 

 

 

Has anybody done this sort of thing before and have any ideas why it is not
working.

 

Regards

Stephen

 

 

 ---------------------------------------

 

Stephen Wing

 

Steria Limited

 

Senior Technical Consultant

Telephone  02890393605

Mobile       07966823605

 


*****************************************************************

This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk.

This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights.  It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery.
If you receive this email by mistake, please advise the sender and cancel it immediately.
Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures.
Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071001/b6d32e46/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- 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