Re: [j-nsp] email from commit or op script?

2010-02-17 Thread Ross Vandegrift
On Wed, Feb 17, 2010 at 10:42:18AM -0500, Phil Shafer wrote: > That said, we could make [transfer-on-commit] run a command, like: > > [edit system archival configuration] > transfer-on-commit; > archive-sites { > scp://m...@my-server/whatever; > } > archive-command "ssh %A incoming-config-file

Re: [j-nsp] email from commit or op script?

2010-02-17 Thread Richard A Steenbergen
On Wed, Feb 17, 2010 at 10:42:18AM -0500, Phil Shafer wrote: > To move in another direction: Has anyone added [transfer-on-commit] > support to RANCID? There isn't really a way to do that, both because rancid is a "pull the config down via an expect script" model, and because it actually tracks a

Re: [j-nsp] email from commit or op script?

2010-02-17 Thread Phil Shafer
Ross Vandegrift writes: >There's now tons of free distributed version control systems that >would trivially support this. First one to port git to the MX and EX >wins a case of beer from me :) This question of which VCS to support is exactly why we just push it to a server and let you roll your o

Re: [j-nsp] email from commit or op script?

2010-02-17 Thread Ross Vandegrift
On Wed, Feb 17, 2010 at 01:56:19AM -0600, Richard A Steenbergen wrote: > 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 m

Re: [j-nsp] email from commit or op script?

2010-02-17 Thread Bill Marquette
- "Bill Blackford" wrote: > 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. RANCID is too slow for an exact audit trail (or specifically, our require

Re: [j-nsp] email from commit or op script?

2010-02-17 Thread Bill Blackford
...@puck.nether.net] On Behalf Of Richard A Steenbergen Sent: Tuesday, February 16, 2010 11:56 PM To: Phil Shafer Cc: juniper-nsp@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: > >

Re: [j-nsp] email from commit or op script?

2010-02-17 Thread Richard A Steenbergen
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 avo

Re: [j-nsp] email from commit or op script?

2010-02-16 Thread Bill Marquette
- "Truman Boyes" wrote: > On 17/02/2010, at 3:57 AM, 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 don

Re: [j-nsp] email from commit or op script?

2010-02-16 Thread Truman Boyes
On 17/02/2010, at 3:57 AM, 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. B

Re: [j-nsp] email from commit or op script?

2010-02-16 Thread Phil Shafer
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. Thanks,

[j-nsp] email from commit or op script?

2010-02-15 Thread Bill Marquette
Is there any way to send email from an op script? Working through an change process where I'm trying to diff the config before/after a change and send that back to our centralized tracking system and I can't figure out any way to get it off box other than syslog (and then pull it), or file tran