From dd9bf300f49a20d87cfb27a7a82fc254f2be6a54 Mon Sep 17 00:00:00 2001 From: Rosiak Date: Wed, 31 Aug 2016 14:26:53 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Don=E2=80=99t=20add=20Cisco=20VSS=20sens?= =?UTF-8?q?ors=20if=20VSS=20is=20not=20running=20#4111?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/discovery/sensors/states/cisco.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/discovery/sensors/states/cisco.inc.php b/includes/discovery/sensors/states/cisco.inc.php index 255456d607..ee8cb06f51 100644 --- a/includes/discovery/sensors/states/cisco.inc.php +++ b/includes/discovery/sensors/states/cisco.inc.php @@ -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);