Author: glen                         Date: Thu Oct  7 10:31:54 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add check_mysql_health service template
- add check_mysql_health generic command

---- Files affected:
packages/nagios-plugin-check_mysql_health:
   check_mysql_health.cfg (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_mysql_health/check_mysql_health.cfg
diff -u packages/nagios-plugin-check_mysql_health/check_mysql_health.cfg:1.1 
packages/nagios-plugin-check_mysql_health/check_mysql_health.cfg:1.2
--- packages/nagios-plugin-check_mysql_health/check_mysql_health.cfg:1.1        
Mon Apr  5 21:32:29 2010
+++ packages/nagios-plugin-check_mysql_health/check_mysql_health.cfg    Thu Oct 
 7 12:31:49 2010
@@ -1,3 +1,44 @@
+#  Check various parameters of MySQL databases
+#
+#  Mode of the plugin can be one of the following keywords:
+#       connection-time          (Time to connect to the server)
+#       uptime                   (Time the server is running)
+#       threads-connected        (Number of currently open connections)
+#       threadcache-hitrate      (Hit rate of the thread-cache)
+#       slave-lag                (Seconds behind master)
+#       slave-io-running         (Slave io running: Yes)
+#       slave-sql-running        (Slave sql running: Yes)
+#       qcache-hitrate           (Query cache hitrate)
+#       qcache-lowmem-prunes     (Query cache entries pruned because of low 
memory)
+#       keycache-hitrate         (MyISAM key cache hitrate)
+#       bufferpool-hitrate       (InnoDB buffer pool hitrate)
+#       bufferpool-wait-free     (InnoDB buffer pool waits for clean page 
available)
+#       log-waits                (InnoDB log waits because of a too small log 
buffer)
+#       tablecache-hitrate       (Table cache hitrate)
+#       table-lock-contention    (Table lock contention)
+#       index-usage              (Usage of indices)
+#       tmp-disk-tables          (Percent of temp tables created on disk)
+#       slow-queries             (Slow queries)
+#       long-running-procs       (long running processes)
+#       cluster-ndbd-running     (ndnd nodes are up and running)
+#       sql                      (any sql command returning a single number)
+
+define command {
+       command_name    check_mysql_health
+       command_line    /usr/lib/nagios/plugins/check_mysql_health -H 
$HOSTADDRESS$ $ARG1$
+}
+
+define service {
+       use                     generic-service
+       name                    check_mysql_health
+       service_description     check_mysql_health
+       register                0
+
+       check_command           check_mysql_health -H $HOSTADDRESS$
+}
+
+# These below are deprecated, use check_mysql_health and add the extra args 
yourself.
+# initial macros, preserved for compatability
 define command {
        command_name    check_mysql_health_uptime
        command_line    /usr/lib/nagios/plugins/check_mysql_health -H 
$HOSTADDRESS$ -u $ARG1$ -p $ARG2$ -m uptime
@@ -78,3 +119,4 @@
        command_name    check_mysql_health_log_waits
        command_line    /usr/lib/nagios/plugins/check_mysql_health -H 
$HOSTADDRESS$ -u $ARG1$ -p $ARG2$ -m log-waits
 }
+
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_mysql_health/check_mysql_health.cfg?r1=1.1&r2=1.2&f=u

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

Reply via email to