Queue Alert Report SQL Query

Document ID:  TEC1329186
Last Modified Date:  06/06/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Service Operations Insight

Releases

  • CA Service Operations Insight:Release:4.0
  • CA Service Operations Insight:Release:3.3

Components

  • SOI MANAGER:SAMMGR
  • Service Operations Insight (SOI) Generic Connector:SOICTR
  • Service Operations Insight (SOI) Manager:SOIMGR
  • Service Operations Insight (SOI) Reports:SOIRPT
  • Service Operations Insight (SOI) User Interface:SOIUI
Introduction:

Client needs the SQL Query to get the Alarms list for Queues to create a Jasper Soft report. 

Question:

What is the SQL Query to get the Alarms list for Queues?. I need to create a Jasper Soft report and I need  the correct SQL Query to do it.

Environment:
windows
Answer:

Please test the following query on your test system.

SELECT dbo.AlertQueues.QueueName,

dbo.AlertQueueAssignments.AlertID,dbo.Alerts.DeviceID, dbo.Alerts.SituationMessage, dbo.Alerts.AlertDetail, dbo.Alerts.ModelElementID,dbo.Alerts.Active

FROM dbo.AlertQueueAssignments INNER JOIN

dbo.Alerts ON dbo.AlertQueueAssignments.AlertID = dbo.Alerts.AlertID INNER JOIN

dbo.AlertQueues ON dbo.AlertQueueAssignments.QueueID = dbo.AlertQueues.QueueID

WHERE dbo.AlertQueues.QueueName = 'Critical' and dbo.Alerts.Active = 1

Please note that custom Jasper reports / queries related to the same are outside of support scope and any further assistance may need CA Services engagement.

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >