summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/mailq.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pluginconfig/mailq.cfg')
-rw-r--r--debian/pluginconfig/mailq.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/pluginconfig/mailq.cfg b/debian/pluginconfig/mailq.cfg
new file mode 100644
index 0000000..9fb4486
--- /dev/null
+++ b/debian/pluginconfig/mailq.cfg
@@ -0,0 +1,24 @@
+# 'check-mailq' for sendmail
+define command {
+ command_name check_mailq_sendmail
+ command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail
+}
+
+# 'check-mailq' for postfix
+define command {
+ command_name check_mailq_postfix
+ command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix
+}
+
+# 'check-mailq' for exim
+define command {
+ command_name check_mailq_exim
+ command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim
+}
+
+# 'check-mailq' for qmail
+define command {
+ command_name check_mailq_qmail
+ command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail
+}
+