mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed S/B, Hardware and OS detectio
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
$version = trim(snmp_get($device, "1.3.6.1.4.1.1588.2.1.1.1.1.6.0", "-Ovq"),'"');
|
||||
$hardware = trim(snmp_get($device, "ENTITY-MIB::entPhysicalDescr.1", "-Ovq"),'"');
|
||||
$serial = trim(snmp_get($device, "1.3.6.1.2.1.47.1.1.1.1.11.1", "-Ovq"),'"');
|
||||
$version = trim(snmp_get($device, ".1.3.6.1.4.1.1991.1.1.2.1.11.0", "-Ovq"),'"');
|
||||
$hardware = trim(snmp_get($device, ".1.3.6.1.4.1.1991.1.1.2.2.1.1.2.1", "-Ovq"),'"');
|
||||
$serial = trim(snmp_get($device, ".1.3.6.1.4.1.1991.1.1.1.1.2.0", "-Ovq"),'"');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user