[projects/nagios-config] add check_mailq command template

glen glen at pld-linux.org
Sat Apr 11 15:15:59 CEST 2015


commit 3e27756e45e0566ee6104143b9923749efbe899a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Apr 11 16:15:50 2015 +0300

    add check_mailq command template

 commands/check_mailq.cfg | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/commands/check_mailq.cfg b/commands/check_mailq.cfg
new file mode 100644
index 0000000..e6fa1e6
--- /dev/null
+++ b/commands/check_mailq.cfg
@@ -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
+}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/nagios-config.git/commitdiff/3e27756e45e0566ee6104143b9923749efbe899a



More information about the pld-cvs-commit mailing list