Troubleshooting monitors
Overview
The result of the monitor is not showing on a component
First check if the monitor is producing results. If this is the case but the monitor results do not show up on the components, there might be a problem with the binding. First use the following command to verify:
sts monitor status --id <id>
If the output has Monitor health states with identifier which has no matching topology element (<nr>): ...., this shows that the urnTemplate may not generate an identifier matching the topology. To remedy this revisit your urnTemplate.
Verifying the results of a monitor
It is good practice to, after a monitor is made, validate whether it produces the expected result. The following steps can be taken:
Verify the execution of the monitor
Go to the monitor overview page (http://your-SUSE Observability-instance/#/monitors) and find your monitor.
-
Verify the
Statuscolumn is inEnabledstate. If the monitor is inDisabledstate, enable it. If the status is inErrorstate, follow the steps below to debug. -
Verify you see the expected amount of states in the
Clear/Deviating/Criticalcolumn. If the number of states is lower or higher than the amount of components you meant to monitor, the PromQL query might be giving too many results.
Verify the binding of the monitor
Observe whether the monitor is producing a result on one of the components that it is meant to monitor for. If the monitor does not show up, follow these steps to remedy.