mirror of https://github.com/mikaku/Monitorix.git
small fix in the way how $totalinq value is retrieved
This commit is contained in:
parent
9fe82ff9e7
commit
6ff982c0de
|
@ -331,7 +331,7 @@ sub bind_update {
|
|||
}
|
||||
}
|
||||
if($major eq "3") {
|
||||
$value = $data->findnodes('/statistics/server/counters/counter[@name="QUERY"]');
|
||||
$value = $data->findvalue('/statistics/server/counters/counter[@name="QUERY"]');
|
||||
}
|
||||
$str = $n . "totalinq";
|
||||
$value = $value || 0;
|
||||
|
|
Loading…
Reference in New Issue