I need to extract via a sql_command the status of a database. It returns the value "OK" of "NOT_OK". Depending on the "OK" or "NOT_OK" the color of the alarm button should change. Does anybody how I can do that?
I can extract the value in the Enterprise console via the generic database but I have no idea how I can change the color of the alarm button from green to red when the status ok changes into Not_ok.
Many thanks in advance for helping me to sort this out.