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

fix: Don’t add Cisco VSS sensors if VSS is not running #4111
This commit is contained in:
Neil Lathwood
2016-08-31 14:04:34 +01:00
committed by GitHub
@@ -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);