[rancid] HP Procurve 2920-48G-POE+ Stack and hrancid show stack command issue
Hughes, Doug
Douglas.Hughes at DEShawResearch.com
Fri Feb 7 13:52:11 UTC 2014
Yeah, if you check the mail list archives you will find that about 1/3 of the requests are similar in nature. The gist is, edit the hrancid file, find the routine that collects Uptime (it's one of the commandtable callbacks) and add a next if /;Uptime/; command in there near the other 'next if' commands. It's very easy.
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Stephen Austen
Sent: Friday, February 07, 2014 12:47 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] HP Procurve 2920-48G-POE+ Stack and hrancid show stack command issue
Hi,
I am having an issue where config differs are being created every hour due to the response to "show stack" command in hrancid.
The problem appears to be that "Uptime" in this command's response needs to be skipped/removed and my attempts at editing hrancid end up aborting due compile errors.
--- networking/configs/X.X.X.X 2014/02/07 03:01:34 1.40
+++ networking/configs/ X.X.X.X 2014/02/07 04:01:36 1.42
@@ -34,7 +34,7 @@
;MAC Address : 9cb654-d0638b
;Stack Topology : Chain
;Stack Status : Active
-;Uptime : 48d 21h 20m
+;Uptime : 48d 22h 20m
;Software Version : WB.15.11.0003
; Mbr
; ID Mac Address Model Pri Status
Would someone be so kind as to assist me in filtering out "Uptime" in hrancid, or elsewhere, to avoid unnecessary emails and CVS updates?
System versions:
rancid 2.3.8 on CentOS 5.9
Regards,
Steve Austen
[Walk Around The World]<www.lanecove.nsw.gov.au/festivals>
**********************************************************************
Looking for something in particular?
Visit our website: - www.lanecove.nsw.gov.au<http://www.lanecove.nsw.gov.au>
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
Lane Cove Council.
Information transmitted via email may be subject to corruption by the
process. Information contained in this email should not be relied upon
where loss, damage or injury is possible. Verified information should
be obtained in writing directly from the authorised Council officers.
This footnote also confirms that this email message has been swept by
Sophos for the presence of computer viruses.
**********************************************************************
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services on behalf of Lane Cove Council - powered by MessageLabs. For further information
visit http://www.mci.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140207/610df757/attachment.html>
More information about the Rancid-discuss
mailing list