Files
librenms-librenms/includes/polling/os/vxoa.inc.php
Jay Shepherd 34924f6ad3 Add device support for SilverPeak (#11270)
* Add Silver Peak VXOA Device

Rename MIB Files
Update to use snmp_get_multi

* Add test data for Silverpeak
2020-03-10 22:48:20 +01:00

11 lines
313 B
PHP

<?php
use LibreNMS\RRD\RrdDefinition;
$oids = array('spsProductModel.0', 'spsSystemSerial.0', 'spsSystemVersion.0');
$vxoa = snmp_get_multi($device, $oids, '-OQUs', 'SILVERPEAK-MGMT-MIB');
$hardware = $vxoa[0]['spsProductModel'];
$serial = $vxoa[0]['spsSystemSerial'];
$version = $vxoa[0]['spsSystemVersion'];