Specified which MIB should be used when polling ntpd-server information.

This commit is contained in:
Mike Rostermund
2015-11-11 20:37:51 +01:00
parent 3f11dcbe12
commit f181403f95
@@ -4,8 +4,9 @@
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/app-ntpdserver-'.$app['app_id'].'.rrd';
$options = '-O qv';
$oid = 'nsExtendOutputFull.10.110.116.112.100.115.101.114.118.101.114';
$mib = 'NET-SNMP-EXTEND-MIB';
$ntpdserver = snmp_get($device, $oid, $options);
$ntpdserver = snmp_get($device, $oid, $options, $mib);
echo ' ntpd-server';