[rancid] Re: cisco syslog diff

Smirnoff Alexander asmirnoff at office.beeline.ru
Tue Aug 11 06:36:57 UTC 2009


dir | e syslog - it is very simple way, but I need more ;)

how I can just disable all lines like '!Flash: ' from mail diff output ,
but this lines can be stored in CVS config changes?

 

________________________________

From: lavermil at gheek.net [mailto:lavermil at gheek.net] On Behalf Of Lance
Vermilion
Sent: Thursday, August 21, 2008 10:13 PM
To: Smirnoff Alexander
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] cisco syslog diff

 

the other option is to write some custom pieces to not include or modify
the command for dir to exclude things you don't want to include.

dir | e syslog

something like that. You may have to escape the |, you will need to mess
with it a little.

On Wed, Aug 20, 2008 at 11:19 PM, Smirnoff Alexander
<asmirnoff at gldn.net> wrote:

If I remove this command (dir) I lost other important changer , like ios
change. I mean about more intellectual rancid acknowledges behavior ,
then minor changes like syslog grow not cause email's.

 

________________________________

From: lavermil at gheek.net [mailto:lavermil at gheek.net] On Behalf Of Lance
Vermilion
Sent: Wednesday, August 20, 2008 12:11 AM
To: Smirnoff Alexander
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] cisco syslog diff

 

remove that command from what is checked in the rancid file under
<rancid home>/bin/

2008/8/19 Smirnoff Alexander <asmirnoff at gldn.net>

Hello!

 

How I can disable alerts on changing like this:

 

 

Index: configs/172.17.200.64

===================================================================

retrieving revision 1.12

diff -U 4 -r1.12 172.17.200.64

@@ -41,10 +41,10 @@

  !Flash:     7  drwx        4032  Feb 02 2005 05:17:01 +03:00  html

  !Flash:    21  -rwx         109  Feb 02 2005 05:09:06 +03:00  info

  !Flash:    22  -rwx         109  Feb 02 2005 05:18:09 +03:00  info.ver

  !Flash:   362  -rwx        6269  Aug 18 2008 10:50:57 +04:00
config.text

- !Flash:   363  -rwx      662228  Aug 19 2008 10:04:07 +04:00  syslog

- !Flash: 7741440 bytes total (2416640 bytes free)

+ !Flash:   363  -rwx      662626  Aug 19 2008 11:48:59 +04:00  syslog

+ !Flash: 7741440 bytes total (2416128 bytes free)

  !

  !Flash: nvram: Directory of nvram:/

  !Flash: nvram:    26  -rw-        6269                    <no date>
startup-config

  !Flash: nvram:    27  ----          26                    <no date>
private-config

 

When only syslog file size change?

 

-- 
Regards,
Alexandr Smirnov

 


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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20090811/de2696b4/attachment.html 


More information about the Rancid-discuss mailing list