Mercurial > routeflapper
annotate routeflapper.conf @ 8:69a5dcf953df default tip
routeflapper runs as root to read the log files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 04 Sep 2014 08:57:50 -0700 |
parents | 48d06780cf77 |
children |
rev | line source |
---|---|
0 | 1 |
2 | |
3 file "/var/log/bgp" { | |
4 reset "ADJCHANGE: neighbor .* Up" {}; | |
5 path " rcvd UPDATE w.* path (([0-9]| )*[0-9])" { | |
6 index_path 1; | |
7 }; | |
8 announce " rcvd (([0-9]|\.)*)/([0-9]*)$" { | |
9 index_value 1; | |
10 index_length 3; | |
11 }; | |
12 withdraw " rcvd UPDATE about (([0-9]|\.)*)/([0-9]*) -- withdrawn" { | |
13 index_value 1; | |
14 index_length 3; | |
15 }; | |
16 }; | |
17 | |
18 file "/var/log/maillog" { | |
19 ip "NOQUEUE: connect from.* \[(.*)\]" { | |
20 index_ip 1; | |
21 }; | |
22 }; | |
23 |