Postgres Instance is in Read Only Mode

This alert will tell you if a Postgres instance is changed to be in read-only mode. To determine the state, this alert queries the pg_settings table for the value of default_transaction_read_only. When this is ON, all sessions will be created in read only mode.

To configure this alert, create a Custom SQL - Single Value Alert and make it look similar to this example: