Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Server & Application Monitor (SAM) > Miscellaneous SAM script components

Miscellaneous SAM script components

Table of contents

Updated: November 11, 2017

Overview

This article lists the miscellaneous SAM script components. See Scripting custom component monitors for reference. 

Environment

  • SAM 6.0 and later

Detail

  • ${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]

 

 

Last modified

Tags

This page has no custom tags.

Classifications

Public