[rancid] Email notification with RANCID
Michael Lee
michael.lee at mincom.com
Tue Jan 17 01:58:48 UTC 2012
Hi,
Really appreciate your reply. Yeah, however I am trying to list out all the devices and backup status in a list. By the way, do you know anyway to send the configuration diff using html format in an EMAIL similar to what we see on VIEWVC?
BR,
Michael
-----Original Message-----
From: shouldbe q931 [mailto:shouldbeq931 at gmail.com]
Sent: Tuesday, January 17, 2012 2:55 AM
To: Michael Lee
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Email notification with RANCID
On Mon, Jan 16, 2012 at 5:33 AM, Michael Lee <michael.lee at mincom.com> wrote:
> Hi all,
>
>
>
> I am new to RANCID, hopefully you guys can help. I have been trying to find
> some way to make RANCID notify daily through mail which devices is backup
> successful and which backup is not successful.
>
> Is there currently a way to do this. I notice the capability at the moment
> only send notification on the changes of the configuration.
>
>
>
> Many thanks in advance,
>
>
>
> Br,
>
> Michael
>
>
rancid will send a notification email if it has not been able to
contact a device for 24hours, the below is from control_rancid
-----------------------------------------------------------------------------------------------
# If any machines have not been reached within the last $OLDTIME
# hours, mail out a list of them.
cd $DIR/configs
rm -f $DIR/routers.failed
if [ "X$OLDTIME" = "X" ] ; then
OLDTIME=24
fi
-----------------------------------------------------------------------------------------------
This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please notify the sender and delete the transmission. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise.
More information about the Rancid-discuss
mailing list