×
Back to Geneos FAQ
Gateway - How do I find invalid targets in my rules?
The Gateway Load plugin can show the all the matching items in a rule, and from there you can derive and identify the rules with potential invalid targets.
You can use the directoryStats category of the Gateway load plugin. Refer to the sample xml below:
<sampler name="Rules-Stats">
<var-group>
<data>Gateway Load</data>
</var-group>
<plugin>
<Gateway-gatewayLoad>
<view>
<category>
<directoryStats>
<grouping>
<group>rule</group>
</grouping>
<statistics>
<expandType>rules</expandType>
</statistics>
</directoryStats>
</category>
<source>
<gatewayInternals></gatewayInternals>
</source>
</view>
</Gateway-gatewayLoad>
</plugin>
</sampler>
The resulting dataview will look something like the following:
Note
Some rules like FKM on thetriggerDetailscolumn could report 0 matching items and this could be normal and expected when there is no error key matching it in the log file.
["Geneos"]
["Geneos > Gateway"]
["FAQ"]