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
  • ************ Alarm Enabled

    SELECT g.tag_name + '.' + p.primitive_name AS name, p.gobject_id, p.package_id, p.mx_primitive_id

    FROM dbo.gobject AS g INNER JOIN

                          dbo.primitive_instance AS p ON p.gobject_id = g.gobject_id AND p.execution_group = 19 INNER JOIN

                          dbo.primitive_definition AS pd ON p.primitive_definition_id = pd.primitive_definition_id AND pd.primitive_name <> '' INNER JOIN

                          dbo.package AS pkg ON p.gobject_id = pkg.gobject_id AND p.package_id = pkg.package_id AND pkg.package_id = g.checked_in_package_id

    WHERE (g.is_template = 0) AND (g.namespace_id = 1)

  • I didn't make it past the "....for all attributes configured for alarming".   Sorry. :)

    I believe the priority and message are stored in a manner that you would not be able to easily query.  Likely stored in a blob or bitmap.  There might be a way to build an application using the GR Access toolkit to do this.  Another way might be to at least get all the object.attribute names, then use that list to query a CSV file that is created from the Galaxy Dump where the priority and description/message are in plain text.

Reply
  • I didn't make it past the "....for all attributes configured for alarming".   Sorry. :)

    I believe the priority and message are stored in a manner that you would not be able to easily query.  Likely stored in a blob or bitmap.  There might be a way to build an application using the GR Access toolkit to do this.  Another way might be to at least get all the object.attribute names, then use that list to query a CSV file that is created from the Galaxy Dump where the priority and description/message are in plain text.

Children