Discussion:
[rancid] rancid not completely reading config on cisco
Jessica Cohen
2016-04-01 22:20:29 UTC
Permalink
Hello,

Recently one of my groups has starting having an issue where it doesn't seem to completely read the config of the cisco switches it's polling. Consequently, rancid reports constant changes even though there aren't any. It will only show half the config then on the next poll the full config. I'm checking every 12 cisco switches every 5 minutes. None of the 40 other groups are having this issue. I've googled but I'm not having any luck. Suggestions?
Alan McKinnon
2016-04-02 06:47:01 UTC
Permalink
Post by Jessica Cohen
Hello,
Recently one of my groups has starting having an issue where it doesn’t
seem to completely read the config of the cisco switches it’s polling.
Consequently, rancid reports constant changes even though there aren’t
any. It will only show half the config then on the next poll the full
config. I’m checking every 12 cisco switches every 5 minutes. None of
the 40 other groups are having this issue. I’ve googled but I’m not
having any luck. Suggestions?
There is seldom an FAQ-style answer for questions like this; your only
real option is to examine closely what output your switches are giving
and what rancid is doing with that output. It seems to be exiting early,
and the reason with be in what the switch sends back.

Manually run the rancid script against the problematic switch in debug
mode (IIRC it's the -d switch) and closely examine what's going on at
the end. Comapre with a good debug run and find differences.
--
Alan McKinnon
***@gmail.com
Loading...