cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autotagging process groups on a specific hosts

olegus
Helper

Lets say I have 100 hosts in a management zone and I need to add a tag to several IIS processes running only on a specific hosts with a name pattern ("important-iis-host*"). Is it possible to achieve?

 

3 REPLIES 3

marco_irmer
Advisor

I believe you could add an auto-tagging rule with a host name condition, as shown in the screenshot snippet below.

marco_irmer_0-1740176453604.png

 

I have a couple more questions -

- can I control how conditions are combined? By default it is AND, can I combine them by OR or should I create new rule for this? I need to grab several process groups from the same host.

- I use Process group name in my condition and I see each process appears twice - as a Process and a Process group. It is probably OK for tagging but I wonder if I'm doing smth wrong here.

olegus
Helper

After some trials and errors the best solution for my case - tagging only specific processes on a specific host is this:
- use EntitySelector instead of Monitoring Entities

- create a rule per host if you need to separate by host smth like this

type(PROCESS_GROUP_INSTANCE),entityName.in(process1,process2,process3,,,),fromRelationships.IsProcessOf(type(HOST),entityName(host1))

Featured Posts