mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
10 lines
397 B
PHP
10 lines
397 B
PHP
<?php
|
|
|
|
$hardware = 'Dell '.snmp_get($device, 'productIdentificationDisplayName.0', '-Ovq', 'Dell-Vendor-MIB');
|
|
$version = snmp_get($device, 'productIdentificationVersion.0', '-Ovq', 'Dell-Vendor-MIB');
|
|
$features = snmp_get($device, 'productIdentificationDescription.0', '-Ovq', 'Dell-Vendor-MIB');
|
|
|
|
if (strstr($hardware, 'No Such Object available')) {
|
|
$hardware = $poll_device['sysDescr'];
|
|
}
|