summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/dhcp.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pluginconfig/dhcp.cfg')
-rw-r--r--debian/pluginconfig/dhcp.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/pluginconfig/dhcp.cfg b/debian/pluginconfig/dhcp.cfg
new file mode 100644
index 0000000..a6c0c02
--- /dev/null
+++ b/debian/pluginconfig/dhcp.cfg
@@ -0,0 +1,15 @@
+# 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$'
+ }
+