[Logwatch] Sorting of Cisco output (7.3.4)

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue Feb 20 00:02:13 MST 2007


Hi,

I noticed that sorting the output of the Cisco plugin is a bit odd:

  --------------------- cisco Begin ------------------------

  Device configured by :
     anfalas:
         Configured from vty1 by blacklist at ^\192.0.2.21
(aragorn.hugo.vanderkooij.org)  : 3 Time(s)
         Configured from vty0 by blacklist at ^\192.0.2.21
(aragorn.hugo.vanderkooij.org)  : 68 Time(s)
         Configured from vty2 by blacklist at ^\192.0.2.21
(aragorn.hugo.vanderkooij.org)  : 1 Time(s)

  Device config changes :
     anfalas: 1324 Time(s)

  Access Control Lists:
     ipv4-inet-in : 34340 Hit(s)
     ipv6-inet-in/190 : 23 Hit(s)
     ipv6-inet-in/210 : 162 Hit(s)
     ipv6-inet-in/230 : 10124 Hit(s)
     ipv6-inet-in/290 : 5 Hit(s)
     ipv6-inet-in/40 : 104292 Hit(s)
     ipv6-inet-in/60 : 19 Hit(s)
     Total : 34340 Hit(s)
     IPv6 Total : 114625 Hit(s)

......

I understand why it sorts that way. But is there a sort option to get the 
numerical part of the ACL in the proper order?

Hugo.


-- 
 	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
 	    This message is using 100% recycled electrons.


More information about the Logwatch mailing list