Versions Compared

Key

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

...

  • Small Template Contains the date and time of the alert, as well as the names and status of the service and host for which the alert was generated. This corresponds to the template used for pager alerts, as shown below:

    Code Block
    languagetext
    $SERVICESTATE$ Alert 
     $DATETIME$ 
     Type: $TYPE$ 
     Service: $SERVICENAME$ ($SERVICESTATE$) 
     Host: $HOSTNAME$ ($HOSTSTATE$)
    
  • Medium Template

    Contains the information in the small template, as well as an expanded subject line, the type of notification, and output from the Service Monitor. This corresponds to the template used for email alerts, as shown below:

    Code Block
    languagetext
    up.time Alert - $SERVICENAME$ -> 
    $SERVICESTATE$
    $SERVICESTATE$ 
    
    Notification type: $TYPE$ 
    $DATETIME$
    $DATETIME$ 
    
    Host: $HOSTNAME$ ($HOSTSTATE$) 
    
    Service:
    $SERVICENAME$
    $SERVICENAME$ 
    
    Service State: 
    $SERVICESTATE$
    $SERVICESTATE$ 
    
    Output: $OUTPUT$

     

     

  • Long Template

    Contains the information in the medium template, as well as the status of the host, as shown below:

    Code Block
    languagetext
    up.time Alert - $DATETIME$ - $SERVICENAME$ -> 
    $SERVICESTATE$
    $SERVICESTATE$ 
    
    Date: 
    $DATE$
    $DATE$ 
    
    Time: 
    $TIME$
    $TIME$ 
    
    Date & Time: 
    $DATETIME$
    $DATETIME$ 
    
    Hostname: 
    $HOSTNAME$
    $HOSTNAME$ 
    
    Host State: 
    $HOSTSTATE$
    $HOSTSTATE$ 
    
    Service: 
    $SERVICENAME$
    $SERVICENAME$ 
    
    Service State: 
    $SERVICESTATE$
    $SERVICESTATE$ 
    
    Notification Type: 
    $TYPE$
    $TYPE$ 
    
    Output: $OUTPUT$

Defining Custom Alert Formats

...