<div dir="ltr"><div><div><div>HI,<br><br></div>try changing in f5rancid this one:<br>$ENV{'TERM'} = "vt100";<br><br>to:<br>$ENV{'TERM'} = "vt100-w";<br><br></div>Regards,<br></div>John<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 7:31 PM, Matt Almgren <span dir="ltr"><<a href="mailto:matta@surveymonkey.com" target="_blank">matta@surveymonkey.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>
<div style="font-family:Calibri,sans-serif">Very strange behavior here that I can’t pinpoint. </div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">When the cron job runs once per day, it doesn’t scan our f5s in multiple locations. But when I run “rancid-run” manually (with no args) it picks them up – no problem.</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Cron: 59 9 * * * /usr/lib/rancid/bin/rancid-run</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">router.db:</div>
<div><font face="Courier"><snip></font></div>
<div><font face="Courier">mt-lr01.endor.lan:juniper:up</font></div>
<div><font face="Courier">mt-lb03.endor.lan:f5:up</font></div>
<div><font face="Courier">mt-lb04.endor.lan:f5:up</font></div>
<div><font face="Courier"><snip></font></div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Files:</div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 1072279 Jul 8 11:36 mt-lb04.endor.lan</font></div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 1072475 Jul 8 11:36 mt-lb03.endor.lan</font></div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 22647 Jul 10 10:01 mt-er01.endor.lan</font></div>
<div><font face="Courier">-rw-r----- 1 rancid rancid 22211 Jul 10 10:01 mt-er02.endor.lan</font></div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Again, running manually, it works just fine.</div>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">The logs from the cron job show me what I already know:</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div>
<div><font face="Courier">Trying to get all of the configs.</font></div>
<div><font face="Courier"><a href="http://mt-lb03.corp.surveymonkey.com" target="_blank">mt-lb03.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier"><a href="http://mt-lb04.corp.surveymonkey.com" target="_blank">mt-lb04.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 1.</font></div>
<div><font face="Courier"><a href="http://mt-lb03.corp.surveymonkey.com" target="_blank">mt-lb03.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier"><a href="http://mt-lb04.corp.surveymonkey.com" target="_blank">mt-lb04.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 2.</font></div>
<div><font face="Courier"><a href="http://mt-lb04.corp.surveymonkey.com" target="_blank">mt-lb04.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier"><a href="http://mt-lb03.corp.surveymonkey.com" target="_blank">mt-lb03.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 3.</font></div>
<div><font face="Courier"><a href="http://mt-lb04.corp.surveymonkey.com" target="_blank">mt-lb04.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier"><a href="http://mt-lb03.corp.surveymonkey.com" target="_blank">mt-lb03.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier">=====================================</font></div>
<div><font face="Courier">Getting missed routers: round 4.</font></div>
<div><font face="Courier"><a href="http://mt-lb03.corp.surveymonkey.com" target="_blank">mt-lb03.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.key,ls --full-time --color=never /config/ssl/ssl.crt</font></div>
<div><font face="Courier"><a href="http://mt-lb04.corp.surveymonkey.com" target="_blank">mt-lb04.corp.surveymonkey.com</a>: missed cmd(s): ls --full-time --color=never /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key</font></div>
</div>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">But when I run it manually:</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div><font face="Courier">Trying to get all of the configs.</font></div>
<div><font face="Courier">All routers sucessfully completed.</font></div>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Anyone have any clues/ideas?</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Thanks, Matt</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
</div>
<br>_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br></blockquote></div><br></div>