mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Add F5 Hardware and S/N detection (#5797)
* Add detection for hardware and serial number * Removed redundant options * Trim "'a * Wrong quote
This commit is contained in:
committed by
Neil Lathwood
parent
aab1cdac49
commit
a98bfdb6fb
@@ -1,2 +1,4 @@
|
||||
<?php
|
||||
$version = trim(snmp_get($device, '.1.3.6.1.4.1.3375.2.1.4.2.0', '-OQv', '', ''), '"');
|
||||
$version = trim(snmp_get($device, '.1.3.6.1.4.1.3375.2.1.4.2.0', '-OQv'), '"');
|
||||
$hardware = trim(snmp_get($device, '.1.3.6.1.4.1.3375.2.1.3.5.2.0', '-OQv'), '"');
|
||||
$serial = trim(snmp_get($device, '.1.3.6.1.4.1.3375.2.1.3.3.3.0', '-OQv'), '"');
|
||||
|
||||
Reference in New Issue
Block a user