Defining custom alert messages

Top  Download  Previous  Next

When defining alert notification options, you can also define your custom messages to be used as information to be sent/saved. nVision allows you to use several variable names, which are changed to the appropriate value when an alert is raised. This topic lists those variables and describes how to use them.

Variables

Variable name

Description

$Host.Name

Name of the host for which the alert is generated.

$Host.Type

Type of the host. To read more about host type or other host related variables defined here, check the topic Host properties.

$Host.Importance

Host importance. See the topic Host properties.

$Host.Status

Host status. It defines the status of the host in the moment when the alert message is composed. In case of delayed actions this status may be different than the status at the alert start.

$Host.Info1

Host Info1 field. See the topic Host properties.

$Host.Info2

Host Info2 field. See the topic Host properties.

$Host.ParentHost

Host’s parent host. See the topic Host properties.

$Host.SNMPManagable

The information if the host is SNMP manageable. See the topic Host properties.

$Host.SNMPSystem

The system description of the host read using SNMP. See the topic Host properties.

$Host.SNMPLocation

The location of the host read using SNMP. See the topic Host properties.

$Host.SNMPName

The name of the host read using SNMP. See the topic Host properties.

$Alert.Name

Name of the alert - it is the name of the event that triggered the alert.

$Alert.Description

Short description of the event.

$Alert.Type

The type of the event. See the topic Event types for more information.

$Alert.Severity

Severity of the event which triggered the alert.

$Alert.StartTime

The time when an alert has been raised.

$Alert.Duration

The duration of the alert.

$Alert.Resolution

Current resolution status of this alert.

$Alert.Owner

The owner of the alert.

How to use variables

When the program allows you to define your own message format, then you will be able to use variables. You can just enter the variable name in the text of the message or you can use the 11_img2 button. Click this button to get a list of available variables and select one. Then the variable name will be inserted in the text of the message in the cursor position.