mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #2176 from vitalisator/powerdns
fixed powerdns snmp checks
This commit is contained in:
@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user