[j-nsp] email from commit or op script?
Bill Blackford
BBlackford at nwresd.k12.or.us
Wed Feb 17 08:20:10 EST 2010
Hopefully not far off topic:
Some of us pull our config changes into RANCID which in turn emails the NOC/Ops email address accordingly. I find receiving these emails quite useful.
-b
-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Richard A Steenbergen
Sent: Tuesday, February 16, 2010 11:56 PM
To: Phil Shafer
Cc: juniper-nsp at puck.nether.net; Bill Marquette
Subject: Re: [j-nsp] email from commit or op script?
On Tue, Feb 16, 2010 at 11:57:19AM -0500, Phil Shafer wrote:
> Bill Marquette writes:
> >Is there any way to send email from an op script?
>
> No, sorry. We do snmp, syslog, or transfer, but not email. My
> thoughts were always that email notifications should be done at
> a central server to avoid floods. But this is an increasingly
> common feature request.
I've never understood the aversion some people have to a router sending
e-mail. It is a proven mechanism for reliable message delivery, with
many robust software implementations and tools freely available, so why
bother reinventing the wheel? Mechanisms like SNMP and syslog aren't
exactly simple to work with, and they aren't reliable (you can have
undetected udp packet drops). FTP upload doesn't come with any software
mechanisms to detect the new data and act upon it immediately, etc.
If you really stop and think about it, email is the perfect choice for
event notification both from router-generated events and op scripts.
Even the client implementation is pretty darn simple compared to all the
fancy modern protocols people love to churn out, just a simple ssmtp
style tcp session to port 25 to hand off the data to a real mail server.
Nobody said you had to run sendmail on the router or run dumps of your
router configs through gmail, a simple internal mailserver may be a
perfectly secure and functional solution for most people. I for one
would love to have an email notification option on my routers.
--
Richard A Steenbergen <ras at e-gerbil.net> http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
More information about the juniper-nsp
mailing list