Identification sections in pattern failed

Sebastian18
Kilo Explorer

Hey guys,

so I´m trying to discover some CISCO Switches via SNMP.

The credential-test succeeds, so this problem should not be either the credentials nor the connection itself.

But if try to discover them, I´ll get the following error report:

Identifizierungsmodul: Discovery-Status ist FEHLER Identification sections in pattern failed: section: discovery, error: All command implementations (SNMP_TABLE) failed on host 10.21.96.251. Host might be down or unreachable. ()

I´ve attached two screenshots regarding the error logs.

If you need any further details, let me know!


Thank you all in advance!

 

10 REPLIES 10

marcguegueniat
Kilo Sage

Hello,

You should try to run the steps in the pattern designer with debug mode activated:

- open your pattern and then its identification section

- click on debug mode, fill in your target

- use the "Test" button on each step

Are you able to activate debug mode on your target? Do you get errors?

Regards,

Thanks for your answer!

I went to "Pattern Designer -> Discovery Patterns -> Network Switch -> Pattern -> Check Pattern"

Is that the debug-mode you ment? 

The output of the debug:

Executing 'discovery' identification section
Feb 22, 2021 10:47:32 AM:: Starting step: 'SNMP Classify Initialization'
Feb 22, 2021 10:47:32 AM:: Finished step: 'SNMP Classify Initialization'
Feb 22, 2021 10:47:32 AM:: Starting step: 'Create isSwitch variable'
Feb 22, 2021 10:47:33 AM:: Finished step: 'Create isSwitch variable'
Feb 22, 2021 10:47:33 AM:: Starting step: 'Create isRouter variable'
Feb 22, 2021 10:47:33 AM:: Finished step: 'Create isRouter variable'
Feb 22, 2021 10:47:33 AM:: Starting step: 'Create isPrinter variable'
Feb 22, 2021 10:47:33 AM:: Finished step: 'Create isPrinter variable'
Feb 22, 2021 10:47:33 AM:: Starting step: 'Create isHost variable'
Feb 22, 2021 10:47:33 AM:: Finished step: 'Create isHost variable'
Feb 22, 2021 10:47:33 AM:: Starting step: 'Create isAPC variable'
Feb 22, 2021 10:47:33 AM:: Finished step: 'Create isAPC variable'
Feb 22, 2021 10:47:34 AM:: Starting step: 'Create isNetware variable'
Feb 22, 2021 10:47:34 AM:: Finished step: 'Create isNetware variable'
Feb 22, 2021 10:47:34 AM:: Starting step: 'Create isUPS variable'
Feb 22, 2021 10:47:34 AM:: Finished step: 'Create isUPS variable'
Feb 22, 2021 10:47:34 AM:: Starting step: 'Create shouldBlockSwitchExploration variable'
Feb 22, 2021 10:47:34 AM:: Finished step: 'Create shouldBlockSwitchExploration variable'
Feb 22, 2021 10:47:34 AM:: Starting step: 'Create shouldBlockRouterExploration variable'
Feb 22, 2021 10:47:34 AM:: Finished step: 'Create shouldBlockRouterExploration variable'
Feb 22, 2021 10:47:35 AM:: Starting step: 'Create shouldBlockBGPRouting variable'
Feb 22, 2021 10:47:35 AM:: Finished step: 'Create shouldBlockBGPRouting variable'
Feb 22, 2021 10:47:35 AM:: Starting step: 'Create isBgpRouter variable'
Feb 22, 2021 10:47:35 AM:: Finished step: 'Create isBgpRouter variable'
Feb 22, 2021 10:47:36 AM:: Starting step: 'Create shouldRunBaseSNMPHandlers variable'
Feb 22, 2021 10:47:36 AM:: Finished step: 'Create shouldRunBaseSNMPHandlers variable'
Feb 22, 2021 10:47:36 AM:: Starting step: 'Create shouldRunRouterLogic variable'
Feb 22, 2021 10:47:36 AM:: Finished step: 'Create shouldRunRouterLogic variable'
Feb 22, 2021 10:47:36 AM:: Starting step: 'Create shouldRunSwitchLogic variable'
Feb 22, 2021 10:47:36 AM:: Finished step: 'Create shouldRunSwitchLogic variable'
Feb 22, 2021 10:47:36 AM:: Starting step: 'Get dot1dBaseNumPorts variable'
Feb 22, 2021 10:47:59 AM:: Pattern does not lead to the creation of any CI, please check the correctness of the identification sections

 

The weird thing is -> If i check the same thing on a ARISTA Switch, i get the same debug-logs as with CISCO (Pattern does not lead to the creation of any CI, please check the correctness of the identification sections). 

=> But I can discover the ARISTA CI (unlike the CISCO Switch).
Attached a screenshot of the ARISTA CI.

 

So I can discover a Switch from ARISTA but not from CISCO and I´ll get the same log-output if I run the pattern-debug for both switches.

Will these informations bring us any further?

About the debug, it was not exactly that that I meant:

Open the Network Switch pattern, then open the identification section (named "discovery")
Then click on debug mode and give your Ip. The button should turn green.
Then open the first step and click the "Test" button.
See if test fails or not, do this for all steps.

Another thing: in your first post, you gave a screenshot of the discovery logs and we can see the 2 "discovery" sections are in red (in the tree on the left), could you expand those 2 nodes and give a screenshot ?

Regards,

I´ve attached the screenshots. 

The first "discovery section" shows all green when i expend it - even though the discovery itself is marked red (I didn´t screenshot every section of the first discovery because that would result in quite many screenshots).