[rancid] RANCID, CRS and SDR

Per Carlson pelle at hemmop.com
Sun Dec 4 01:21:29 UTC 2011


Hi Jens.

> I'm having some problems with RANCID when querying CRS SDRs (Secure
> Domain Router). RANCID is running once an hour and every time RANCID
> finds some differences in the hardware configuration.
>
> Here is an example:
>
> This moring a 7 o'clock:
> - !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> - !VID: N/A
> - !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
>
> And at 8 o'clock
> + !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> + !VID: N/A
> + !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
>
> This is not on related to sensors, I've also seen fan trays, interface
> cards, ... appearing and disappearing. Any ideas? Querying the actual
> (hardware) CRS works fine.

I've seen spurios "non-printables" mess up the diff on both IOS and
IOS-XR devices. Can't recall from memory if that occurred in "show
inventory" on XR.

Any way, I do have a substantial code change for xrrancid hanging
around at GitHub[0]. *One* of the differences with the stock 2.3.6
code are filtering of "non-printables". If you would like some more
info of the changes, checkout the command table at the end of
bin/xrrancid.in[1]. You are welcome to give it a try if you like. If
you have any suggestions for improvements or other changes, I'm
listening.

[0] https://github.com/hemmop/rancid/tree/xrrancid
[1] https://github.com/hemmop/rancid/blob/xrrancid/bin/xrrancid.in#L836

-- 
Pelle

RFC1925, truth 11:
 Every old idea will be proposed again with a different name and
 a different presentation, regardless of whether it works.


More information about the Rancid-discuss mailing list