]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- define service template
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 14 Jun 2010 19:56:13 +0000 (19:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios-plugin.spec -> 1.13

nagios-plugin.spec

index 79df0176572ff58532524ed6ef1e372aa299b90c..478ffce30277a78eae8440382f6da3d55d158ef7 100644 (file)
@@ -45,6 +45,20 @@ define command {
        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
This page took 0.035349 seconds and 4 git commands to generate.