Online help

Inserting values in messages

Status information, event-dependent information as well as all parameters of the configuration can be inserted as variables in SMS and e-mail messages. Event-dependent information can only be used by the event that has triggered the message.

The value will be inserted as a CLI command using the expression $cli() in the text. Capitalisation will be considered here.

Example for a message text that outputs the current system time of the router in a message:
The current system time is $cli(status.sysdetail.system.date).

Example for a message text that uses event-dependent information in a message to output user, time and location of a login:
The user $cli(events.info[username]) logged in at $cli(administration.time.time) on location $cli(administration.hostnames.location).
For this, the message must be triggered by an event Authentication attempt has been registered - succeeded within an action.

Example for a message text that uses nested event-dependent information in a message to output the event that occurred:
The event $cli(events.event_config.event[$cli(events.info[event_id])].description) has occurred.
Here, the ID of the requested event will be inserted in the request of the event description using the event-dependent information $cli(events.info[event_id]).

Back to overview