diff options
Diffstat (limited to 'bgp-logger.org')
-rw-r--r-- | bgp-logger.org | 56 |
1 files changed, 38 insertions, 18 deletions
diff --git a/bgp-logger.org b/bgp-logger.org index ba0856d..e7dfc27 100644 --- a/bgp-logger.org +++ b/bgp-logger.org @@ -1,3 +1,19 @@ +* Running the programs +Should've been started by init: +- postgres + Should've been started by init. If not, do + sudo /etc/init.d/postgresql-8.3 start + +- BGPMon -- runs in foreground + cd ~linus/bgpmon && sudo ~frank/bgpmon_v6/bgpmon + +- bgpstore -- runs in foreground + sudo linus ~linus/start-bgpstore.sh victoria 50001 bgpstore bgpstore bgpstore localhost + +- psql -- for peeking in the database (pw = bgpstore) + psql -h localhost bgpstore bgpstore + +* BGPMon host: victoria.tug.nordu.net telnet localhost 50000 # CLI for the logger software, pw=nordunet @@ -16,28 +32,13 @@ Turns out that what they mailed Frank was actually 6.1, which is what we're running. The program (bpgmon) must be run as root since it uses source port 179 -for the BGP session with se-tug. I had to fix a syntax error in the -config file found in Franks home directory which looked like it +for the BGP session with se-tug. Also, I had to fix a syntax error in +the config file found in Franks home directory which looked like it should've read <LABEL_ACTION>1</LABEL_ACTION> -so now it does. - -* TODO -- [X] store timestamp and precision-time -- [X] store as-path -- [X] move to victoria -- [X] store nexthop -- [ ] store octets as binary, in separate table -- [ ] limit access to bgpmon stream (acl's) -- [ ] get an idea of disk footprint -- [ ] get an idea of RAM footprint -- [ ] get an idea of CPU load, sbcl and postgres -- [ ] auto-start on boot -- [ ] reconnect -- [ ] store bgp-octets as binary - +so now it does just that. * Running postgresql To start the server @@ -74,3 +75,22 @@ that one UPDATE message can result in more than one entry. - We also should store OCTETS in OCTET_MSG when TYPE is UPDATE (2). Just in case we find out that we missed something. This is the complete BGP message. +* TODO +- [X] store timestamp and precision-time +- [X] store as-path +- [X] move to victoria +- [X] store nexthop +- [ ] store octets as binary, in separate table +- [ ] limit access to bgpmon stream (acl's) +- [ ] get an idea of disk footprint +- [ ] get an idea of RAM footprint +- [ ] get an idea of CPU load, sbcl and postgres +- [ ] auto-start on boot +- [ ] reconnect +* bgpstore +Disk used (whole system) early morning 2009-06-26: 1781468 Kb. +| date | disk used (Kb) | RAM used (Kb) | +|------------------------+----------------+---------------| +| <2009-06-26 Fri 17:12> | 1822492 | 499964 | +| | | | + |