AnsweredAssumed Answered

Is there a way to get outage data via API?

Question asked by rwill on Jul 27, 2015
Latest reply on Jul 28, 2015 by musma03

Hi All,


I'm able to retrieve log data for monitors via the API. However, it seems this gives raw log results and includes multiple errors for a given poll period.


Is there a way to obtain calculated outage data?


For example, suppose I have a monitor/rule that has an error and an alert is sent at 10:00am. Later, the monitor/rule becomes successful, say at 12:45pm and an OKAY alert email is generated.

I'd like to be able to to retrieve an outage record that included the date/time at the start of the outage (10:00am) and the date and time that the outage ended (12:45pm) and the duration of the outage (2:45).


Is there a way to obtain such data programmatically? I'd like to be able to do this and specify the start and end dates for data selection this way I could report on outages seen since the beginning of the month, week, etc.