mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
7 lines
185 B
PHP
7 lines
185 B
PHP
![]() |
<?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"),'"');
|
||
|
|
||
|
?>
|