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:
Neil Lathwood
2017-03-31 04:01:40 +01:00
committed by Tony Murray
parent 90be6d1f68
commit a6391ed3e8
15 changed files with 27 additions and 36 deletions

View File

@@ -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);