mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Updated Cisco ASA state sensors descr to be a bit more verbose
This commit is contained in:
committed by
Søren Rosiak
parent
00495cee00
commit
cc50dc33ba
@@ -47,7 +47,7 @@ if ($device['os_group'] == 'cisco' && $device['os'] == 'asa') {
|
||||
}
|
||||
|
||||
foreach ($temp as $index => $entry) {
|
||||
$descr = ucwords(trim(preg_replace('/\s*\([^)]*\)/', '', $temp[$index]['cfwHardwareInformation'])));
|
||||
$descr = ucwords(trim(preg_replace('/\s*\([^\s)]*\)/', '', $temp[$index]['cfwHardwareInformation'])));
|
||||
if ($index == 'netInterface') {
|
||||
$index = 4;
|
||||
} elseif ($index == 'primaryUnit') {
|
||||
|
||||
Reference in New Issue
Block a user