mirror of https://github.com/mikaku/Monitorix.git
Fix to add Qcache_hits value to Com_select in order to get the real value
This commit is contained in:
parent
62465a2765
commit
7b2fda1727
|
@ -363,6 +363,7 @@ sub mysql_update {
|
|||
}
|
||||
if($name eq "Com_select") {
|
||||
$str = $n . "com_select";
|
||||
$value += $qcache_hits;
|
||||
$com_select = $value - ($config->{mysql_hist}->{$str} || 0);
|
||||
$com_select = 0 unless $com_select != $value;
|
||||
$com_select /= 60;
|
||||
|
|
Loading…
Reference in New Issue