/usr/share/nagios-plugins/templates-basic/dhcp.cfg is in nagios-plugins-basic 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 | # note: these plugins require root privilege. see README.Debian for
# more information on how it is recommended that you do this.
# 'check_dhcp' command definition
define command{
command_name check_dhcp
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' '$ARG1$'
}
# 'check_dhcp_interface' command definition
define command{
command_name check_dhcp_interface
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$' '$ARG2$'
}
|