<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>That did the trick!!   Thank you very much.   </div>
<div><br>
</div>
<div>Does that simply change the output to wide-mode or similar?</div>
<div><br>
</div>
<div> — Matt</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>John Kougoulos <<a href="mailto:john.kougoulos@gmail.com">john.kougoulos@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, July 14, 2015 at 12:38 AM<br>
<span style="font-weight:bold">To: </span>Matt Almgren <<a href="mailto:matta@surveymonkey.com">matta@surveymonkey.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [rancid] Rancid isn't scanning the f5s from cron job.<br>
</div>
<div><br>
</div>
<div>
<div>
<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>
</div>
</div>
</span>
</body>
</html>