How do I discover Cisco IP Phones via HTTP classification?

Erick18
Mega Guru

I am running into an issue trying to discovery Cisco IP phones via HTTP classification. I am able to get an xml response by going to http://ipadress/DeviceInformationX but whenever I try to create a new pattern and use the debug feature I am running into the following errors. "Host detection failed for IP address  When looking at the discovery logs this is the error: 2020-11-09 08:02:00: Identification Engine: Discovery status is FAILURE, Identification sections in pattern failed: section: discovery, error: Match step predicate is not matched. 

Thanks, 

Erick

1 ACCEPTED SOLUTION

Erick18
Mega Guru

I was actually able to resolve the debug error I was receiving by using the steps outlined in creating a pattern for serverless discovery. By adding the url as an input parameter I was able to debug without the need for a host. I then was able to create my pattern. After creating my pattern I removed the input parameter and ran the discovery for configuration items. 

Here are the steps to create a pattern for serverless discovery: https://docs.servicenow.com/bundle/paris-it-operations-management/page/product/discovery/task/create-pattern-for-serverless.html#create-pattern-for-serverless

 

View solution in original post

7 REPLIES 7

doug_schulze
ServiceNow Employee
ServiceNow Employee

With patterns, you have to build the HTTP classifier first that looks for something in the return so it can continue to execute your steps... Did a bit of a write up around using it here that might help.

Hi Doug, 

I am unable to access the link you provided. I am thinking it may be because I am a on a federal instance. Would you be able to provide the information in another format?

Would it possible to repost this? It's not accessible. Please and thanks.

SiD2
ServiceNow Employee
ServiceNow Employee

Hi Erick,

This error is due to some match operation in the pattern steps failed due some condition not being met. Open the discovery log and click Debug and start checking step by step and you can trace the step causing this and take it from there.

 

Please mark the appropriate responses as Correct/Helpful so that this thread gets closed and helps others with the same question in the future.

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