check_ping: %s: Warning threshold must be integer or percentage!

Ranjeet Kumar ranjeetk at aztecsoft.com
Thu Aug 31 13:55:46 CEST 2006


Hi,



In case of check_ping it throws error "check_ping: %s: Warning threshold
must be integer or percentage! "



Server (Fedora Core 4)

Command details in service section

check_command                   check_ping!100.0,20%!500.0,60%



Command

 # 'check_ping' command definition

define command{

        command_name    check_ping

        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 5

        }



check command on client (Debain)

command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w
$ARG2$ -c $AGR3$ -p 5



I am using following server & client configuration:  -



Server : Fedora Core 4

Nagios ver 2.5

Nagios Plugin ver 1.4.3

NRPE ver 2.5.2



Client : Debian (2.6.16 kernel)



Nagios Plugin ver 1.4.6

Nagios NRPE : 2.0.7



Please help me in solving this issue.



Thanks,

Ranjeet






The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.

www.aztecsoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060831/46d62277/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- 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