Classification debugging not working. glide.discovery.debug.ci_identification

DaveHertel
Kilo Sage
Kilo Sage

Has anyone used glide.discovery.debug.ci_identification to debug classifiers on Paris?  I've debugged classifiers in past but now i can't get any debug output for classification detail.   The docs for debugging classifiers are pretty useless (ya, surprising!...)  I've added the system property, restarted MID's, etc. looked in Discovery logs, System logs and Node log file browser, tried numerous attempts with variations... but no luck, no classification debug output.  

Digging more...found ancient threads here referring to a slightly different property name: glide.discovery.debug.classification and tried it too. But also hasn't worked, none of the various logs are not outputting any Debug Classification info

What is the right property to get Classifier DEBUG output in logs in Paris?
What is the right log to see debug info?

10 REPLIES 10

Alexey7
Mega Sage

Tested the glide.discovery.debug.classification system property successfully. Here is how it works for me.

Added the property:

find_real_file.png

Ran Disco, wrote down time when Classification probes were processed:

find_real_file.png

Navigated to Node Log File Browser, entered the following params and clicked Submit:

find_real_file.png

And here is the output:

find_real_file.png

Hope that helps.

Thanks for the test results Alexey - these are the same steps I used too.  I'm glad to see it worked for you and as it should 🙂  but there is something blocking the debug output for me.  Regardless, I appreciate the response and validation that you followed the sequence and got the expected results.

Dave

SiD2
ServiceNow Employee
ServiceNow Employee

@Dave Hertel probably a HI ticket only can come to your rescue 🙂

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Luigi2
Tera Contributor

Hi Alexey,

I've been trying to get this working for SNMP Classification and I cannot get any logs.

I've extended my from and to time 5 minutes before and 5 minutes after my SNMP - Classify.

Are there any other system properties to enable besides "glide.discovery.debug.classification"?

 

Thanks

Luigi

Hi Luigi,

Does discovery against the device returns any OIDs? If yes, does it match the one you specify on a classifier?

For snmp logging you can try steps outlined per this KB article:

  1. Go to “agent\conf” folder
  2. Open the wrapper-override file
  3. Add the following line to the additional Java parameters:
    wrapper.java.additional.201=-Dsnmp4j.LogFactory=com.service_now.mid.extension.trap.Snmp4j2DiscoLogFactory
  4. Restart MID Server
  5. Reproduce issue

Search for OID of interest. Also it is pretty common for a SNMP request to time out. Increase the default if you see such error.

Regards,

Alexey