Setting References to none CIs in a Discovery Pattern

Daniel Borkowi1
Mega Sage

Hi,

I tried to create an discovery pattern for a network device.

I read in a display value of the firmware_manufacturer via SNMP Query.

With this name I will set a reference to core_company in CI. If I write the display value in the field via pattern operation "Set Value", I get something like that:

<firmware_manufacturer display_value="">Aruba</firmware_manufacturer> after discovery.

But I want to have that: <firmware_manufacturer display_value="Aruba">sys_id_of_company</firmware_manufacturer>

How can I reach that in a pattern?

Greets, Daniel

2 ACCEPTED SOLUTIONS

Daniel,



Check out the blog post I just put together.



Using Pre/Post Processing Scripts to handle reference fields via Discovery Pattern



I hope this solves your issue.


View solution in original post

8 REPLIES 8

Thanks Patrick that looks nice.


Daniel,



If my post solves this issue, could you do me a favor and mark my answer correct?


Patrick you're great. I raised the same issue about 2 months ago via HI and got no answer yet. Very great thank you from me.