Query all alarm attributes within a galaxy

Is there a way to query the galaxy database for all attributes configured for alarming with it´s corresponding priority and alarm message?

Parents
  • Getting the alarm names and associated objects is pretty easy. 

    Through sql, there's a view called internal_all_alarms_view that gives you the Object.Attribute.  IT does not give you the message and priority, though.  

    doing

    select gob.tag_name, iav.name from internal_all_alarms_view iav 

    left outer join gobject gob on gob.object_id = iav.gobject_id

    order by tag_name asc

    ...but that doesn't get you the priority nor the message.  Let me stew on it a bit. 

Reply
  • Getting the alarm names and associated objects is pretty easy. 

    Through sql, there's a view called internal_all_alarms_view that gives you the Object.Attribute.  IT does not give you the message and priority, though.  

    doing

    select gob.tag_name, iav.name from internal_all_alarms_view iav 

    left outer join gobject gob on gob.object_id = iav.gobject_id

    order by tag_name asc

    ...but that doesn't get you the priority nor the message.  Let me stew on it a bit. 

Children