Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Service Outage Information
VariableDefinitionValues / Example
UPTIME_NOTIFICATIONTYPEThe type of notification.
  • Problem
  • Recovery
UPTIME_NOTIFICATION_NUMBERThe number of alerts the outage has sent. 
UPTIME_SERVICENAME

The name of the service, along with the name of the host for which the alert was generated. By default, this variable appears in the subject line of the message.

For example, if the alert was generated by the ping check for the server MailHub, then PING-MailHub appears in the alert.
UPTIME_SERVICE_DESCRIPTIONThe Uptime Infrastructure Monitor description of the service monitor. 
UPTIME_SERVICESTATE

The current status of the service monitor generating the alert. By default, this variable appears in the subject line of the message.

  • OK
  • WARN
  • CRIT
  • MAINT
  • UNKNOWN
UPTIME_OUTPUT

The output of the monitor that generated the alert

Ping completed: 1 sent, 100.0% loss, 0.0ms average round trip time
UPTIME_HOSTNAMEThe name of the host (as saved in Uptime Infrastructure Monitor) for which this alert was generated.Systems can have a hostname that is different from its display name. For example, a hostname of 10.1.1.6 or exch-corp12 could have a display name of Mail Server.
UPTIME_HOST_DESCRIPTIONThe Uptime Infrastructure Monitor description of the host. 
UPTIME_HOSTSTATEThe status of the service monitor's host.
  • OK
  • WARN
  • CRIT
  • MAINT
  • UNKNOWN
UPTIME_CONNECTIONTYPEFor Windows hosts, the method used to collect metrics for the service.
  • agent
  • wmi
Date and Time
VariableDefinitionValues / Example
UPTIME_12HOURThe hour the outage started, using the 12-hour clock system.11
12
1 ...
UPTIME_24HOURThe hour the outage started, using the 24-hour clock system.11
12
13 ...
UPTIME_MINUTEThe minute of the hour the outage started. 
UPTIME_AMPMThe day period the outage started.
  • AM
  • PM
UPTIME_DAYThe day of the month the outage started1
2
3
4 ...
UPTIME_DAYNAMEThe day of the week the outage started.Tue, Wed, Thu, ...
UPTIME_MMThe (numbered) month of the year the outage started.1
2
3
4 ...
UPTIME_MONThe (abbreviated) month of the year the outage started.Jan
Feb
Mar
Apr ...
UPTIME_MONTHThe month of the year the outage started.January
February
March
April ...
UPTIME_YEARThe year the outage started.2016
UPTIME_DATETIMEThe date and time at which the alert was generated. By default, this appears in the subject line of the message.Sun Feb 14 16:59:59 EDT 2016
UPTIME_DURATIONThe duration of the outage so far.

30 minutes
3 hours, 30 minutes
2 days, 3 hours, 30 minutes

Uptime Infrastructure Monitor Associations and Hierarchies
VariableDefinition 
UPTIME_SERVICE_GROUPThe service group the service monitor is a part of. 
UPTIME_HOST_GROUPThe Element group that the service monitor's host is a member of. 
Custom Element Fields
VariableDefinition 
UPTIME_CUSTOM_1Custom fields that you are using to further describe your Elements.
UPTIME_CUSTOM_2
UPTIME_CUSTOM_3
UPTIME_CUSTOM_4
Outage Reference Information
VariableDefinition 
UPTIME_INCIDENT_NUMBERA unique identifier for the outage.0000000000000000000139282498000023
UPTIME_URL_OUTPUTA URL-encoded version of the SVCOUTPUT variable.

A+MASTER%2FMEMBER+service+monitor+
            for+this+application+is+in+CRIT.

UPTIME_URL_ENCODE_SERVICE_NAMEa URL-encoded version of the SVCNAME variable.
APPLICATION+-+Application+status+monitor

 

 

 

 

 

Save