Where does $ARG1$ come from

Demetri Mouratis dmourati at cm.math.uiuc.edu
Fri Apr 25 17:42:23 CEST 2003


Look for a corresponding entry in services.cfg.

Mine:

define service{
        use                             omail-non-critical
        hostgroup_name                  omail-servers
        service_description             PING
        check_command                   check_ping!100,20%!200,40%
        }
In this case, $ARG1$=100,20%, $ARG2$=200,40%.


On 24 Apr 2003, Nicholas Bernstein wrote:

> # 'check_ping' command definition
> define command{
>         command_name    check_ping
>         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
> $ARG2$ -p 15
>         }
>
> Where does the value of $ARG1$ & $ARG2$ get set?
>
> --
> +---------------------------------------------------------------+
> | Nicholas Bernstein            | nick at docmagic.com             |
> | UNIX Systems Administrator    | http://www.docmagic.com       |
> | Document Systems Inc.         |                               |
> +---------------------------------------------------------------+
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
>

---------------------------------------------------------------------
Demetri Mouratis
dmourati at linfactory.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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