[rancid] Mikrotik slow exports

Michael W. Lucas mwlucas at blackhelicopters.org
Thu Dec 8 17:22:46 UTC 2011


Hi,

I'm using rancid-2.3.3 on FreeBSD, along with mtrancid from 
http://falz.net/static/rancid/mtrancid

The Mikrotik scripts are working erratically. I thought at first this
was because an "export" takes quite a while on my border device, but
it happens even when I run it against a single small 750 (called
"barn").  I can SSH to this small router just fine.

If I run "rancid-run -r barn" the log shows the usual "End of run not found."

Running mtlogin -d barn 

%mtrancid -d barn
executing mtlogin -t 90 -c"system package print detail;system routerboard print;system license print;export" barn
PROMPT MATCH: ] > 
HIT COMMAND:[admin at MikroTik] > system package print detail
    In SystemPackagePrintDetail: [admin at MikroTik] > system package print detail

[considerable hang here]

barn: missed cmd(s): system license print,system routerboard print,export
barn: missed cmd(s): system license print,system routerboard print,export
barn: End of run not found
barn: End of run not found
#

Any suggestions on what's gone wrong here, or how to debug this?

Thanks,
==ml

-- 
Michael W. Lucas 	
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Latest book: Network Flow Analysis http://www.networkflowanalysis.com/
mwlucas at BlackHelicopters.org, Twitter @mwlauthor


More information about the Rancid-discuss mailing list