1. Home
  2. Alarms
  3. NT Event Log Format Description

NT Event Log Format Description

CloudReady can write alarm and resolution information to the NT Event Log. The following describes the event records and types that are persisted to the NT Event Log.

CloudReady Alarms

Alarms are written to the Application NT Event log with WARNING level and the following specifications.

Provider Name Exoprise
Level CLOUDREADY_ALARM_RING_CAT 0x3
Event ID CLOUDREADY_ALARM_RING_JSON 0x1000
Event Type EVENTLOG_WARNING_TYPE 0x0002

The EventData for the CloudReady alarm is written to the NT Event Log as easily parseable JSON. An example is here:

{"dataFormatVersion":"1.0.0","event":"ring","eventDescription":"Threshold crossed: 2 datapoint(s) were > to the threshold (60555). The most recent datapoints(s) were: [74531.0, 108905.0] at \"2014-12-14 10:10:00 UTC\" (local: December 14, 2014 05:10) ).","eventTimeStamp":"2014-12-14T10:12:50.650Z","sensorUrl":"https://secure.exoprise.com/share_point_sensors/1734","sensorName":null,"sensorTitle":"SP:Palo Alto:SPgdust","sensorType":"SharePointSensor","sensorLocation":"AZWESTSENSOR","sensorLastUploadAt":"2014-12-14T10:11:42.000Z","sensorCreatedAt":"2014-01-03T20:31:22.000Z","alarmType":"data","alarmUrl":"https://secure.exoprise.com/alarms/1304","alarmName":"SharePointSensor: logon_time alarm","alarmElement":"logon_time","alarmElementTitle":null,"alarmElementDescription":null,"alarmCondition":"when \"logon_time\" is \">\" than \"60555\" for 2 sensorinterval(s)","alarmAccount":"customer@generalsawdust.com","sensorDataPoints":[74531,108905]}

CloudReady Resolutions

Alarms resolutions are written to the Application NT Event log with the INFORMATION level and the following specifications.

Provider Name Exoprise
Level CLOUDREADY_ALARM_RESOLVE_CAT 0x4
Event ID CLOUDREADY_ALARM_RESOLVE_JSON 0x1001
Event Type EVENTLOG_INFORMATION_TYPE 0x0004

The EventData for the CloudReady resolution data is written to the NT Event Log as easily parseable JSON. An example is here:

{"dataFormatVersion":"1.0.0","event":"resolve","eventDescription":"The sensor has uploaded data. The alarm condition has been marked as resolved.","eventTimeStamp":"2014-12-14T10:26:47.305Z","sensorUrl":"https://secure.exoprise.com/share_point_sensors/1734","sensorName":null,"sensorTitle":"SP:Palo Alto:SPgdust","sensorType":"SharePointSensor","sensorLocation":"AZWESTSENSOR","sensorLastUploadAt":"2014-12-14T10:26:42.000Z","sensorCreatedAt":"2014-01-03T20:31:22.000Z","alarmType":"data","alarmUrl":"https://secure.exoprise.com/alarms/1304","alarmName":"SharePointSensor: logon_time alarm","alarmElement":"logon_time","alarmElementTitle":null,"alarmElementDescription":null,"alarmCondition":"when \"logon_time\" is \">\" than \"60555\" for 2 sensor interval(s)","alarmAccount":"customer@generalsawdust.com"}

Related Articles