]> git.pld-linux.org Git - projects/nagios-config.git/commitdiff
add check_mailq command template
authorElan Ruusamäe <glen@delfi.ee>
Sat, 11 Apr 2015 13:15:50 +0000 (16:15 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 11 Apr 2015 13:15:50 +0000 (16:15 +0300)
commands/check_mailq.cfg [new file with mode: 0644]

diff --git a/commands/check_mailq.cfg b/commands/check_mailq.cfg
new file mode 100644 (file)
index 0000000..e6fa1e6
--- /dev/null
@@ -0,0 +1,15 @@
+# Usage:
+# check_mailq
+define command {
+       command_name    check_mailq
+       command_line    /usr/lib/nagios/plugins/check_mailq $ARG1$
+}
+
+define service {
+       use                     generic-service
+       name                    mailq
+       register                0
+       service_description     mailq
+
+       check_command           check_mailq!-w 5 -c 10
+}
This page took 0.119784 seconds and 4 git commands to generate.