Discussion:
how to get zenoss to send sms on critical events
themactech
2012-03-21 16:01:51 UTC
Permalink
themactech [http://community.zenoss.org/people/themactech] created the discussion

"Re: zenoss + sms, where is the error?"

To view the discussion, visit: http://community.zenoss.org/message/65367#65367

--------------------------------------------------------------
I use email to send SMS, most services like AT&T have an email address that will send an SMS, in the case of AT&T it's <yourcellnumberhere>@mobile.mycingular.com, most other carriers offer the same function.

So I am just sendind a second email alert out to that SMS email address for critical events.

Manuel
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65367#65367]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
da shan
2012-03-21 16:52:04 UTC
Permalink
da shan [http://community.zenoss.org/people/dashan] created the discussion

"Re: zenoss + sms, where is the error?"

To view the discussion, visit: http://community.zenoss.org/message/65368#65368

--------------------------------------------------------------
Hi,

thank you for your reply.

But what do you do if your network is down?

Thats why i want to use a mobile-phone connected directly to the zenoss server. So i get alerts even if the network is down ...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65368#65368]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
themactech
2012-03-21 16:56:06 UTC
Permalink
themactech [http://community.zenoss.org/people/themactech] created the discussion

"Re: zenoss + sms, where is the error?"

To view the discussion, visit: http://community.zenoss.org/message/65369#65369

--------------------------------------------------------------
I do have a POTS line on a computer at the office, and USB modem connected, the computer triggers a call over the modem when certain events occur so I get a call on my cell phone.  But that is not deployed at our remote sites.

I did setup a hartbeat monitoring system however.  The zenoss machine will get the health of all of it's daemons, encode that in an email and send it every couple of minutes.  Another computer at a different location receives the emails, decode it to get daemon status, and also alerts if no email is received.  This makes sure remote Zenoss servers are up and running and healthy.  Also indicates a failed network infrastructure.

Manuel
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65369#65369]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
bojan
2012-03-22 10:06:56 UTC
Permalink
bojan [http://community.zenoss.org/people/bojan] created the discussion

"Re: zenoss + sms, where is the error?"

To view the discussion, visit: http://community.zenoss.org/message/65371#65371

--------------------------------------------------------------
I use USB GSM modem and smstools (with postfix and procmail) to send alarm SMS from zenoss.

Bojan
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65371#65371]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
da shan
2012-04-02 14:20:26 UTC
Permalink
da shan [http://community.zenoss.org/people/dashan] created the discussion

"Re: how to get zenoss to send sms on critical events"

To view the discussion, visit: http://community.zenoss.org/message/65687#65687

--------------------------------------------------------------
OK, for the record:

I'm using RHEL6 and the switch which did the trick was to comment out the following line in the /etc/sudoers (or visudo):

Defaults          requiretty

And now it works with the code i posted on pastebin

thx anyone involved!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65687#65687]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-04-20 05:33:44 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: how to get zenoss to send sms on critical events"

To view the discussion, visit: http://community.zenoss.org/message/65998#65998

--------------------------------------------------------------
da shan:

Ah nice.

--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65998#65998]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...