[rancid] groups, customers and so on in RANCID....

bob watson bobthebaritone at gmail.com
Mon Dec 3 10:04:38 UTC 2012


Don't forget that .cloginrc is TCL. The . character I think is
concatenation. Take that out and it may work...

Cheers,

Bob


On 3 December 2012 20:56, Martin Barry <marty at supine.com> wrote:

> $quoted_author = "Javier A. Herrera" ;
> >
> > sure i'm missing or misunderstanding something, but i'm not able to make
> > RANCID work with customers or groups, unless i'm supposing things that
> > RANCID doesn't do...let me explain...what i wanted to do was to put
> > several customers or groups on the LIST_OF_GROUPS entry, each one of
> > then associated with a router.db list of devices in the corresponding
> > directory, and then, in the .cloginrc file, use a different credentials
> > for each group, that is, for example:
> >
> > add method *.group1 ssh
> > add method *.group2 telnet
> > add method *.group3 ssh telnet
> > add password *.group1 {pass1} {pass2}
> > add password *.group2 {pass1} {passpass}
>
> The regex matching in cloginrc is only against the hostname and not any
> other grouping you may have defined.
>
> This works best if you have structured hostnames that contain the relevant
> identifying information like location or customer ID etc.etc.
>
> cheers
> Marty
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20121203/78b9cb1c/attachment-0001.html>


More information about the Rancid-discuss mailing list