Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 39323 Views 21 Replies Latest reply: Jul 15, 2013 1:04 PM by Justin Miller RSS
prisoner881 Rank: White Belt 39 posts since
Mar 13, 2009
Currently Being Moderated

Feb 23, 2010 5:51 PM

BEST way to use Zenoss to send SMS alerts

I've been through these forums a bit trying to find the best way to get SMS alerts out of Zenoss.  There are several threads on the issue and a variety of solutions are presented.  Some seem to work, some don't.  Some use zensnpp, some don't.  None of them seem easy to implement.

 

Here's the goal:  I have an external modem and access to a dial-up SMS gateway service.  I'd like to have certain critical events trigger an SMS alert that will go out the modem and show up on three or four cell phones (one of them mine).  What's the easiest, best-supported way to get this done?

 

I have considered using web-based SMS gateways to get this done, but that is unsatisfactory.  We have a non-redundant Internet connection.  If it goes down, no alerts will ever go out, thus the modem.  POTS lines just don't go down, even in a power failure (and a UPS will keep Zenoss and the modem alive long enough to let us know the power is out).

 

Can somebody help a poor guy out? I'm pretty sure I'm not the only one out here who'd like a relatively quick, non-hacked-together solution to this problem.

 

Thanks in advance!

  • phonegi Rank: Brown Belt 446 posts since
    Apr 15, 2009
    Currently Being Moderated
    1. Feb 23, 2010 9:42 PM (in response to prisoner881)
    Re: BEST way to use Zenoss to send SMS alerts

    From what I've read up on, it seems that executing an event command is the best way to accomplish your goal. Filter so that it would only execute on those critical alerts, then you could either send the SMS and a normal alert or check to see if you can ping an internet address and if not, then send the SMS.

     

    I'm assuming that the SMS link will only be activated in the case that Internet service is down. Complicated, but I understand why you're looking into it.

     

    http://www.plus.net/support/dial-up/setup/linux.shtml

    http://stackoverflow.com/questions/306968/ppp-demand-dial-with-modem-bank-in-linux

  • phonegi Rank: Brown Belt 446 posts since
    Apr 15, 2009
    Currently Being Moderated
    3. Feb 24, 2010 9:13 AM (in response to prisoner881)
    Re: BEST way to use Zenoss to send SMS alerts

    To my knowledge, that functionality is not built into Zenoss.

  • Matt Ray Rank: Zen Master 2,484 posts since
    Apr 5, 2008
    Currently Being Moderated
    4. Feb 24, 2010 5:26 PM (in response to phonegi)
    Re: BEST way to use Zenoss to send SMS alerts

    The reason it's not built into Zenoss because there are many different ways to implement sending SMS.  There are lots of different modems and phones that could be configured to work via the command line and scripting.  Depending on your SMS provider, you could use phone#@provider and do it via email.  You could use something like http://www.clickatel.com/ or http://www.pagerduty.com/.

     

    Thanks,

    Matt Ray

    Zenoss Community Manager

    community.zenoss.org

    mray@zenoss.com

  • phonegi Rank: Brown Belt 446 posts since
    Apr 15, 2009
    Currently Being Moderated
    6. Feb 25, 2010 3:50 PM (in response to prisoner881)
    Re: BEST way to use Zenoss to send SMS alerts

    A little off topic, so please be patient. Don't get too comfortable with POTS lines. While they are more reliable than most circuits (due to the really low physical requirements), they are still succeptible to serious downtime. In our neighborhood, Verizon just had a construction company run a pile driver through two 3600 pair cables that fed most of the local town. It took over two weeks to repair them. Yes, that's an extreme example.

     

    My point is that if you use a POTS line as a backup (or any other type of circuit for that matter), I would make sure that you put in some cyclic mechanism that allows you to verify that it is working. If there is no regular method of testing, it may not be there when you need it.

     

    And yes, I really am a phone guy! 

     

    PG

  • phonegi Rank: Brown Belt 446 posts since
    Apr 15, 2009
    Currently Being Moderated
    8. Mar 4, 2010 1:00 PM (in response to prisoner881)
    Re: BEST way to use Zenoss to send SMS alerts

    Check out this article: http://www.dynowski.com/blog/?p=62

  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    9. Mar 5, 2010 11:21 AM (in response to prisoner881)
    Re: BEST way to use Zenoss to send SMS alerts

    we use a product build by topex that has a builtin pop3 client and make email to sms and sms to email gateway... it work perfectly

  • phonegi Rank: Brown Belt 446 posts since
    Apr 15, 2009
    Currently Being Moderated
    10. Mar 5, 2010 11:58 AM (in response to Andrea Consadori)
    Re: BEST way to use Zenoss to send SMS alerts

    That configuration still relies on your network to send messages though doesn't it? The best solution is to directly connect equipment that is off the network that Zenoss is monitoring.

  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    11. Mar 5, 2010 1:11 PM (in response to phonegi)
    Re: BEST way to use Zenoss to send SMS alerts

    it's an internal device connected directly to zenoss, not an external service, so yes, my switch can goes down, also my sms gateway but modem too can broken.... for myself it's an acceptable risk.

     

    i've two zenoss server for different usage but look each other sms gateway so if one is unrechable i recive an sms that alert me and i've a deduntand internal network topology.

     

    for small installation, yes, a modem is the best way

  • phonegi Rank: Brown Belt 446 posts since
    Apr 15, 2009
    Currently Being Moderated
    13. Mar 10, 2010 3:18 PM (in response to prisoner881)
    Re: BEST way to use Zenoss to send SMS alerts

    Got Zenoss working with QuickPage and wrote up a HOWTO

    docs/DOC-5819

1 2 Previous Next

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points