I'm trying to scope out an agent from "Agent Health State" rule, but using property hostName, to exculed the agent from the rule didn't work.
To find the property that's specific to the agent, do as below:
Go to Dashboards | Administration | Tooling | Script Editor
Select Agent for Query and click List Instances.
It'll list all the agent instances, select the agent ( by clicking on the blue link ) you want to exculed in the rule and search for the properties that's specific to the agent.
For example, the properties would be Uniqueid, agentID,Name,hostName etc etc.
Go to the rule "Agent Health State" ( Dashboards | Administration | Rules & Notifications | Manage Rules )
Go to the Rule Definition Tab.
Edit the Rule scope part as below:
Agent : hostName ! like "xxx.yyy.com"
Where xxx.yyy.com is the hostname you want to exclude. This will exclude all the agents that belongs to this host.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center