Documentation forServer & Application Monitor

Test scripts in SAM script monitors

When configuring script component monitors in SAM, test scripts before you verify credentials and access. When the test completes, SAM registers each returned metric as a numbered output in the Orion database. Until they're tested, scripts and component monitors return an initial Unknown status. After testing, polling returns accurate application status.

Verify you have the correct credentials with assigned account permissions to execute scripts on the Orion server and target servers. The script monitors may provide fields for credentials, or you may need to provide credentials in the script code, arguments, or command line.

To test a script monitor:

  1. Navigate to the page for the template or application monitor.
  2. Scroll down to the list of component monitors, as shown here:

  3. Select the script monitor.
  4. Click Set Test Node to select a node.
  5. Click Test.