From 6ff982c0de2e4f7bff73408a7b09df4a3fc7d587 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 25 Jun 2019 12:34:27 +0200 Subject: [PATCH] small fix in the way how $totalinq value is retrieved --- lib/bind.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bind.pm b/lib/bind.pm index 0168da2..254aad4 100644 --- a/lib/bind.pm +++ b/lib/bind.pm @@ -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;