[rancid] ProcessHistory filter

Smirnoff Alexander asmirnoff at office.beeline.ru
Wed Jul 22 07:28:46 UTC 2009


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? 

 

 

 

 

-- 
Regards,
Alexandr Smirnov
+7(812)3468600 # 54682
Head of Data Transmission Networks Monitoring Service                        mailto:asmirnoff at office.beeline.ru <mailto:asmirnoff at office.beeline.ru> 

 

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


More information about the Rancid-discuss mailing list