mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Ability to detect Cisco ASA version when polling a security context (#5098)
This commit is contained in:
committed by
Neil Lathwood
parent
505e6516b0
commit
f852d5cf7d
@@ -34,3 +34,8 @@ if (isset($data[1]['entPhysicalSerialNum']) && $data[1]['entPhysicalSerialNum']
|
||||
if (empty($hardware)) {
|
||||
$hardware = snmp_get($device, 'sysObjectID.0', '-Osqv', 'SNMPv2-MIB:CISCO-PRODUCTS-MIB');
|
||||
}
|
||||
|
||||
if (empty($version)) {
|
||||
$explodeddata = explode(" ", $poll_device['sysDescr']);
|
||||
$version = $explodeddata['5'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user