[rancid] Receiving empty mails

Vanja Luk vanja.luk at gmail.com
Thu Mar 30 13:29:13 UTC 2017


Tried directly in command line with two diffs:
git diff -C -M ad78a3e0cf8a14e3c1c2d0a0ba354e7580d9b9de
e072c5c2033884852ff1c3b1290d22292f73373d -- "routers/configs/router1" |
/etc/rancid/diff2html.py > diff.html
and the output is as expected.

Checked the script too, and there are no email triggers in it. The same
scenario is when I use another script written in bash.
The diff script is triggered every time rancid schedules a job no matter
new diffs are recorded or not.

On Thu, Mar 30, 2017 at 3:09 PM, heasley <heas at shrubbery.net> wrote:

> Thu, Mar 30, 2017 at 01:40:30PM +0200, Vanja Luk:
> > DIFFSCRIPT="/etc/rancid/diff2html.py"; export DIFFSCRIPT
> >
> > As soon as the script is commented rancid does not send empty emails any
> > more.
>
> test it manually and separately from rancid.  does it work as described in
> rancid.conf(5).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170330/e6e70eb6/attachment.html>


More information about the Rancid-discuss mailing list