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: 

Enrichment rule -Windows desktop removal

Highlighted
Mathew_ucmdb
Collector

Enrichment rule -Windows desktop removal

Hi Experts,

 

I have created an ER for removal of all desktops for windows (7, XP, etc). However, I would like to remove all its related CI's also.

 

Can someone help me out with the TQL I need to create for this? I tried couple of things but it didnt work. Removal of related CI's means (CPU, IP, memory, etc).

 

Windows->ipaddress I have created, with 

 

Action: Update
Set Attributes:
       Application IP = remove

 

Thank you.

 

Regards

Mathew

2 REPLIES
Dima Gomel
New Member

Re: Enrichment rule -Windows desktop removal

Dear Methew,

You shouldn't care for any resources connected with Containment link. All those resources will be removed automatically.

I see no reason to delete IP addresses as well, since in most cases, those CIs created by "Ping" jobs and could be reused.

In case, you are planing to remove those computers from  dicovery, it worth removing the IP from Probe ranges.

 

 

To remove the IP address along with Host, you need to use Delete operation, not an update.

 

Hope this helps.

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'.
Mathew_ucmdb
Collector

Re: Enrichment rule -Windows desktop removal

Hi Dima,

 

Thank you for the information.

 

Regards

Mathew

//Add this to "OnDomLoad" event