Alert System Components 367

There are various types of alert that may be created within the system. These are detailed in “Alerts” on page 325.

Each alert type may be configured with suitable parameters for its type. For example, a Sound alert only requires the name of a suitable audio file, whereas an E-mailalert requires details of the SMTP host to use, along with details of the source and destination e-mail addresses and the subject and contents of the message.

Other than the Sound alert type, which requires only the name of a suitable audio file, the configuration of an alert allows you to enter tokens in the fields used to generate the alert. When the alert is generated these tokens are replaced by the values they represent. This allows you to configure dynamic alert messages.

The Alerts System supports the following tokens:

Table 61 Alert System Tokens

Token

Replaced In Generated Alert By

 

 

$date$

The date when the event was generated.

 

 

$time$

The time when the event was generated.

 

 

$device$

The name of the item that the event was generated for.

 

 

$ipAddr$

The IP address of the item that the event was generated for.

 

 

$event

The severity of the generated event.

Severity$

 

 

 

$event

The description of the generated event.

Description$

 

 

 

$event

An explanation of the event, including possible causes and

Explanation$

resolutions.

 

 

To insert a token into a field, place the cursor at the location where the token is to be inserted and select the token from the table of tokens shown on the Add Alerts dialog box. Tokens may also be typed in directly.

For example, the sample Pop-upalert that is provided with the system is defined as follows:

Page 371
Image 371
HP Network Direr Software Products manual Alert System Tokens, Token Replaced In Generated Alert By