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 🙂 .

Alertas SMS Gratis
Etiquetado en:            

70 pensamientos en “Alertas SMS Gratis

  • abril 25, 2014 a las 6:53 am
    Enlace permanente

    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.

  • abril 27, 2014 a las 2:59 am
    Enlace permanente

    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?

  • mayo 13, 2014 a las 2:18 pm
    Enlace permanente

    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!!

  • mayo 19, 2014 a las 6:07 am
    Enlace permanente

    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!

  • junio 3, 2014 a las 3:46 pm
    Enlace permanente

    I pay a visit daily some web pages and information sites to read articles,
    except this web site provides quality based articles.

  • junio 24, 2014 a las 6:55 pm
    Enlace permanente

    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

  • agosto 5, 2014 a las 10:34 am
    Enlace permanente

    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)

  • agosto 6, 2014 a las 8:11 am
    Enlace permanente

    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.

  • agosto 8, 2014 a las 1:12 pm
    Enlace permanente

    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!

  • agosto 11, 2014 a las 8:31 am
    Enlace permanente

    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?

  • agosto 13, 2014 a las 12:57 pm
    Enlace permanente

    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!

  • agosto 13, 2014 a las 10:44 pm
    Enlace permanente

    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.

  • agosto 18, 2014 a las 2:08 am
    Enlace permanente

    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.

  • agosto 18, 2014 a las 7:39 pm
    Enlace permanente

    I’m very happy to discover this website. I wanted to thank you for your time just for this fantastic read!!
    I definitely really liked every bit of it and I have you saved as a
    favorite to see new information in your website.

Deja un comentario

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.