mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
Merge pull request #2418 from SaaldjorMike/ntpd1
Specified which MIB should be used when polling ntpd-server information.
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user