[rancid] wrapper script and routers.[up|down|failed|all]

Rikard Stemland Skjelsvik rskjels at pogostick.net
Wed Apr 9 10:08:43 UTC 2008



First i would like to take the opportunity to thank the developpers of 
Rancid.


>From what i can gather, rancid-run will not bother to get configs from 
routers marked as down in router.db. Does anyone have a quick shellscript 
that would ping en entry in router.db, and mark the host as down if it 
does not get a ping, and mark the host as up if the host responds to ping? 
When collecting up to hundreds of hosts, i belive this could speed up the 
backup.


I am also confused about the files:

routers.failed
routers.all
routers.down
routers.up

It seems that routers.down is populated during a rancid-run, but is 
emptied when the rancid-run process quits. I thought that these files
would give the status of the last run.


Thank you!

Regards,
Rikard






More information about the Rancid-discuss mailing list