[rancid] mtrancid +- connection closed? Conf Diff

heasley heas at shrubbery.net
Wed Jan 16 17:51:52 UTC 2019


Tue, Jan 15, 2019 at 03:06:31PM -0800, Jason Wu:
> Hello friends,
> 
> Just have a question regarding mtrancid
> For some reason I have been getting router config diffs emails which
> contain only +- connection close, which doesn't reflect a config change and
> is strange.
> 
> This only occurs on 1-2 devices
> 
> Rancid 3.6.1
> =====================================
> Sample
> 
> Revision 100
> - Connection to <myrouter> closed.
> 
> =====================================
> 
> Revision 98
> 
> + Connection to <myrouter> closed.
> 
> 
> =====================================
> 
> Mtrancid consists of
> systempackageprintdetail
> systemrouterboardprint
> export
> 
> It seems that mtrancid is picking up the SSH session close
> Logs do not show any errors which means its reaching the end of run and has
> a clean exit right?

yes.

are these running the same versoin as the routers that are not exibiting
the error?  does it occur with any regularity?  can you reproduce it
running mtrancid at the shell?

> I am able to run all these commands with no problem and rancid-run gives me
> no errors/hiccups.
> Execution is smooth and does not have any delays (<1minute)
> 
> If there was a problem, the end-of-run detection would pick it up?
> 
> Just going through the script and I can’t seem to identify where/why this
> would get picked up.
> I was wondering if anyone else has experienced this before. I could always
> filter out the "connection closed" but I am curious why this is happening.




More information about the Rancid-discuss mailing list