Hi everyone
I am trying to setup a custom monitor for the remote Unix host.
What I want to do is to run a command on the remote server using SAM. That command will execute a perl script that is already on the remote server's /tmp
Just cannot work out how to do it =( If I pick anything Perl/script related in the templates, it tries to upload that script to the remote server.
Due to security policies I do not want Solarwinds user that will run that command to have rights to upload things. I just want to execute this:
>shell perl /tmp/test.pl
I tried the command via putty and under the user that SolarWinds will run it as, and I get the output that I need:
>shell perl /tmp/test.pl
Statistic: -0.002
Done
But how do I set it up in SAM to just run the command without trying to upload a script?
Thank you