Local host is Down, Couldnotparse arguements

Demetri Mouratis dmourati at cm.math.uiuc.edu
Fri Mar 17 02:37:46 CET 2006


On Fri, 17 Mar 2006, Jody Noscov wrote:

> Usage: check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
> [-p packets] [-t timeout] [-L] [-4|-6]
>
> I am not sure what I need to set the following to
>
> -w <wrta>,<wpl>% -c <crta>,<cpl>%
> [-p packets] [-t timeout] [-L] [-4|-6]
>
> Is there a document in the help files someone could point me to

Here's how I have my check_ping setup.  First, in checkcommands.cfg, I 
have the following definition:

# check_ping command definition
define command{
         command_name    check_ping
         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
         }

Then, in services.cfg, I have the following:

define service{
         use                             dev3-service
         service_description             PING
         hostgroup_name                  dev3
         check_command                   check_ping!100,20%!200,40%
         }

That's it.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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