<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>
<div>Hi Scott, I’ll be moving to 3.x soon, but this is currently 2.3.8. All the other devices in the router.db run fine, just not our f5s in two different groups.</div>
<div><br>
</div>
<div>Thanks, Matt</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</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>Scott Granados <<a href="mailto:scott.granados@gmail.com">scott.granados@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Monday, July 13, 2015 at 11:01 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I’m not sure if this matters but I had to use ;s instead of :s in the router.db. This was a change that appeared fairly recently and popped up for me when I upgraded from 2.3.6 to 3.2.
<div class=""><br class="">
</div>
<div class="">so you might try something like</div>
<div class=""><br class="">
</div>
<div class="">bigip;f5;up</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 13, 2015, at 1:31 PM, Matt Almgren <<a href="mailto:matta@surveymonkey.com" class="">matta@surveymonkey.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div style="font-family: Calibri, sans-serif;" class="">Very strange behavior here that I can’t pinpoint. </div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">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;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">Cron: 59 9 * * * /usr/lib/rancid/bin/rancid-run</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">router.db:</div>
<div class=""><font face="Courier" class=""><snip></font></div>
<div class=""><font face="Courier" class="">mt-lr01.endor.lan:juniper:up</font></div>
<div class=""><font face="Courier" class="">mt-lb03.endor.lan:f5:up</font></div>
<div class=""><font face="Courier" class="">mt-lb04.endor.lan:f5:up</font></div>
<div class=""><font face="Courier" class=""><snip></font></div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">Files:</div>
<div class=""><font face="Courier" class="">-rw-r----- 1 rancid rancid 1072279 Jul 8 11:36 mt-lb04.endor.lan</font></div>
<div class=""><font face="Courier" class="">-rw-r----- 1 rancid rancid 1072475 Jul 8 11:36 mt-lb03.endor.lan</font></div>
<div class=""><font face="Courier" class="">-rw-r----- 1 rancid rancid 22647 Jul 10 10:01 mt-er01.endor.lan</font></div>
<div class=""><font face="Courier" class="">-rw-r----- 1 rancid rancid 22211 Jul 10 10:01 mt-er02.endor.lan</font></div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">Again, running manually, it works just fine.</div>
</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">The logs from the cron job show me what I already know:</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div class="">
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div class="">
<div class=""><font face="Courier" class="">Trying to get all of the configs.</font></div>
<div class=""><font face="Courier" class=""><a href="http://mt-lb03.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class=""><a href="http://mt-lb04.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class="">=====================================</font></div>
<div class=""><font face="Courier" class="">Getting missed routers: round 1.</font></div>
<div class=""><font face="Courier" class=""><a href="http://mt-lb03.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class=""><a href="http://mt-lb04.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class="">=====================================</font></div>
<div class=""><font face="Courier" class="">Getting missed routers: round 2.</font></div>
<div class=""><font face="Courier" class=""><a href="http://mt-lb04.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class=""><a href="http://mt-lb03.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class="">=====================================</font></div>
<div class=""><font face="Courier" class="">Getting missed routers: round 3.</font></div>
<div class=""><font face="Courier" class=""><a href="http://mt-lb04.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class=""><a href="http://mt-lb03.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class="">=====================================</font></div>
<div class=""><font face="Courier" class="">Getting missed routers: round 4.</font></div>
<div class=""><font face="Courier" class=""><a href="http://mt-lb03.corp.surveymonkey.com" class="">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 class=""><font face="Courier" class=""><a href="http://mt-lb04.corp.surveymonkey.com" class="">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;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">But when I run it manually:</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div class="">
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div class=""><font face="Courier" class="">Trying to get all of the configs.</font></div>
<div class=""><font face="Courier" class="">All routers sucessfully completed.</font></div>
</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">Anyone have any clues/ideas?</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class="">Thanks, Matt</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif;" class=""><br class="">
</div>
</div>
_______________________________________________<br class="">
Rancid-discuss mailing list<br class="">
<a href="mailto:Rancid-discuss@shrubbery.net" class="">Rancid-discuss@shrubbery.net</a><br class="">
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</span>
</body>
</html>