Require a new check for databases that are in an instance that is an AO replica but are not part of an availability group. When a database is created on an AO replica, this check should be enabled. There should be an override for cases where there is a database that legitimately does not need to be in an AG.
Hmm, sounds like a good enhancement. Maybe we could add an extra column into checkmk.config_database to specify AG membership, with a default value to '# Add AG name here, or set to NULL to stop alerting #'.
Require a new check for databases that are in an instance that is an AO replica but are not part of an availability group. When a database is created on an AO replica, this check should be enabled. There should be an override for cases where there is a database that legitimately does not need to be in an AG.