This can be done by creating another rule with:
- A higher rule priority than the original rule, and
- stopFurtherEvaluation setting is enabled (set to true)
Example:
The image below shows that there are 4 FKM samplers:

These samplers are being monitored by one rule. The rule monitors the status column for an "OK" value. If the said value is not found, the rule applies a critical severity to the cell.
If there is a need to exclude a sampler from the original rule, in this case, the "Multiline Test" sampler, a new rule with a higher priority needs to be created. Below are the rules:
- Original rule
- Overriding rule
The Overriding rule has a higher priority (i.e. 1) than the Original rule (i.e. 3) and it only targets the status column of the "Multiline Test" sampler. The said rule's stopFurtherEvaluation setting is also set to true or enabled, as seen below:

After saving the Gateway configuration, the cell of the "Multiline Test" sampler is now undefined (from critical):

If the rule's target xpath can be adjusted:
Modify the target of the original/existing rule, edit the dataitem to be excluded:
And put an exclamation point (!) with the dataitem name. In this case, the cpu sampler.
The resultant target XPath of the rule will now be:
/geneos/gateway/directory/probe/managedEntity/sampler[not(@name="cpu")]/dataview/headlines/cell[(@name="samplingStatus")]
not(value) is a Geneos XPath function explained here:
Comments
0 comments
Please sign in to leave a comment.