[rancid] e-mail summary notification
john heasley
heas at shrubbery.net
Sat Oct 23 21:36:02 UTC 2010
Wed, Oct 20, 2010 at 03:43:48PM +0200, Reinhard Kucera:
> Hey,
> first, thanks to Shrubbery for this, well, awesome tool :)
> I am running it on FreeBSD and everything is working fine. I'm using it to
> monitor and backup around 40 Cisco devices.
>
> So here is the thing: I would prefer that I am not getting an email with all
> the changes everytime I do rancid-run but getting an email, telling me that
> it backupped all the 40 routers successfully and that the configs of router
> number (e.g.) 12 and 36 have been changed.
> Then, if I want to, I can look it up on the CVS respository.
> If there are no changes, rancid doesn't backup, so the e-mail could say,
> there were no changes and there is no backup but it was kinda successfully.
>
> Is there any way to do that?
pipe the mail to a script and count the cvs index lines w/ grep. it
doesnt send mail when there are no changes. it does send mail about
devices that havent been successful in OLDTIME hours.
More information about the Rancid-discuss
mailing list