This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Where is the component monitor data stored in the database (e.g. availability of a monitor for a given period)?

Hi,

Anyone know which table/s is used to store the data for the component monitors in the database (e.g. availability of a monitor for a given period)? I have made a report which gets this availability data for a component monitor, so i assume that this report pulls the component availability data from the database using a script/query?

One thing i would like to do is write my own script that can query the availability data and other data for a component monitor.

Thanks.

  • Depends on the component monitor type. Most component monitor data is stored in the "Orion.APM.PortEvidence" table (performance counters, User Experience Monitors, etc.). The "Orion.APM.DynamicEvidence" table is where script monitor results are stored, and the "Orion.APM.ProcessEvidence" table is where information related to processes and services are stored.

  • Thanks for that.

    Looking around the database is it safe to assume that the availability of a component monitor(e.g. HTTP monitor) is found on the APM_ComponentStatus tables?

    I can also see the availability column in the APM_ComponentStatus table is an integer, is there reference table which details what each integer means?

  • Perhaps the best and easiest way to answer those questions is with some simple examples that demonstrate how to gather application or component availability via SQL.

    Application Availability

    SELECT  TOP 10000 APM_ApplicationAvailability.PercentAvailability AS ApplicationAvailability,

    APM_AlertsAndReportsData.ApplicationName AS Application_Name

    FROM

    APM_AlertsAndReportsData INNER JOIN APM_ApplicationAvailability ON (APM_AlertsAndReportsData.ApplicationId = APM_ApplicationAvailability.ApplicationID)

    Component Availability

    SELECT  TOP 10000 APM_ComponentAvailability.PercentAvailability AS ComponentAvailability,

    APM_AlertsAndReportsData.ComponentName AS ComponentName

    FROM

    APM_AlertsAndReportsData INNER JOIN APM_ComponentAvailability ON (APM_AlertsAndReportsData.ComponentId = APM_ComponentAvailability.ComponentID)