summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/ntp.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pluginconfig/ntp.cfg')
-rw-r--r--debian/pluginconfig/ntp.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/pluginconfig/ntp.cfg b/debian/pluginconfig/ntp.cfg
new file mode 100644
index 0000000..8668718
--- /dev/null
+++ b/debian/pluginconfig/ntp.cfg
@@ -0,0 +1,17 @@
+# 'check_ntp' command definition
+define command{
+ command_name check_ntp
+ command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_ntp_ntpq' command definition
+define command{
+ command_name check_ntp_ntpq
+ command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15 '$ARG1$'
+ }
+
+# 'check_time' command definition
+define command{
+ command_name check_time
+ command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' '$ARG1$'
+ }