Applications Systems

Component monitor scripts in the AIX template do not execute if "Inherit credentials from node" is selected and polling occurs via the SolarWinds agent for AIX.

If you assign the AIX template to a node in SAM, select the "Inherit credentials from node" option for component monitors, and use the SolarWinds agent for AIX to monitor the node, scripts will not execute and you will receive the following error: Linux script execution error. Scripting Error. Script does not contain the expected parameters.

First published date

8/5/2019 9:21 PM

Last published date

6/4/2025 11:14 PM

Overview

This article describes a workaround you can use to resolve script errors if you assign the AIX template to a node in SAM, select the "Inherit credentials from node" option for component monitors, and the SolarWinds agent for AIX monitors a node.

An error similar to the following appears: Linux script execution error. Scripting Error. Script does not contain the expected parameters.

This issue can occur for the following component monitors included in the AIX template: 

  • CPU statistic
  • Paging statistic/sec
  • Percentage of using system devices
  • Disk operations/sec of system devices
  • Top 10 active processes

Product section

Server Application Monitor

Cause

Header issues in Perl script output prevent component monitors from inheriting credentials from the node. Scripts fail without authentication.

Resolution

Here are two workarounds for this issue.
  • Navigate to the Assigned Application Monitors tab of the Manage Application Monitor Templates page and edit scripts for failed component monitors to assign credentials. Click Get Script Output to test the script. After polling occurs, the component monitor should report the correct value. 
  • When assigning the AIX template to a node, provide credentials instead of selecting "Inherit credentials from node."