[rancid] Rancid isn't scanning the f5s from cron job.
John Kougoulos
john.kougoulos at gmail.com
Tue Jul 14 07:38:38 UTC 2015
HI,
try changing in f5rancid this one:
$ENV{'TERM'} = "vt100";
to:
$ENV{'TERM'} = "vt100-w";
Regards,
John
On Mon, Jul 13, 2015 at 7:31 PM, Matt Almgren <matta at surveymonkey.com>
wrote:
> Very strange behavior here that I can’t pinpoint.
>
> 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.
>
> Cron: 59 9 * * * /usr/lib/rancid/bin/rancid-run
>
> router.db:
> <snip>
> mt-lr01.endor.lan:juniper:up
> mt-lb03.endor.lan:f5:up
> mt-lb04.endor.lan:f5:up
> <snip>
>
> Files:
> -rw-r----- 1 rancid rancid 1072279 Jul 8 11:36 mt-lb04.endor.lan
> -rw-r----- 1 rancid rancid 1072475 Jul 8 11:36 mt-lb03.endor.lan
> -rw-r----- 1 rancid rancid 22647 Jul 10 10:01 mt-er01.endor.lan
> -rw-r----- 1 rancid rancid 22211 Jul 10 10:01 mt-er02.endor.lan
>
> Again, running manually, it works just fine.
>
> The logs from the cron job show me what I already know:
>
>
> Trying to get all of the configs.
> mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.crt,ls --full-time --color=never
> /config/ssl/ssl.key
> mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.crt,ls --full-time --color=never
> /config/ssl/ssl.key
> =====================================
> Getting missed routers: round 1.
> mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.crt,ls --full-time --color=never
> /config/ssl/ssl.key
> mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.key,ls --full-time --color=never
> /config/ssl/ssl.crt
> =====================================
> Getting missed routers: round 2.
> mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.crt,ls --full-time --color=never
> /config/ssl/ssl.key
> mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.crt,ls --full-time --color=never
> /config/ssl/ssl.key
> =====================================
> Getting missed routers: round 3.
> mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.key,ls --full-time --color=never
> /config/ssl/ssl.crt
> mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.key,ls --full-time --color=never
> /config/ssl/ssl.crt
> =====================================
> Getting missed routers: round 4.
> mt-lb03.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.key,ls --full-time --color=never
> /config/ssl/ssl.crt
> mt-lb04.corp.surveymonkey.com: missed cmd(s): ls --full-time
> --color=never /config/ssl/ssl.crt,ls --full-time --color=never
> /config/ssl/ssl.key
>
>
> But when I run it manually:
>
>
>
> Trying to get all of the configs.
> All routers sucessfully completed.
>
>
>
> Anyone have any clues/ideas?
>
> Thanks, Matt
>
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150714/b525d82b/attachment.html>
More information about the Rancid-discuss
mailing list