Leverage Linux scripts in SCM
Linux script elements are available as part of out-of-the-box profiles and custom profiles, starting with Server Configuration Monitor (SCM) 2019.4. Collect an array of different outputs using custom Linux scripts in SCM to help you automate change detection and data interpretation. You can run scripts in any language available on the system you're monitoring. Scripts are executed using the swiagent account.
- Install and properly configure your script interpreter, and you may choose from a variety of different scripting languages to use in SCM, including bash, python, or perl.
- Element settings for Linux scripts in SCM apply in the same way they do for PowerShell scripts, and take into account timeouts and polling frequency.
- Agent must be installed and configured on Linux/Unix-based computers. During this process, a service account, swiagent, is created to run the agent service.
SolarWinds recommends that you avoid using credentials or other sensitive information in PowerShell or Linux script content, as this information may be viewable by non-administrator SCM users.