So Far so good,

I just copied the snippet from the checkcommands.cfg file, changed it to suit and wella! Now my Host is up, but I am still having problems with the other commands.


From: Demetri Mouratis <[EMAIL PROTECTED]>
To: Jody Noscov <[EMAIL PROTECTED]>
CC: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Local host is Down, Couldnotparse arguements
Date: Thu, 16 Mar 2006 19:37:46 -0600 (CST)

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@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

_________________________________________________________________
mycareer.com.au: http://www.mycareer.com.au/?s_cid=213596  Land the Job



-------------------------------------------------------
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@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

Reply via email to