21 Feb 2025
08:56 PM
- last edited on
24 Feb 2025
11:06 AM
by
MaciejNeumann
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?
Solved! Go to Solution.
21 Feb 2025 10:21 PM
I believe you could add an auto-tagging rule with a host name condition, as shown in the screenshot snippet below.
24 Feb 2025 08:45 PM
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.
25 Feb 2025 06:25 PM
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))