Re: [Nagios-users] Plugin issue

2007-01-16 Thread Andy Shellam (Mailing Lists)
Dmitriy Kirhlarov wrote: > On Mon, Jan 15, 2007 at 07:56:47AM +0300, [EMAIL PROTECTED] wrote: > > >> Hallo thanks so much for your time.However the command is still timing out >> and giving me the same error.Here is my command definition in the hosts >> > > 1. Try to run command manualy. >

Re: [Nagios-users] Plugin issue

2007-01-15 Thread Jay Chandler
Dmitriy Kirhlarov wrote: > On Mon, Jan 15, 2007 at 07:56:47AM +0300, [EMAIL PROTECTED] wrote: > > >> Hallo thanks so much for your time.However the command is still timing out >> and giving me the same error.Here is my command definition in the hosts >> > > 1. Try to run command manualy. >

Re: [Nagios-users] Plugin issue

2007-01-15 Thread Dmitriy Kirhlarov
On Mon, Jan 15, 2007 at 07:56:47AM +0300, [EMAIL PROTECTED] wrote: > Hallo thanks so much for your time.However the command is still timing out > and giving me the same error.Here is my command definition in the hosts 1. Try to run command manualy. 2. Check your host with "ping" command. Host ali

Re: [Nagios-users] Plugin issue

2007-01-15 Thread tyrus
> [EMAIL PROTECTED] wrote: >>> Don't forget to copy the mailing list in so others can chip in and >>> help. >>> > Read the above line again!! >> HI Andy am kinda confused here: when you say i insert the values >> "2000,25%" to the $ARG1$ and $ARG2$ respectively do you mean that i >> should >> inser

Re: [Nagios-users] Plugin issue

2007-01-15 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: >> Don't forget to copy the mailing list in so others can chip in and help. >> Read the above line again!! > HI Andy am kinda confused here: when you say i insert the values > "2000,25%" to the $ARG1$ and $ARG2$ respectively do you mean that i should > insert them in t

Re: [Nagios-users] Plugin issue

2007-01-13 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: > you mean the one in the command.cfg file?its like this: > define command{ > command_namecheck_ping > command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 5 > } > well the vales are being passed to the variables declared

Re: [Nagios-users] Plugin issue

2007-01-13 Thread Andy Shellam (Mailing Lists)
What's the command line of your check_ping command (as defined in Nagios?) The correct syntax is: /path/to/nagios/plugins/check_ping -H -w 2000,25% -c 4000,50% whereby is the IP of the machine to ping, 2000 is the round-trip time (in ms) to generate a warning, 25% is the packet-loss amount to

[Nagios-users] Plugin issue

2007-01-13 Thread tyrus
Hi guys am still running nagios and now there,s this error am getting with the check_ping command. It is giving me an error that: check_ping: %s: Warning threshold must be integer or percentage! Am wondering why that is the case and yet am able to ping th machine. am running red hat 9 AS and nagios