mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user