Discussion:
[rancid] STACKID and Brocade
Gerhard Mourani
2015-03-10 15:10:29 UTC
Permalink
Hello,

On Rancid version 3.1, I’m still receiving lot of diff related to the following:

! 800 MHz ARM processor ARMv5TE, 400 MHz bus
! 65536 KB flash memory
! 512 MB DRAM
- ! STACKID 1 system uptime is 46 days 16 hours 20 minutes 22 seconds
+ ! STACKID 1 system uptime is 47 days 4 hours 20 minutes 20 seconds
! The system : started=warm start reloaded=by "reload"
!
! System Monitoring (Sysmon) is: enabled
! Sysmon timer = 3 minutes

On the foundry.pm file, there is a code line related to this to make it hide but seem to me that it doesn’t work!

# remove uptime on newer switches
s/(STACKID \d+)\s+system uptime is.*$/$1/;

Gerhard,
Jethro R Binks
2015-03-10 16:00:31 UTC
Permalink
Odd, it works OK for me, I get:

!MGMT: 800 MHz Power PC processor 8544E (version 0021/0022) 400 MHz bus
!MGMT:65536 KB flash memory
!MGMT: 256 MB DRAM
!STACKID 1
!STACKID 2
!My stack unit ID = 1, bootup role = active

You aren't getting the MGMT: prefix either. Are you sure these are
correctly declared as type foundry in router.db?

Jethro.
Post by Gerhard Mourani
Hello,
! 800 MHz ARM processor ARMv5TE, 400 MHz bus
! 65536 KB flash memory
! 512 MB DRAM
- ! STACKID 1 system uptime is 46 days 16 hours 20 minutes 22 seconds
+ ! STACKID 1 system uptime is 47 days 4 hours 20 minutes 20 seconds
! The system : started=warm start reloaded=by "reload"
!
! System Monitoring (Sysmon) is: enabled
! Sysmon timer = 3 minutes
On the foundry.pm file, there is a code line related to this to make it hide but seem to me that it doesn’t work!
# remove uptime on newer switches
s/(STACKID \d+)\s+system uptime is.*$/$1/;
Gerhard,
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
Gerhard Mourani
2015-03-10 17:09:59 UTC
Permalink
Yes, it’s declared correctly into router.db
Here the last email I’ve received about the problem. As we can see, time changed and because of that, I receive a new diff!

Index: configs/192.168.2.223
===================================================================
retrieving revision 1.393
diff -U 4 -r1.393 192.168.2.223
@@ -19,9 +19,9 @@
! ==========================================================================
! 800 MHz ARM processor ARMv5TE, 400 MHz bus
! 65536 KB flash memory
! 512 MB DRAM
- ! STACKID 1 system uptime is 47 days 4 hours 20 minutes 20 seconds
+ ! STACKID 1 system uptime is 47 days 16 hours 20 minutes 21 seconds
! The system : started=warm start reloaded=by "reload"
!
! System Monitoring (Sysmon) is: enabled
! Sysmon timer = 3 minutes

Gerhard,
Post by Jethro R Binks
!MGMT: 800 MHz Power PC processor 8544E (version 0021/0022) 400 MHz bus
!MGMT:65536 KB flash memory
!MGMT: 256 MB DRAM
!STACKID 1
!STACKID 2
!My stack unit ID = 1, bootup role = active
You aren't getting the MGMT: prefix either. Are you sure these are
correctly declared as type foundry in router.db?
Jethro.
Post by Gerhard Mourani
Hello,
! 800 MHz ARM processor ARMv5TE, 400 MHz bus
! 65536 KB flash memory
! 512 MB DRAM
- ! STACKID 1 system uptime is 46 days 16 hours 20 minutes 22 seconds
+ ! STACKID 1 system uptime is 47 days 4 hours 20 minutes 20 seconds
! The system : started=warm start reloaded=by "reload"
!
! System Monitoring (Sysmon) is: enabled
! Sysmon timer = 3 minutes
On the foundry.pm file, there is a code line related to this to make it hide but seem to me that it doesn’t work!
# remove uptime on newer switches
s/(STACKID \d+)\s+system uptime is.*$/$1/;
Gerhard,
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK
The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263._______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
James Bensley
2015-03-10 17:19:44 UTC
Permalink
Post by Gerhard Mourani
Hello,
! 800 MHz ARM processor ARMv5TE, 400 MHz bus
! 65536 KB flash memory
! 512 MB DRAM
- ! STACKID 1 system uptime is 46 days 16 hours 20 minutes 22 seconds
+ ! STACKID 1 system uptime is 47 days 4 hours 20 minutes 20 seconds
! The system : started=warm start reloaded=by "reload"
!
! System Monitoring (Sysmon) is: enabled
! Sysmon timer = 3 minutes
On the foundry.pm file, there is a code line related to this to make it hide but seem to me that it doesn’t work!
# remove uptime on newer switches
s/(STACKID \d+)\s+system uptime is.*$/$1/;
Gerhard,
I wrote a small patch a while ago which a few people have taken and
modified to their needs.

Its filters out some of the "non" changes from the update emails like
you have above...

http://null.53bits.co.uk/index.php?page=rancid-filter
Gerhard Mourani
2015-03-11 15:05:59 UTC
Permalink
Seem good to not being spammed by email with those diff but will still make them being pushed to CVS, so I’ll have lot of rev version for nothing.
Will try with latest 3.1.99 version of Rancid as suggested previously to see if this new one will fix it.

Gerhard,
Post by James Bensley
Post by Gerhard Mourani
Hello,
! 800 MHz ARM processor ARMv5TE, 400 MHz bus
! 65536 KB flash memory
! 512 MB DRAM
- ! STACKID 1 system uptime is 46 days 16 hours 20 minutes 22 seconds
+ ! STACKID 1 system uptime is 47 days 4 hours 20 minutes 20 seconds
! The system : started=warm start reloaded=by "reload"
!
! System Monitoring (Sysmon) is: enabled
! Sysmon timer = 3 minutes
On the foundry.pm file, there is a code line related to this to make it hide but seem to me that it doesn’t work!
# remove uptime on newer switches
s/(STACKID \d+)\s+system uptime is.*$/$1/;
Gerhard,
I wrote a small patch a while ago which a few people have taken and
modified to their needs.
Its filters out some of the "non" changes from the update emails like
you have above...
http://null.53bits.co.uk/index.php?page=rancid-filter
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...