Merge pull request #2418 from SaaldjorMike/ntpd1

Specified which MIB should be used when polling ntpd-server information.
This commit is contained in:
Neil Lathwood
2015-11-11 17:17:06 -04:00
@@ -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';