fix: Updated Cisco ASA state sensors descr to be a bit more verbose

This commit is contained in:
Neil Lathwood
2016-11-09 19:47:35 +00:00
committed by Søren Rosiak
parent 00495cee00
commit cc50dc33ba

View File

@@ -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') {