If an agent has a tag, can that tag be used in the scope query?
Using a scope query like this does not work:
Host where monitoringAgent.tags = "tag_name"
A Host object, for instance, can reference it's agent object through the monitoringAgent property. However, the tags property in the Agent topology object type, is not a String, but a list of Strings.
A list of strings can't be compared to a string by itself, but it can be compared to a list of strings of one member like this:
Host where monitoringAgent.tags in {"tag_name"}
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center