Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Has anyone successfully configured Zenoss to send an SMS or Voice alert? Googling only comes up with a service called TeamTILT for Zenoss. Is this the only alternative available? Has anyone solved this without using this service? Thanks.

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

The easiest means is to simply send an e-mail to the provider's email-to-text gateway. Which, of course, requires a working internet connection :-).

share|improve this answer
add comment

Note: If you want the pager field to goto someone's SMS "email" like 1235551234@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.

share|improve this answer
    
The mail.pl script works great as long as you enter in "$ZENHOME/scripts/mail.pl $RECIPIENT" under Settings->Page Command. Other wise it does not pass the recipient variable to the script. Thanks for sharing the script! –  Chris Zier Mar 28 at 19:35
add comment

I was actually able to setup the dialer zenpack at one point to dial a 56K modem and deliver SMS that way, but only T-Mobile's numbers were still working for this method. We ended up running DSL over a dedicated POTS line for this purpose.

http://community.zenoss.org/docs/DOC-5819

share|improve this answer
add comment

protected by Community yesterday

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.