Discussion:
How to configure SMS Alert in Zenoss
Mahi Nix
2012-04-10 08:48:22 UTC
Permalink
Mahi Nix [http://community.zenoss.org/people/mahi_nix] created the discussion

"How to configure SMS Alert in Zenoss"

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

--------------------------------------------------------------
Hi Friends,

I have Zenoss Server Version 3.2.0 installed and Email alerts are working fine. Now I wanted to configure SMS alerts on critical zenoss alerts on mobile phones. I have one SMS gateway server which is web-based and working on "xmlrpc". I dont know how to configure sms alerts and what are the ways ans requirments to configure it on zenoss. can anyone help me to setting up sms alerting on zenoss.

Thanks in advance,

Regards,
Mahi_nix
--------------------------------------------------------------

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

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]
zenorr
2012-04-11 11:28:46 UTC
Permalink
zenorr [http://community.zenoss.org/people/zenorr] created the discussion

"Re: How to configure SMS Alert in Zenoss"

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

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

we have a subscription with a local provider (if you are in Switzerland, I can recommend them : www.ecall.ch, even if I'm not related). They propose many interfaces to send SMS and page messages, including some sort of TCP socket with TAB-separated fields input.

I have then written a small python script called as event command (See Events / Event manager / Commands) to forward important alarms to my provider.

Of course, that doesn't work when the TCP/IP connection to my provider is broken. In this case, I fallback to a localy-attached modem and the Ubuntu package "smsclient" to a Swiss SMSC.

Hope this helps,
Charles
--------------------------------------------------------------

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

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]
jcurry
2012-04-11 13:54:39 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: How to configure SMS Alert in Zenoss"

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

--------------------------------------------------------------
I have done this sort of thing with the open source sms_client utility.  Have you seen this post - http://community.zenoss.org/message/59672#59672 http://community.zenoss.org/message/59672#59672 ??
Cheers,
Jane
--------------------------------------------------------------

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

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]
Mahi Nix
2012-04-12 09:22:27 UTC
Permalink
Mahi Nix [http://community.zenoss.org/people/mahi_nix] created the discussion

"Re: How to configure SMS Alert in Zenoss"

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

--------------------------------------------------------------
Hi Friends,

Thanks for you reply. I already have one sms gateway and i have a script which i am using through Event Manager Command. I am near to solve the issue.

THanks for you help.

Mahi_nix
--------------------------------------------------------------

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

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]
Mahi Nix
2012-05-07 07:43:01 UTC
Permalink
Mahi Nix [http://community.zenoss.org/people/mahi_nix] created the discussion

"Re: How to configure SMS Alert in Zenoss"

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

--------------------------------------------------------------
Hi Folks,

Got the solutions, Thanks for your help.

Regards,
Mahi_nix
--------------------------------------------------------------

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

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]
Justin Miller
2013-07-15 17:05:40 UTC
Permalink
Justin Miller [http://community.zenoss.org/people/mageru] created the discussion

"Re: How to configure SMS Alert in Zenoss"

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

--------------------------------------------------------------
Note: If you want the pager field to goto someone's SMS "email" like mailto:***@vtext.com ***@vtext.com you can do the followin.

Create folder $ZENHOME/scripts/
Create the script below.
Page Command : $ZENHOME/scripts/mail.pl
File: mail.pl
#!/usr/bin/perl


my $title="Alert";
my $to=$ARGV[0];


$from= 'Zenoss';
$subject=$title;


open(MAIL, "|/usr/sbin/sendmail -t");


## Mail Header
print MAIL "To: $to\n";
print MAIL "From: $from\n";
print MAIL "Subject: $subject\n\n";
## Mail Body
foreach $line ( <STDIN> ) {
    chomp( $line );
    print MAIL "$line\n";
}
close(MAIL);

As long as you have sendmail configured then you should be seeing pages.
--------------------------------------------------------------

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

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