This page provides an overview of tokens that can be used within scripting event monitors and notifications in PIM+.
Note: Some tokens (marked with *) are not supported in legacy PowerShell Event Monitor mode.
Device Tokens
Use these tokens to reference the monitored device:
| Token | Description |
|---|
%%devicename%% | Name of the device |
%%displayname%% | Display name of the device |
%%devicegroup%% | Device group |
%%ipaddress%% | IP address of the device |
%%devicetag=TAG_NAME%% | Value of a specific device tag |
Event Monitor Tokens
These tokens refer to the event monitor itself:
| Token | Description |
|---|
%%monitortag=TAG_NAME%% | Value of a monitor tag |
%%script_timeout%% | Script timeout (in seconds) |
Event Monitor Authentication
If an event monitor uses an authentication profile:
| Token | Description |
|---|
%%username%% | Username |
%%password%% | Password |
Microsoft Azure Authentication (Event Monitor)
| Token | Description |
|---|
%%tenantid%% / %%tenantdomain%% | Azure Tenant ID |
%%subscriptionid%% | Azure Subscription ID |
Device Authentication Tokens
Use these tokens to access device credentials:
| Token | Description |
|---|
%%deviceusername%% | Device username |
%%devicepassword%% | Device password |
Azure / Intune Device Tokens
| Token | Description |
|---|
%%devicetenantid%% / %%devicetenantdomain%% | Device tenant ID |
%%devicesubscriptionid%% | Device subscription ID |
Alternative Authentication Profiles (Site / Remote Node)
Use these tokens to reference a specific authentication profile:
| Token | Description |
|---|
%%username:PROFILE_NAME%% | Username from profile |
%%password:PROFILE_NAME%% | Password from profile |
SNMP Profile (Device)
| Token | Description |
|---|
%%devicesnmpversion%% | SNMP version (1, 2, or 3) |
%%devicesnmpcommunity%% | SNMP community string |
SNMPv3 (Device)
| Token | Description |
|---|
%%devicesnmpusername%% | SNMP username |
%%devicesnmpauthpassphrase%% | Authentication passphrase |
%%devicesnmpprivacypassphrase%% | Privacy passphrase |
%%devicesnmpauthprotocol%% | Authentication protocol |
%%devicesnmpcontext%% | SNMP context |
%%devicesnmpprivacyprotocol%% | Privacy protocol |
%%devicesnmpsecuritylevel%% | Security level |
SNMP Profile (Site / Remote Node)
| Token | Description |
|---|
%%devicesnmpversion:PROFILE_NAME%% | SNMP version |
%%devicesnmpcommunity:PROFILE_NAME%% | Community string |
SNMPv3 (Site / Remote Node)