[rancid] Re: Set different collection scheduler by groups

Lance Vermilion rancid at gheek.net
Thu Nov 27 02:31:12 UTC 2008


You have that correct. Have you tried to do it like this yet?

On Wed, Nov 26, 2008 at 7:01 PM, JinZhou <jinzhe_927 at hotmail.com> wrote:
> Hi,
>
> I am using Rancid to maintain Cisco routers and switches configuration.
> Currently, I collect information from HQ and branch hourly. By using
> # 0 * * * * rancid /home/rancid/bin/rancid-run -m XXXX at YYY.com
> But I want to collect data from HQ hourly and from branch daily. So I create
> two GROUPs to contain HQ and Branch's switches
> # LIST_OF_GROUP="HQ BRANCH" (In /etc/rancid/rancid.conf)
> Then use
> # 0 *  *  *  * rancid /home/rancid/bin/rancid-run -r <HQ>
> # 0 23 * * * rancid /home/rancid/bin/rancid-run -r <Branch>
>
> Is it correct?
>
>
>
> The other questing is if I only collect one switch's configuration from HQ
> group, use
>
> # 0 *  *  *  * rancid /home/rancid/bin/rancid-run -r <HQ>/<Device name >
>
> Is it correct and what will happen in /var/lib/rancid/logs/?
>
> Now, I got (group name).20081127.140001.
>
>
>
> Thanks for your help.
>
> Regards,
> David
>
> ________________________________
> 八卦娱乐包打听,MSN资讯速递帮你忙! 了解详细!
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>


More information about the Rancid-discuss mailing list