12 lines
370 B
INI
12 lines
370 B
INI
# this command runs a program $ARG1$ with arguments $ARG2$
|
|
define command {
|
|
command_name check_nrpe
|
|
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
|
|
}
|
|
|
|
# this command runs a program $ARG1$ with no arguments
|
|
define command {
|
|
command_name check_nrpe_1arg
|
|
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
|
|
}
|