The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
UCMDB and UD Practitioners Forum (Previously CMS)
cancel
Showing results for 
Search instead for 
Did you mean: 

How relate CI and Location ??

Highlighted
ESPOSITO
Collector

How relate CI and Location ??

Hi,

 

I have imported some location and i have discovered some ci also ..

 

I want to relate these location to the corresponding CI by this way :

 - declare range IP in a (new) location field

 - if the CI's IP adress correspond to the range of a location, the system will relate it automatically (or i imagine to relate the two attibutes in a view for example) ...

 

Any best practices to do that ?

 

thanks in advance

6 REPLIES
sv_benesh
Regular Collector

Re: How relate CI and Location ??

Hi,

 

I think could be used for this  Enrichment rules.

 

Best regards, Sergy.

Best Regards, Sergy.
ESPOSITO
Collector

Re: How relate CI and Location ??

Goog idea .. thank you ....

 

Neither the less, i always have an issue about attributes comparison : i did not found any operator to verfiy if an IP belong to a rnage declared in location attribute .. any help ? perhaps using CiType "IPsubnet" ?

Dima Gomel
HPE Expert

Re: How relate CI and Location ??

In my opinion, you could use following strategy:

- If you have one probe per location you could check on "IP Probe Name" attribute on IP CIs.

- otherwise you could try to setup conditions on IP Address based by specific IP range "equal like %XXX.XXX.XXX.%.

Regards
-Dmitry Gomel, PMP
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Click the Like button at the bottom to say 'Thanks'.
ESPOSITO
Collector

Re: How relate CI and Location ??

I do not have different Probe for each location ...

 

I have imported location via an Integration Point (name + rangeIP as attributes)

i have discovered a few ip ranges => some nodes, cis, ipadresse, etc .. were discovered

 

I want to rely location and CI's using rangeIP comprison ...

PuneetS
Frequent Visitor

Re: How relate CI and Location ??

You can create a enrichment rule like below:

 

TQL Mode:-

1. Drag Location and IP Address CI type

2. Insert a join relationship b/w them and give condition as: IP Address Substring Location

 

Enrichment Mode:-

1. Insert relationship a + symbol will appear on this relationship

2. Save and activate the Enrichment rule.

Regards
Puneet

If you find this reply helpful, Click the KUDOS button on the bottom to say 'Thanks'
ESPOSITO
Collector

Re: How relate CI and Location ??

First thank you for your reply !

 

In location, the field containing RangeIp has value like that : 192.168.0.1/25 OR 192.168.0.1-192.168.0.255

 

Does the substring function can do the operation that consists verifiyng IPAdress (of IPadresse CI Type) is included in the location RangeIP ????

 

Thanks in advance

//Add this to "OnDomLoad" event