On 1/11/2013 10:41 AM, Christina
Arsenault wrote:
Hello Everyone,
I'm trying to
execute a url in M/Monit. I am testing the command in the
alert>'execute program' test pop-up in M/Monit. This
command runs on the server fine, but in M/Monit I get html in
the "output from program" section for a M/Monit login. (weird)
I've tried this 6 ways to Sunday so I thought maybe someone
could help.
Here is the command:
/usr/bin/curl -X POST http://lead.test.com/voice_call/
-d number=8045551212 -d message=hello+there
* the url has been changed to protect the innocent. :)
Thanks so much!
~Christina
Put your command in a shell script, and have m/monit call the shell
script.
-- Noel Jones
|