Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > 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