Custom probe/sensor classifies but doesn't identify

scott111
Kilo Expert

Writing custom probe for HP Enclosure device. My custom probe allows unsupported shells and does "show enclosure info" ssh command and gets back plenty of info to classify. Discovery output using custom probe says it classifies based on ssh output but then it goes ahead and tries SNMP to classify and fails. I've read that any sensor failure marks the whole discovery as a failure. Discovery output:

SNMP Classify                   SNMP probe timed out. Target is either unreachable or there are no valid credentials for it.

SNMP Classify                   Active, couldn't classify, now finished

UNIX Classify                   Unsupported shell, '$0', and probe parameter 'allow_unsupported_shells' is set to 'false'. Supported shells are [ksh, sh, bash, tcsh, csh]

UNIX Classify                   Active, couldn't classify, now finished

UNIX Classify                   Active, couldn't classify, now finished

UNIX Classify                   Classified, now Identifying

Shazzam                                   Active, now Classifying

ShazzamLaunch         MID midhost.com discovering 10.xx.xx.xx

Discovery                             Discovery started

Debug "gs.log" statements print from my classifier and from custom sensor but not from my identifier.

1 ACCEPTED SOLUTION

Problem solved. I simply needed to add a Bladesystem - Identity probe that was triggered by my Bladesystem classifier. Thanks for the info!


View solution in original post

15 REPLIES 15

rajeevlochan82
Mega Guru

Not sure of your exact issue but look for ECC Queue entries associated with problem record......



find_real_file.png


ismailkiswani
Giga Contributor

Hello Scott,



did you create Classifiers for HP Enclosures?



for SNMP check the configuration on the Switch and it should be the same in Servicenow but it looks that it returns OIDs and it's working. try to increase the default timeout on the MID Server.


Please check this video


SNMPClassifier.mov - YouTube



hope that helps.



Regards,


Ismail Al-Kiswani


I created an classifier for HP Enclosure and the gs.log statement you see in the classifier below does write to the log. Also, the discovery log I provided above does say "Classified, now Identifying". We tried SNMP discovery and it doesn't work.



find_real_file.png


Could you share the SNMP xml imput and output.



not Identified means it's not able to get the devices or the CI information. check the HP MIBs in the instance.