See the documentation about notification scripts. Just write your own script that gets triggered whenever a “color change” in checkmk happens and from that notification script call your database’s stored procedure.
See the documentation about notification scripts. Just write your own script that gets triggered whenever a “color change” in checkmk happens and from that notification script call your database’s stored procedure.