fix: Don’t add Cisco VSS sensors if VSS is not running #4111

This commit is contained in:
Rosiak
2016-08-31 14:26:53 +02:00
parent f59cfa3b17
commit dd9bf300f4
@@ -26,6 +26,10 @@ if ($device['os_group'] == 'cisco') {
$cur_oid = $tablevalue[1];
if (is_array($temp)) {
if ($temp[0][$tablevalue[2]] == 'nonRedundant') {
break;
}
//Create State Index
$state_name = $tablevalue[2];
$state_index_id = create_state_index($state_name);