Files
librenms-librenms/includes/polling/os/dell-powervault.inc.php
Adam Bishop af14b6a73d OS detection for Dell PowerVault MD arrays (#11509)
* OS detection for Dell PowerVault MD arrays

I'm not 100% sure it was worth Dell implementing SNMP - the array
exposes 6 OID's outside of MIBII, and we poll both the useful ones.

At least we get an icon.

* Test data

* Remove polling and discovery module filters
2020-07-05 13:49:16 +02:00

7 lines
208 B
PHP

<?php
use LibreNMS\RRD\RrdDefinition;
$serial = trim(snmp_get($device, "1.3.6.1.4.1.674.10893.2.31.500.1.3.0", "-OQv"));
$hardware = trim(snmp_get($device, "1.3.6.1.4.1.674.10893.2.31.500.1.5.0", "-OQv"));