Author: glen                         Date: Thu Feb 19 19:09:27 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add "memcached" service template to plugin config; rel 3

---- Files affected:
SPECS:
   nagios-plugin-check_memcached.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/nagios-plugin-check_memcached.spec
diff -u SPECS/nagios-plugin-check_memcached.spec:1.8 
SPECS/nagios-plugin-check_memcached.spec:1.9
--- SPECS/nagios-plugin-check_memcached.spec:1.8        Thu Feb 19 19:57:01 2009
+++ SPECS/nagios-plugin-check_memcached.spec    Thu Feb 19 20:09:21 2009
@@ -9,7 +9,7 @@
 Summary:       Nagios plugin to observe memcached
 Name:          nagios-plugin-%{plugin}
 Version:       0.02
-Release:       2
+Release:       3
 Epoch:         1
 # same as perl
 License:       GPL v1+ or Artistic
@@ -18,7 +18,7 @@
 # Source0-md5: 99154aa60b099a2563f8773f95fd0646
 Patch0:                %{name}.patch
 URL:           http://search.cpan.org/dist/Nagios-Plugins-Memcached/
-#BuildRequires:        perl-Nagios-Plugin
+BuildRequires: perl-Nagios-Plugin
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with autodeps} || %{with tests}
@@ -60,6 +60,22 @@
        command_name    %{plugin}_hit
        command_line    %{plugindir}/%{plugin} -H $HOSTADDRESS$ --hit-warning 
40 --size-critical 20
 }
+
+## generic memcached service, you need to define check_command from one of the 
above
+define service {
+       register                0
+       use                     generic-service
+       name                    memcached
+
+       check_period            24x7
+       normal_check_interval   5
+       retry_check_interval    2
+       max_check_attempts      3
+
+       notification_interval   15
+       notification_period     24x7
+       notification_options    w,u,c,r
+}
 EOF
 
 %build
@@ -98,6 +114,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/02/19 19:09:21  glen
+- add "memcached" service template to plugin config; rel 3
+
 Revision 1.8  2009/02/19 18:57:01  qboosh
 - uncommented tests BRs
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-plugin-check_memcached.spec?r1=1.8&r2=1.9&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to