mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-07-15 11:52:41 -04:00
check_mysql: Connections should have been defined as a counter
This commit is contained in:
parent
7bbd155a72
commit
b2568b85af
1 changed files with 3 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue