Me he enterado por los foros de ovh de un sistema de envío de alertas sms gratis mediante el uso de un servicio de Google: el Google Calendar.
Podemos exprimir este recurso utilizando el API de Google Calendar y darle múltiples usos. ¿Se os ocurre alguno? En los foros de OVH se ha pensado en un sistema de monitorización de servidores.
Un usuario de OVH, Power, ha realizado un script php para recibir una alerta por sms en cuanto la carga de alguno de sus servidores supera un «load average» determinado. Otro usuario ha pedido adaptar este script para recibir alertas sms cuando alguno de sus servidores pierde la conexión a internet así que esta tarde me he puesto en ello.
El script resultante ha sido el siguiente:
El script requiere de unas librerías llamadas «Google Data Client Library Files», las cuales incluyo en la versión descargable del script, preparada para usar. Simplemente debéis introducir activar el servicio de sms hacía vuestro teléfono en la configuración de vuestro google calendar, introducir los datos a éste en el script y añadir los servidores a monitorizar.
¿Cómo funciona el script? Lo que hace es ir comprobando que cada uno de los servidores introducidos respondan a una petición http. En caso de que no responda, se crea un evento en google calendar, el cúal nos enviará un sms a nuestro teléfono.
Se aceptan críticas y sugerencias. Espero que sea de vuestro agrado 🙂 .
Appreciate various other informative blog site. The area altogether different might I am getting this form of info coded in a really great signifies? I get a opportunity that we’re only right now working for, we have been in the look outside for these kinds of data.
Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to far added agreeable from you!
By the way, how can we communicate?
Wow, fantastic blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your web site is fantastic,
let alone the content!
Oh my goodness! Awesome article dude! Thank you so much, However I am encountering issues with your
RSS. I don’t understand why I am unable to join it. Is there anybody
else getting identical RSS problems? Anyone that knows the solution can you kindly respond?
Thanks!!
Hi there, just became alert to your blog through Google,
and found that it’s truly informative. I’m gonna watch out for brussels.
I’ll appreciate if you continue this in future.
Numerous people will be benefited from your writing. Cheers!
Good post. I learn something new and challenging on blogs I stumbleupon everyday.
It will always be helpful to read articles from other authors and practice a little something from
other sites.
Hi there friends, how is everything, and what you wish for to
say on the topic of this paragraph, in my view its really amazing designed for
me.
Also visit my website; clumsy ninja hack download
Вы попали в самую точку. В этом что-то есть и мне кажется это хорошая идея.
Я согласен с Вами.
Как вам моя заметка; как заработать деньги
I pay a visit daily some web pages and information sites to read articles,
except this web site provides quality based articles.
What’s up, I log on to your blog regularly. Your writing style is witty, keep it
up!
There is certainly a lot to learn about this issue.
I really like all of the points you have made.
my web-site … big fish casino cheats
0+, is compatible with i – Phone, i – Pad and i – Pod Touch but is found in the i – Phone only section of the App Store.
And, we have a winner in the «Which i – Phone 5C will sell out first» sweepstakes, which took place on Friday,
Sept. This will appeal to young adults in their early 20’s and even teenagers who often beg for an i – Phone as
their birthday gift.
My web page – Frontline Commando Cheats
You can replay and clear a stage again and again until he shows up.
Globalization makes people visit foreign countries to be
effective or ply their trade for financial growth. After you have
decided your automobile, you’re now able to
take it around the streets racing against either laptop computer or
friends.
my page :: rage of bahamut cheats iphone cydia (https://Www.Facebook.com/pages/Rage-of-Bahamut-Hack/1483067408604065)
Good day I am so delighted I found your webpage,
I really found you by error, while I was browsing on Bing for something
else, Nonetheless I am here now and would just like to
say thanks a lot for a remarkable post and a all round entertaining
blog (I also love the theme/design), I don’t have time to look over
it all at the moment but I have book-marked it and also added in your RSS feeds,
so when I have time I will be back to read much more, Please do keep up the excellent work.
Hello there, just became aware of your blog through Google, and found
that it is truly informative. I’m gonna watch out
for brussels. I’ll be grateful if you continue this in future.
Many people will be benefited from your writing.
Cheers!
Remarkable issues here. I’m very satisfied to look your post.
Thank you so much and I am taking a look forward to touch you.
Will you kindly drop me a mail?
I’m truly enjoying the design and layout of your blog.
It’s a very easy on the eyes which makes it much more pleasant for
me to come here and visit more often. Did you hire out
a developer to create your theme? Outstanding work!
Have you ever considered publishing an e-book or guest authoring on other websites?
I have a blog based on the same topics you discuss and would love to have you share some
stories/information. I know my visitors would enjoy your work.
If you’re even remotely interested, feel free to send me an e mail.
hey there and thank you for your info – I have certainly picked up something new from right here.
I did however expertise a few technical issues using this site, since I experienced to reload the web site many times previous to I could get it to load correctly.
I had been wondering if your web host is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and could damage your high-quality score if advertising and marketing
with Adwords. Well I am adding this RSS to my email and can look out for
a lot more of your respective exciting content.
Ensure that you update this again soon.