Back to Geneos FAQ

Error when trying to configure a rule

Rule error, validation error, problem saving config, setup error, unable to save config, rule set up.

Problem Copied

There are many possible causes why you are getting a rule error when saving or validating Gateway configuration. In this article, we summarize some of the common error messages seen.

Possible Cause(s) Copied

Error Message 1 - The rule ‘Rule – ’ contains syntax errors in the code block.

Error Message 2 - Absolute/Relative secondary variables should not contains wildcards - only the first data-item returned will be used. To remove this warning, use the ‘first’ function in conjunction with a wpath to get the first matching item.

Error Message 3 - ‘schemas’ : Unmatched child node. Perhaps the nodes are in the wrong order, or the node is invalid at this location.

Error Message 4 - Ignored target for rule ‘’ as xpath contains non-identifying predicate.

Error Message 5 - Ignored rule ‘’: pathAlias ‘’ does not exist.

Error Message 6 - Rule ‘ references non-existent ActiveTime ‘’, removing the ActiveTime.

Possible Solution(s) Copied

Solution Error Message 1 - Common syntax errors are caused by misspellings, unexpected tokens, or missing operands.

The syntax of the If…then…elseif…else statement is as follows:

if value > replaceWithValue then
severity critical
elseif value > replaceWithValue then
severity warning
else
severity ok
endif

Useful tool: When configuring a rule, you can right click anywhere on the rule code block, select Templates > If…then…elseif…else to obtain the rule template.

Solution Error Message 2 - please click here for details.

Solution Error Message 3 - please click here for details.

Solution Error Message 4 - please click here for details.

Solution Error Message 5 - Make sure the path alias referenced in the rule block is present.

Solution Error Message 6 - Make sure the active time referenced in the Advanced tab of the rule is present.

["Geneos"] ["Geneos > Gateway"] ["FAQ"]

Was this topic helpful?