I would like to be able to run arbitrary scripts on linux hosts, from the Application Performance Monitor.
Right now, I am just trying to get the most simple script possible to run, but am not having any luck.
Can anybody tell me what to put in the "Command Line" and (optionally) the Script Body blank?
I can tell (from the logs on the linux server) that Orion is authenticating properly, but I have no idea what it is trying to do.
At the moment I have this in the Command Line field:
/bin/echo -e "Message: this thing is wack\nStatistic: 0\n"
(in this case, I don't think the "Script Body" field matters, but it is certainly possible that I misunderstand how things are supposed to work).
I have also tried:
perl ${SCRIPT} arg1 arg2
in the Command Line field, and:
print "Message: Hooray perl?\n";
print "Statistic: 0";
exit 0;
in the "Script Body" field. Can anybody point me in the right direction?