diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-11-20 13:13:16 -0600 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-18 18:38:10 +0200 |
commit | b2568b85affc77658d71f2165e834d0a99705199 (patch) | |
tree | dbe796ab71061dbe5c0fadce417c4e75845b7d5a /plugins | |
parent | 7bbd155a72eb439efd338f2e217b47332460a250 (diff) | |
download | monitoring-plugins-b2568b85affc77658d71f2165e834d0a99705199.tar.gz |
check_mysql: Connections should have been defined as a counter
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_mysql.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index 8d1f99ad..11d4a2fd 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c @@ -62,9 +62,8 @@ int verbose = 0; static double warning_time = 0; static double critical_time = 0; -#define LENGTH_METRIC_UNIT 7 +#define LENGTH_METRIC_UNIT 6 static const char *metric_unit[LENGTH_METRIC_UNIT] = { - "Connections", "Open_files", "Open_tables", "Qcache_free_memory", @@ -73,8 +72,9 @@ static const char *metric_unit[LENGTH_METRIC_UNIT] = { "Threads_running" }; -#define LENGTH_METRIC_COUNTER 8 +#define LENGTH_METRIC_COUNTER 9 static const char *metric_counter[LENGTH_METRIC_COUNTER] = { + "Connections", "Qcache_hits", "Qcache_inserts", "Qcache_lowmem_prunes", |