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;