SVN: nagios-config/trunk/commands/check_tcp.cfg

glen glen at pld-linux.org
Fri Sep 11 16:54:49 CEST 2009


Author: glen
Date: Fri Sep 11 16:54:49 2009
New Revision: 10557

Modified:
   nagios-config/trunk/commands/check_tcp.cfg
Log:
- add tcp service template

Modified: nagios-config/trunk/commands/check_tcp.cfg
==============================================================================
--- nagios-config/trunk/commands/check_tcp.cfg	(original)
+++ nagios-config/trunk/commands/check_tcp.cfg	Fri Sep 11 16:54:49 2009
@@ -3,3 +3,17 @@
 	command_name    check_tcp
 	command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
 }
+
+# Any TCP service
+define service {
+	use                     generic-service
+	name                    tcp
+	service_description     tcp
+	register                0
+
+	normal_check_interval   3
+	retry_check_interval    1
+	notification_interval   120
+
+	check_command           check_tcp
+}


More information about the pld-cvs-commit mailing list