Try to create HP iLO discovery pattern without much success
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2019 07:54 AM
Hi All,
I am trying to create a Discovery Pattern for HP iLO devices. I amanged to create a Classifier that classifies IP address as iLO devices and call my new pattern.
From the pattern, I submit a GET request (to "https://xxx.xxx.xxx.xxx/rest/v1" ) and I get back a JSON response. When I try to parse variables out of this response, I get an error message:
CUSTOM PARSING parsing strategy of output text failed due to an unsupported text format. Please choose another parsing strategy to continue.
Most likely due to finding "@" and "." in the JSON attribute names. After replacing "@" and "." in the Custom Parsing strategy script "JSON File", that error message no longer appears. I can now highlight items in the JSON response and assign them to variables. But on run time, I still get an error message about an XML file that cannot be processed. This approach appears to b a dead end, so I am now looking at using regex to extract values from the response. Not sure where that will lead.
Has anybody build a discovery pattern for ilO and encountered (or even better: dealt with) similar issues?
Many thanks in advance.
Anko
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2019 03:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2019 03:40 AM
Still waiting to get access to HI. but will indeed submit I ticket once that is arranged.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2019 01:39 PM
Know its been a while but take a look at this post...Perhaps it can be of service if you still need it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2019 02:19 PM
Have you checked out https://developer.servicenow.com/app.do#!/share/contents/4470940_ilo_discovery_pattern?t=PRODUCT_DETAILS