mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Update applications poller to use numeric oid instead of nsExtendOutputFull (#6277)
* fix: Update applications poller to use numeric oid instead of nsExtendOutputFull * Accidental m
This commit is contained in:
committed by
Tony Murray
parent
90be6d1f68
commit
a6391ed3e8
@@ -6,9 +6,8 @@ $name = 'nvidia';
|
||||
$app_id = $app['app_id'];
|
||||
|
||||
$options = '-O qv';
|
||||
$mib = 'NET-SNMP-EXTEND-MIB';
|
||||
$oid = 'nsExtendOutputFull.6.110.118.105.100.105.97';
|
||||
$gpus = snmp_walk($device, $oid, $options, $mib);
|
||||
$oid = '.1.3.6.1.4.1.8072.1.3.2.3.1.2.6.110.118.105.100.105.97';
|
||||
$gpus = snmp_walk($device, $oid, $options);
|
||||
update_application($app, $gpus);
|
||||
|
||||
$gpuArray = explode("\n", $gpus);
|
||||
|
Reference in New Issue
Block a user