/usr/share/nagios-plugins/templates-standard/ifstatus.cfg is in nagios-plugins-standard 1.5-3ubuntu1.
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 15 16 17 18 19 20 21 22 23 | # 'check_ifstatus' command definition
define command{
command_name check_ifstatus
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$'
}
# 'check_ifstatus_exclude' command definition
define command{
command_name check_ifstatus_exclude
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' -x '$ARG2$'
}
# 'check_ifoperstatus_ifindex' command definition
define command{
command_name check_ifoperstatus_ifindex
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -k '$ARG2$'
}
# 'check_ifoperstatus_ifdescr' command definition
define command{
command_name check_ifoperstatus_ifdescr
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -d '$ARG2$'
}
|