Ignoring SQL backup check when database is offline?

Is there a way to ignore the SQL backup check or set this to disabled whenever the STATUS of the database is OFFLINE?


I presume when checkmk recognises a database it will then carry out a backup check.

If a database is online, and the backup is missing… then it should be reported on…that’s what we want.

But if a database is OFFLINE we don’t want it to check on a backup or not alert on it.

Is this possible?

Is there a disabled check rule we can set so OFFLINE databases are not monitored and therefore do not monitor the back of it?

AFAIK there is currently no out-of-the-box way to set rulesets / parameters for one service based on the outcome of another check plugin.
You can use the REST API to develop that, but I don´t think there is something ready for this exact case.

Is there a rule where we could disable services when the summary shows STATUS OFFLINE?
Again though not sure if this is currently possible.
image