[rancid] Re: Rancid randomly reports routers added/deleted

Sotiris Tsimbonis stsimb at irc.gr
Mon Mar 24 08:59:48 UTC 2008


On 03/22/2008 07:29 PM, john heasley wrote:
> This NEVER occurs for me on any of the 5 installations that I manage.  But,
> I never have CVS problems either. :)
> 
> control_rancid uses perl to create the router.{up,down,all} files from
> router.db and then diffs them.  Is it failing to rename router.*.new to
> router.*?  Do you have a script that is overwriting or removing them?
> 
> Fri, Mar 21, 2008 at 11:32:08AM -0400, Steve Snodgrass:
>> I'm using 2.3.2a8 and sometimes it just randomly reports that routers
>> have been added/deleted, even when nothing was changed in routers.db.
>> Example from this morning:
>>
>> Routers changed to up:
>>         s3750-floor-b1.example.com:cisco
>>
>> Added routers:
>>         s3750-floor-b1.example.com:cisco
>>
>> Deleted routers:
>>         s3750-floor-b1.example.com:cisco
>>
>> Obviously I obfuscated the actual domain.  This appears in the log file:
>>
>> starting: Fri Mar 21 05:00:01 EDT 2008
>>
>> cvs add: s3750-floor-b1.example.com already exists, with version number 1.3
>> Added s3750-floor-b1.example.com
>>
>> Any idea why this happens?  Thanks.


It looks similar to this old case..
http://www.shrubbery.net/pipermail/rancid-discuss/2005-November/001275.html

So try adding the following line at the end of router.db ..
FIX_DIFF_BUG:cisco:down

Sot.

>>
>> -- 
>> Steve Snodgrass * ssnodgra at pheran.com * Network/Security/Linux/Perl Geek
>> "If you want to be somebody else, change your mind."  -Sister Hazel
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> _______________________________________________
> 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