Ga naar hoofdinhoud

Notification Token Library

This page provides an overview of tokens that can be used in PIM+ notifications.

Tokens are dynamically replaced with relevant values when a notification is triggered by an event monitor.


Device Tokens

Use these tokens to reference the monitored device:

TokenDescription
%%devicename%%Device name
%%displayname%%Display name of the device
%%deviceusername%%Device username
%%devicepassword%%Device password
%%devicedescription%%Device description
%%devicegroup%%Device group
%%devicetype%%Device type
%%devicenotes%%Notes associated with the device
%%ipaddress%%Device IP address

Event Monitor Tokens

These tokens refer to the event monitor that triggered the notification:

TokenDescription
%%eventmonitor%%Event monitor name
%%eventmonitornotes%%Notes configured in the event monitor
%%eventmonitordescription%%Event monitor description
%%eventmonitorid%%Event monitor ID
%%eventmonitorgroup%%Event monitor group

Site Tokens

Use these tokens when working in multi-site environments:

TokenDescription
%%siteid%%Unique site ID
%%sitename%%Site name
%%sitegroup%%Site group
%%sitecomputername%%Name of the server running the remote node

Tag Tokens

Tokens for retrieving tag values:

TokenDescription
%%devicetag=TAG_NAME%%Value of a specific device tag
%%eventmonitortag=TAG_NAME%%Value of a specific event monitor tag
%%devicetags%%All tags assigned to the device
%%eventmonitortags%%All tags assigned to the event monitor

Formatting Tokens

Use these tokens to format notification output:

TokenDescription
%%date%%Date of the event
%%type%%Alert type (Success, Info, Warning, Error, Critical)

Notes

  • Tokens are automatically replaced when a notification is triggered.
  • Token availability depends on the event monitor and notification configuration.
  • These tokens are commonly used in:
    • Email notifications
    • Scripts
    • Webhooks
    • Logging actions