Active alarms from journal tables


Is there a way to select active alarms from journal tables (alarm_event_data & alarm_events) in DB?

I would like to get the same data returned by system.alarm.getStatus().


Is there any functionality like this? I would like to see something like this to.

You can query the alarm_events table, though you will need to decipher the meanings of the eventtype and eventflags fields. From some brief testing i believe an eventtype of 2 and a eventflags of 0 is a cleared and acknowledged alarm. Maybe someone will chime in with more info.