I have a monitor I need to run, but it must be run as sudo to another account. Is it possible to Sudo in SAM?
I'd be interested to know this as well. It's a problem we have in our environment, and I haven't found a work around yet.
Have you tried copying the script to the server and calling the sudo command as part of a bash script in the Linux/Unix script monitor that then executes perl?
[Linux/Unix Script Monitor = Bash] -> [Executes on remote host invoking sudo] -> [executes local perl script]
Another way is to combine this into the script itself by calling sudo as part of the perl script.