Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

Ignore updates to "AC Revision" for Cisco uBR7200

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


lind108 at hotmail

Oct 24, 2011, 8:57 AM

Post #1 of 2 (460 views)
Permalink
Ignore updates to "AC Revision" for Cisco uBR7200

Using Rancid current installation of 2.3.6 and having problems removing
notifications for the results of "show env all" for a Cisco uBR7200 and the
resulting cycling of reported power supply revisions such as:

!Power: Power Supply 1 is AC Revision F0. Unit is on.
!Power: Power Supply 2 is AC Revision F0. Unit is on.

Revisions randomly cycle between "F0" and "E0" and is not considered
alarming or worthy of notifications from Rancid.

Previous steps taken to hush the notifications involved editing
control_rancid to attempt post config captures from notifying.

Approximately line 449 in control_rancid changed from:
cvs -f diff -U 4 -ko | sed -e '/^RCS file: /d' -e '/^--- /d' \
-e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff

Changed to:
cvs -f diff -U 4 --ignore-matching-lines='AC Revision' | sed -e '/^RCS
file: /d' -e '/^--- /d' -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff

Results did not function as expected and Rancid continued to notify on
changes to "AC Revision." Further attempted to change same lines above with
use of wildcards, but doing so removed all notifications:
cvs -f diff -U 4 --ignore-matching-lines='*AC Revision*' | sed -e '/^RCS
file: /d' -e '/^--- /d' -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff

Ultimate goal: do not capture the changes for versioning/differs to the "AC
Revision" updates for particular model devices while maintaining use of the
sub ShowEnv in rancid file.

Suggestions?


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


lind108 at hotmail

Apr 16, 2012, 6:39 AM

Post #2 of 2 (368 views)
Permalink
Re: Ignore updates to "AC Revision" for Cisco uBR7200 [In reply to]

Corrected/hushed constant updates by creating new version/copy of Rancid
(rancid-noenv) which did not include the "ShowEnv" sub routine, updating
rancid-fe to include new rancid version, and updating router.db to include
host which was cycling "AC Revision":

Hostname:rancid-noenv:up

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.