Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

SCOM Availability report query

I am just wondering if anyone ever made a query to create a SCOM Availability report in Power BI. I basically want to rebuild the SCOM report where it shows the % availability of each application. 

If you already have a query like this it would be a great help to share it. Else i start building and hope for the best, as im not into SCOM whatsoever. 

Thankyou.

  • Anonymous's avatar
    Anonymous
    6 years ago

    Thanks for trying to help, but no i was not looking for that.

    For other people looking for availability i fixed it with this query:

    Select
    S.ManagedEntityMonitorRowId,
    S.DateTime,
    S.Date,
    S.InRedStateMilliseconds,
    S.InYellowStateMilliseconds,
    S.InGreenStateMilliseconds,
    S.InWhiteStateMilliseconds,
    S.InDisabledStateMilliseconds,
    S.InPlannedMaintenanceMilliseconds,
    S.InUnplannedMaintenanceMilliseconds,
    S.HealthServiceUnavailableMilliseconds
    FROM [OperationsManagerDW].[dbo].[vStateDailyFull] S

    And ofcourse added some magic making sure i had the correct names etc and not the cryptic id's 🙂


4 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for trying to help, but no i was not looking for that.

      For other people looking for availability i fixed it with this query:

      Select
      S.ManagedEntityMonitorRowId,
      S.DateTime,
      S.Date,
      S.InRedStateMilliseconds,
      S.InYellowStateMilliseconds,
      S.InGreenStateMilliseconds,
      S.InWhiteStateMilliseconds,
      S.InDisabledStateMilliseconds,
      S.InPlannedMaintenanceMilliseconds,
      S.InUnplannedMaintenanceMilliseconds,
      S.HealthServiceUnavailableMilliseconds
      FROM [OperationsManagerDW].[dbo].[vStateDailyFull] S

      And ofcourse added some magic making sure i had the correct names etc and not the cryptic id's 🙂


      • dampal's avatar
        dampal
        New Member

        Hi!

        I'm trying to do that report with Power Bi, but the query take a lot of time to complete. Do you have a new version of the query?