[rancid] How do I make Rancid forget about a switch?
Chris Knight
boheme at gmail.com
Fri Sep 24 22:19:21 UTC 2010
I have marked those devices as down, and yet I just received this email:
The following routers have not been successfully contacted for
more than 1 hours.
-rw-rw-r-- 1 proxyit rancid 16129 Sep 24 01:46 mc-sw-26
-rw-rw-r-- 1 proxyit rancid 17963 Sep 24 01:46 mc-sw-27
-rw-rw-r-- 1 proxyit rancid 30866 Sep 24 01:46 mc-asa-254
Looks like marking them as down didn't do the trick.
-Chris
On Fri, Sep 24, 2010 at 8:36 AM, Chris Gauthier <cgauthier at mapscu.com> wrote:
> According to the router.db man page (http://www.shrubbery.net/rancid/man/router.db.5.html):
>
> <state>
> The state is either "up", or some other arbitrary value, e.g. "down". If the device is not marked "up" the device's configuration will not be collected. It is highly recommended that comments are made for any router not listed as up, so as to indicate the reason a router is not to be polled, e.g.:
> dial1.paris:cisco:up:
> core1.paris:cisco:down:in testing until 5/5/2001.
> core2.paris:cisco:ticketed:Ticket 6054234, 5/3/2001
> border1.paris:juniper:up:
>
> The script "downreport" in util/ can be used to produce a report of routers in router.db that are not marked "up".
>
> Chris G.
>
>
> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Chris Knight
> Sent: Friday, September 24, 2010 8:29 AM
> To: rancid-discuss
> Subject: [rancid] How do I make Rancid forget about a switch?
>
> Yesterday I pulled two switches and an ASA from my network. As expected, at a certain point I started getting notifications that Rancid was unable to pull the configs after X hours. So, I commented out the switches and asa from routers.db, but I am still getting alerts. Yes, I know I could google it, but I've been up for 36 hours and I'm hoping someone will show some compassion and tell me the quick fix. :)
>
> -Chris
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE
> Attention: The information contained in this email and/or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.
> _______________________________________________
> 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