Smirnoff Alexander
2009-07-22 07:28:46 UTC
Hello all RANCID people!
I try to filter interface counters from output of Zyxel Prestige 791R ip route status :
- !IP ROUTE: default 01 0 mpoa01 172.17.100.1 2 00ab 0 409683
+ !IP ROUTE: default 01 0 mpoa01 172.17.100.1 2 00ab 0 412140
using these definitions:
if (/^(default)/)
{ ProcessHistory("","","","!IP ROUTE: default $1 $2$3 mpoa01 $5$6<___>\n") && next; }
but something wrong - i receive this:
!IP ROUTE: default default mpoa01 <___>
How I can correctly setup this filter?
I try to filter interface counters from output of Zyxel Prestige 791R ip route status :
- !IP ROUTE: default 01 0 mpoa01 172.17.100.1 2 00ab 0 409683
+ !IP ROUTE: default 01 0 mpoa01 172.17.100.1 2 00ab 0 412140
using these definitions:
if (/^(default)/)
{ ProcessHistory("","","","!IP ROUTE: default $1 $2$3 mpoa01 $5$6<___>\n") && next; }
but something wrong - i receive this:
!IP ROUTE: default default mpoa01 <___>
How I can correctly setup this filter?
--
Regards,
Alexandr Smirnov
+7(812)3468600 # 54682
Head of Data Transmission Networks Monitoring Service mailto:***@office.beeline.ru <mailto:***@office.beeline.ru>
Regards,
Alexandr Smirnov
+7(812)3468600 # 54682
Head of Data Transmission Networks Monitoring Service mailto:***@office.beeline.ru <mailto:***@office.beeline.ru>