Health Metric Rule Examples
Rules can be configured to display a health level indicator on a cluster member based on the health levels of its child members.
These rules could be set on any parent cluster member of the specified child members. The parent member is not shown in the examples. The scope of the rule is wider for parent members higher in the cluster member hierarchy.
To set the health level to critical if a single inference agent is inactive:
- Set Health Level to critical
- Set Path to site/cluster/machine/process/inference
- Set Threshold to 0
- Add a property called active whose value is false
To set the health level to critical if all agents are inactive
- Set Health Level to critical
- Set Path to site/cluster/machine/process/*
- Set Threshold to 100
- Add a property called active whose value is false
To set the health level to warning if fifty percent of agents are inactive
- Set Health Level to warning.
- Set Path to site/cluster/machine/process/*
- Set Threshold to 50
- Add a property called active whose value is false.
To set the health level to critical if all agents are inactive
- Set Health Level to normal
- Set Path to site/cluster/machine/process/*
- Set Threshold to 100
- Add a property called active whose value is true
To set the health level to warning if thirty percent of inference agents have a health level of warning