Assign Label/Tag to Host if the Host has a specific Service

Hi,
i am preparing a new report. It should cover the number of all monitored switches. To get that number, i calculate all Hosts in a folder. But there are stacked switches which act as one host but should be counted as the “real” hardware number. This is monitored with services, so i have 3 services like this: Switch Stacked Status 1, Switch Stacked Status 2 and Switch Stacked Status 3.
Now want to display this information via a label which is attached to the Host to make a report (Which is then divided in stacked and non stacked switches).

But im not able to “link” the information of a specific service to a host label/tag. How could i solve this?
The rule should “look” like this:
IF Host has Service X ASSIGN Label:True TO Host
How would you set this up?

The only thing i found is a predefined condition for a label, which assigns the label to all services beginning with a string. But im not able to display that information as a host label.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.