Mercurial > routeflapper
diff routeflapper.conf @ 0:48d06780cf77
initial version
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 13 May 2008 14:03:10 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/routeflapper.conf Tue May 13 14:03:10 2008 -0700 @@ -0,0 +1,23 @@ + + +file "/var/log/bgp" { + reset "ADJCHANGE: neighbor .* Up" {}; + path " rcvd UPDATE w.* path (([0-9]| )*[0-9])" { + index_path 1; + }; + announce " rcvd (([0-9]|\.)*)/([0-9]*)$" { + index_value 1; + index_length 3; + }; + withdraw " rcvd UPDATE about (([0-9]|\.)*)/([0-9]*) -- withdrawn" { + index_value 1; + index_length 3; + }; +}; + +file "/var/log/maillog" { + ip "NOQUEUE: connect from.* \[(.*)\]" { + index_ip 1; + }; +}; +