Create custom component script monitors
The following sections provide guidance to help you create some of the more advanced types of component monitors.
- Use Windows Script monitors
- Linux/Unix Script monitor
- Nagios Script monitor
- Create a Windows PowerShell monitor
To learn about settings for each component monitor, click the More Information link in the SolarWinds SAM component monitor description.
SolarWinds fully supports scripts written and provided by the company; however, we do not provide customer support for custom scripts written by outside sources. SolarWinds does provide sample scripts that we do support located at:
C:\Program Files\SolarWinds\Orion\APM\Sample-Script Monitors.
Ten output pairs can be returned when using script monitors. A usage example using the PowerShell script monitor might go like this:
Imagine you have an Exchange PowerShell script. With multiple values returned, you can get a mail traffic report broken down by day, hour, message size, and number of recipients.
If you exceed the maximum number of allowed output pairs of ten, the remainder above the tenth output pair is ignored.