Documentation forServer & Application Monitor
Monitoring your applications and environment is a key capability of Hybrid Cloud Observability and is also available in a standalone module, Server & Application Monitor (SAM). Hybrid Cloud Observability and SAM are built on the self-hosted SolarWinds Platform.

SAM script macros

See also Use script monitors in SAM

The following macros can be used with Windows, Linux/Unix, Nagios, and PowerShell script monitors:

Macro Description

Current IP address


Current User


Current Password. (Supported only in Windows, Linux, and Nagios scripts)

${CREDENTIAL} Use in place of ${USER} and ${PASSWORD} when working with PowerShell Script Monitors

Current Port. (Supported only in Linux and Nagios scripts.)


System name of the node


User defined node name


DNS of the node


ID of the node


ID of the component


Name of the component


ID of the Application

Note: When passing ${Application.Id} into script arguments, the test will fail because the macro will not be replaced. Edit the script with constant string values and replace them with macros when the script is ready.


Name of the Application


Template ID of the Application


Threshold values for the Warning state


Threshold values for the Critical state

${Node.Custom.CustomPropertyName} Node Custom Property Macros
${Application.Custom.CustomPropertyName} Application Custom Property Macros