RE: monit sms alert with script

2016-10-17 Thread Damjan
al mailing list for monit Subject: Re: monit sms alert with script Hi, you can look on the following instructions, which show how to integrate monit with 3rd party notification services: https://mmonit.com/wiki/MMonit/HipChatNotification#monit https://mmonit.com/wiki/MMonit/SlackNotification#m

Re: monit sms alert with script

2016-10-17 Thread Martin Pala
[mailto:monit-general-bounces+damjan=povej@nongnu.org] On Behalf Of Lutz > Mader > Sent: Saturday, October 15, 2016 2:14 PM > To: This is the general mailing list for monit > Subject: Re: monit sms alert with script > > Hi Damjan, > Monit use some environment variables are avai

Re: monit sms alert with script

2016-10-16 Thread Lutz Mader
Sorry Damjan, a simple shell script is the only way I found to create user alerts/messages with Monit. > Sorry I have no knowledge of programming or using program language. With regards, Lutz -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

RE: monit sms alert with script

2016-10-15 Thread Damjan Hajsek
: monit sms alert with script Hi Damjan, Monit use some environment variables are available in user script. > I also hope if there is possible to use variable for defined alarm in > > The end of my string 'Message on SMS - Monit Problem XYZ' Some of my check file monitor defi

Re: monit sms alert with script

2016-10-15 Thread Lutz Mader
Hi Damjan, Monit use some environment variables are available in user script. > I also hope if there is possible to use variable for defined alarm in > > The end of my string 'Message on SMS - Monit Problem XYZ' Some of my check file monitor definitions use scripts with something like this. Ge

RE: monit sms alert with script

2016-10-14 Thread Damjan
Like »monit apache alarm« regards From: monit-general [mailto:monit-general-bounces+damjan=povej@nongnu.org] On Behalf Of Jose V Beneyto Sent: Friday, October 14, 2016 1:39 PM To: monit-general@nongnu.org Subject: Re: monit sms alert with script Hi Damjan, On 14/10/16 13:19, Damjan w

Re: monit sms alert with script

2016-10-14 Thread Jose V Beneyto
Hi Damjan, On 14/10/16 13:19, Damjan wrote: I have MONIT setup to send alarm on email. I have now a script which send SMS but don't know how to implement that into MONIT to also get SMS not just email. I hope that helps. You can add an extra line to your setup to also execute a script: .

monit sms alert with script

2016-10-14 Thread Damjan
I have MONIT setup to send alarm on email. I have now a script which send SMS but don't know how to implement that into MONIT to also get SMS not just email. Here is a string which I use in terminal to send SMS, how to implement that in MONIT to get also SMS alerts? send-sms -u myusername -p myp