Linux/Unix Script Monitor - Testing on node ps-dev-web1: failed with 'NotAvailable' status - The script returned status code DOWN.
I'm new to Orion and I'm trying to figure out how to run Linux/Unix Scripts to monitor hosts.
I've been following the instructions from Solarwinds' site - Creating a Linux/Unix Script Monitor - to no avail.
So I set it up using the following:
- I pick a server from the "Set Test Node" link
- Component Type: Linux/Unix Script Monitor
- Enabled Component: Yes
- Credential for Monitoring: set to a user and pass with appropriate permissions
- Port number: 22
- Command Line: perl ${SCRIPT} /tmp/avail_mem.pl localhost
- Script Working Directory: /tmp/
- Script Body: I post the contents of my script here
I didn't post the contents of the scripts as it's a little lengthy. But needless to say, I've tested out this script remotely on the host and it runs just fine. It also returns the required Exit 0, 1 with "Message:" and "Statistics".
When I hit the "test" button I always see the following:

Can someone please point me in the right direction?
Thank you,
Franck