template-specs: nagios-plugin.spec - define service template

glen glen at pld-linux.org
Mon Jun 14 21:56:19 CEST 2010


Author: glen                         Date: Mon Jun 14 19:56:19 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- define service template

---- Files affected:
template-specs:
   nagios-plugin.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: template-specs/nagios-plugin.spec
diff -u template-specs/nagios-plugin.spec:1.12 template-specs/nagios-plugin.spec:1.13
--- template-specs/nagios-plugin.spec:1.12	Fri Jun  4 08:45:11 2010
+++ template-specs/nagios-plugin.spec	Mon Jun 14 21:56:13 2010
@@ -46,6 +46,20 @@
 	command_name    %{plugin}
 	command_line    %{plugindir}/%{plugin} -H $HOSTADDRESS$ $ARG1$
 }
+
+define service {
+	use                     generic-service
+	name                    template
+	service_description     template
+	register                0
+
+	normal_check_interval   5
+	retry_check_interval    1
+
+	notification_interval   10
+
+	check_command           %{plugin}
+}
 EOF
 
 %install
@@ -69,6 +83,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2010/06/14 19:56:13  glen
+- define service template
+
 Revision 1.12  2010/06/04 06:45:11  glen
 - the quotes are unneccessary
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/nagios-plugin.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list