mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
8 lines
260 B
PHP
8 lines
260 B
PHP
<?php
|
|
$tmp_iboot = snmp_get_multi($device, ['IBOOTPDU-MIB::firmwareVersion.0', 'IBOOTPDU-MIB::deviceModelName.0'], '-OQUs');
|
|
|
|
$version = trim($tmp_iboot[0]['firmwareVersion'], '"');
|
|
$hardware = trim($tmp_iboot[0]['deviceModelName'], '"');
|
|
|
|
unset($tmp_iboot);
|