/etc/nagios-plugins/config/check_uptime.cfg is in nagios-plugins-contrib 16.20151226.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | define command {
command_name check_uptime
command_line $USER1$/check_uptime -f -w $ARG1$ -c $ARG2$
}
define command {
command_name check_snmp_uptime_v2
command_line $USER1$/check_uptime -2 -f -w $ARG1$ -c $ARG2$ -H $HOSTADDRESS$ -C $_HOSTSNMP_COMMUNITY$
}
define command {
command_name check_snmp_uptime_v3
command_line $USER1$/check_uptime -f -w $ARG1$ -c $ARG2$ -H $HOSTADDRESS$ -l $_HOSTSNMP_V3_USER$ -x $_HOSTSNMP_V3_AUTH$ -X $_HOSTSNMP_V3_PRIV$ -L sha,aes
}
|