Where does $ARG1$ come from

Lennard Bakker bakkerl at lamp.xs4all.nl
Fri Apr 25 01:36:14 CEST 2003


On Fri, 2003-04-25 at 00:53, 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? 

These values are set in a service-check definition, in the line
check_command.

In next example is:
  $ARG1$ = C
  $ARG2$ = 80%
  $ARG3$ = 90%


define service {
        host_name               pollux
        service_description     HD-C:
        use                     l-service
        notification_interval   120
        check_command           check_nt_disk!C!80%!90%
}


Lennard Bakker





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