Applications Systems
Miscellaneous SAM script components
This article lists the miscellaneous SAM script components.
First published date
Last published date
Overview
This article lists the miscellaneous SAM script components. See Use script monitors in SAM for reference.
Product section
Resolution
${IP}${USER}${PASSWORD}${creds}${PORT}${Node.SysName}${Node.Caption}${Node.DNS}${Node.ID}${Component.ID}${Component.Name}${Application.Id}${Application.Name}${Application.TemplateId${Threshold.Warning}${Threshold.Critical}${Node.Custom.CustomPropertyName}${Application.Custom.CustomPropertyName}
Add the following macros as the script argument and use the argument in the script body.
Script arguments: ${Node.Caption}
Script Body: $ServerName = $args[0]
See also:
SAM PowerShell Monitors are not working