<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">Hi Roman,</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">
I for one want to see these "last modified" lines as otherwise I have no idea when the change occurred -- especially if RANCID is only set to run once a day or similar and I'm tracking down an issue.</div><div class="gmail_default" style="font-family:'courier new',monospace">
<br></div><div class="gmail_default" style="font-family:'courier new',monospace">Ideally what would happen is that when a particular syslog line is seen "commit/saved" etc, then RANCID would run on that device immediately, and yes, your patch would be a good thing to apply.</div>
<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Or, as I'm not familiar with that product, could it be that this line is changing every single time RANCID runs and not just when there has been a config change?</div>
<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Cheers,<br><br><br>Matthew Walster</div><div class="gmail_default" style="font-family:'courier new',monospace">
<br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 July 2013 15:05, Roman Hochuli <span dir="ltr"><<a href="mailto:roman.hochuli@nexellent.ch" target="_blank">roman.hochuli@nexellent.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All<br>
<div class="im"><br>
> So I decided to filter out that line. Maybe others would be interested<br>
> as well. So here is the diff:<br>
<br>
</div>Actually, I found a slightly quicker way:<br>
<br>
--snip<br>
--- nsrancid.ORI 2013-07-12 15:14:06.000000000 +0200<br>
+++ nsrancid 2013-07-12 15:55:34.000000000 +0200<br>
@@ -180,6 +180,7 @@<br>
next if (/^Can\'t find object or class named \"\-all\"\s*$/);<br>
next if (/lock-address .*$/);<br>
next if (/^\# *uptime +\d+\s*$/);<br>
+ next if (/^# Last modified/);<br>
if (/community label /) {<br>
if ($filter_commstr) {<br>
<div class="im"> $_ =~ s/community label .*$/community label <removed>/;<br>
</div>--snap<br>
<br>
Pull-Request @GitHub is open.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Best regards,<br>
Roman Hochuli<br>
Operations Manager<br>
<br>
nexellent ag<br>
Saegereistrasse 33<br>
CH-8152 Glattbrugg<br>
<br>
Phone: +41 44 872 20 00<br>
Fax: +41 44 872 20 01<br>
URL: <a href="http://www.nexellent.ch" target="_blank">www.nexellent.ch</a><br>
X-NCC-RegID: ch.nexellent<br>
<br>
Imagination is the one weapon in the war<br>
against reality.<br>
-- Jules de Gaultier<br>
<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</div></div></blockquote></div><br></div>