From 952748fa5b56f036682917891548b4da30e84da5 Mon Sep 17 00:00:00 2001 From: vitalisator Date: Sat, 17 Oct 2015 22:41:30 +0200 Subject: [PATCH] fixed powerdns snmp checks --- includes/polling/applications/powerdns.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/polling/applications/powerdns.inc.php b/includes/polling/applications/powerdns.inc.php index 94e0076fb..3a7c728c2 100644 --- a/includes/polling/applications/powerdns.inc.php +++ b/includes/polling/applications/powerdns.inc.php @@ -3,9 +3,10 @@ // Polls powerdns statistics from script via SNMP $rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/app-powerdns-'.$app['app_id'].'.rrd'; $options = '-O qv'; +$mib = 'NET-SNMP-EXTEND-MIB'; $oid = 'nsExtendOutputFull.8.112.111.119.101.114.100.110.115'; -$powerdns = snmp_get($device, $oid, $options); +$powerdns = snmp_get($device, $oid, $options, $mib); echo ' powerdns';