Re: [Nagios-users] check cluster plugin

2007-05-01 Thread Thomas Guyot-Sionnest
On 24/04/07 12:07 PM, James wrote: > > What i wanted to know how to do was assign a name to EACH node of the > cluster in the notification email. > The host that is using the service is not associated with the cluster i > need to monitor at least that's what it says i should do in the > instructio

Re: [Nagios-users] check cluster plugin

2007-04-24 Thread James
Ok i have a new problem I'm trying to run check_cluster as a service associated with the nagios server When i run the check_cluster command separately from nagios it's seems fine and i get a CLUSTER OK: DNS: 3 up, 0 down, 0 unreachable When i run it with nagios i get CLUSTER OK: DNS: 0 up, 0 do

Re: [Nagios-users] check cluster plugin

2007-04-24 Thread James
Thomas Guyot-Sionnest wrote: > On 23/04/07 07:08 PM, James wrote: > > The name should be the host/service name in your notification email. I.e. > > define service { > host_name ClusterNode > service_description My Cluster > check_command > check_cluster!$HOSTSTATEID:1.2.3.4$,$HOS

Re: [Nagios-users] check cluster plugin

2007-04-23 Thread Thomas Guyot-Sionnest
On 23/04/07 07:08 PM, James wrote: > Ok thanks that's working great. > > I had one more question about this cluster plugin tho. > > So for instance when i'm running the plugin i'm checking the plugin > against an ip address. > However say if i want the notification to send back the hostname that

Re: [Nagios-users] check cluster plugin

2007-04-23 Thread James
Ton Voon wrote: > James, > > Can you try the snapshot at http://nagiosplug.sf.net/snapshot. > check_cluster2 has been recently moved into core and renamed as > check_cluster. > > Ton > > On 23 Apr 2007, at 21:23, James wrote: > >> Hi i was trying to use the check cluster plugin from the contrib >

Re: [Nagios-users] check cluster plugin

2007-04-23 Thread Ton Voon
James, Can you try the snapshot at http://nagiosplug.sf.net/snapshot. check_cluster2 has been recently moved into core and renamed as check_cluster. Ton On 23 Apr 2007, at 21:23, James wrote: > Hi i was trying to use the check cluster plugin from the contrib > directory in the nagios plugin

Re: [Nagios-users] check cluster plugin

2007-04-23 Thread James
Patrick Morris wrote: > You're going to need to compile it first. You're running the source > code. > > On Mon, 23 Apr 2007, James wrote: > > >> Hi i was trying to use the check cluster plugin from the contrib >> directory in the nagios plugins download but i get the following: >> >> ./check_c

Re: [Nagios-users] check cluster plugin

2007-04-23 Thread Patrick Morris
You're going to need to compile it first. You're running the source code. On Mon, 23 Apr 2007, James wrote: > Hi i was trying to use the check cluster plugin from the contrib > directory in the nagios plugins download but i get the following: > > ./check_cluster2.c: line 1: /backup: is a direc

[Nagios-users] check cluster plugin

2007-04-23 Thread James
Hi i was trying to use the check cluster plugin from the contrib directory in the nagios plugins download but i get the following: ./check_cluster2.c: line 1: /backup: is a directory ./check_cluster2.c: line 2: aix: command not found ./check_cluster2.c: line 3: aix: command not found ./check_clus

Re: [Nagios-users] Check cluster

2007-03-28 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Peter van den Berg > Sent: Wednesday, March 28, 2007 8:37 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Check cluster >

Re: [Nagios-users] Check cluster

2007-03-28 Thread Peter van den Berg
>> -Original Message- >> >> The check definition is: >> define command{ >> command_namecheck_service_cluster >> command_line$USER1$/check_cluster2 -s -l $ARG1$ -w $ARG2$ -c >> $ARG3$ -d $arg4$ >> } >> >It might also help you to diagnose what nagios is really

Re: [Nagios-users] Check cluster

2007-03-27 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Peter van den Berg > Sent: Tuesday, March 27, 2007 10:43 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Check cluster > > Hi > &g

[Nagios-users] Check cluster

2007-03-27 Thread Peter van den Berg
Hi After some time with Google, I've found several posts with sort of the same question, but no useable answers :-( I've got problems getting the check_cluster2 plugin to work. I've got nagios v2.6 with plugins v1.4.6 The check definition is: define command{ command_namecheck_servic