Back to Geneos FAQ

Internal documentation only

This page has been marked as draft.

Rules - How can I create a rule that will populate the entire column severity based on specific cell

Problem:

The user wants to set a rule for a specific Netprobe instanceCount number, and if the condition is met, the whole column will turn into the severity that will be based on the cell.

The user needs 2 working rules to achieve this.

For example:

The user wants to monitor the Gateway Netprobe Processes if the instanceCount value reaches 7, the whole column will turn green (severity ok) and if the instanceCount value is not 7, the whole column will turn red (severity critical)

Rule #1 Copied

set $(row) target "rowName"
if $(row) = "Netprobe" and value = 7 then
severity ok
endif

Geneos - Rules - How can I create a rule that will populate the entire column severity based on specific cell.

Output:

Geneos - Rules - How can I create a rule that will populate the entire column severity based on specific cell.

This rule must have a higher priority than rule #2.

Rule #2 Copied

Rule #2 is used to set the entire column into the severity based on the specific cell that the user wants.

Geneos - Rules - How can I create a rule that will populate the entire column severity based on specific cell.

Geneos - Rules - How can I create a rule that will populate the entire column severity based on specific cell.

if path "instanceCounts" severity = ok then
 severity ok
else
 severity critical
endif

Setup:

Geneos - Rules - How can I create a rule that will populate the entire column severity based on specific cell.

On the target path, clear the row data item element in order to reflect the severity of the cell into the whole column.

Geneos - Rules - How can I create a rule that will populate the entire column severity based on specific cell.

Final Output:

Geneos - Rules - How can I create a rule that will populate the entire column severity based on specific cell.

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

Was this topic helpful?