Re: [rancid] Rancid running numerous times for each group? Getting ~40 config fetcher email alerts for same group in a night

"Anderson, Charles R" <[email protected]> Fri, 24 May 2019 16:50:20 +0000
Newsgroups gmane.network.rancid
Message-ID <[email protected]>
On Fri, May 24, 2019 at 04:44:23PM +0000, Ni Ne wrote:
> >> Running ranicd 3.8 on CentOS 6.10, using git as the repo type.
> >>
> >> It appears rancid is running numerous times against the same group in a given night - at least if config fetches fail.
> >>
> >> For instance, I have one group with some problematic devices, and I got 39 "config fetcher" emails for that same group. Looking at logs, it appears rancid is parsing every group approximately the same number of times.
> >>
> >> There is only one cronjob that kicks off rancid on the entire system:
> >>
> >> * 0 * * * /usr/local/rancid/bin/rancid-run
> 
> > man 5 crontab
> 
> > min hr dom mon dow cmd
> 
> That looks right to me. Should kick off every night at midnight. Which it's doing. An entire run takes about 4 hours or so. All logs/emails from a nightly run arrive within that time-frame - 12am - 4am.

No, it says to run:

* - every minute
0 - of the 0 hour
* - of every day of month
* - of every month
* - of every day of week

So I'd expect 60 copies to be run at midnight every night.

_______________________________________________
Rancid-discuss mailing list
[email protected]
http://www.shrubbery.net/mailman/listinfo/rancid-discuss