[rancid] Re: Email notifications

Steve Ousley steve at host-it.co.uk
Thu Jun 26 13:00:27 UTC 2008

That should work :)

I actually have a script that runs that runs rancid-run and then the file
backup anyway, so I might just add a bit to the end of that that mails us on
successful completion of that, and then use this method in cron to mail if
it failed.

Thanks Tom :)

Steve Ousley - SO620-RIPE

-----Original Message-----
From: Thomas C. Knoeller [mailto:tck at pretend.net] 
Sent: 26 June 2008 13:57
To: Steve Ousley
Subject: Re: [rancid] Re: Email notifications

How about something in cron like this?

    rancid-run && backup-files || mail -s 'rancid or backup of rancid
failed' interested at my.domain </dev/null

Runs rancid, if successful, runs the backup script.
If either fail it sends the email.


More information about the Rancid-discuss mailing list