On 2009/11/18 13:12, Andrew Fresh wrote: > I finally stopped slacking for a little while and made a Nagios check > OpenBGPd peers. > > (it was fun, I got to use some of the new perl 5.10 features) > > http://monitoringexchange.org/inventory/Check-Plugins/Software/Misc/check_openbgpd > > It has been monitoring my three OpenBGPd boxes for several days now, but > the testing has been limited.
nice :-) a couple of things I think it really needs: - allow the socket to be specified (bgpctl -r), for people who want to use the r/o socket or people running multiple daemons - handle the output format with max-prefix in use e.g. testpeer 41103 403389 34611 0 01:17:35 299345/500000 also I have a short wish-list if you're interested and have time to add more features: - option to change the alarm given when a peer exists in the bgpctl output but not on the command line (none/warn/critical) - alarm if > X% of max-prefix paths are received. e.g. warn if you get 75/100, critical if you get 90/100. very useful for IX-facing routers and it would be really nice if this could work automatically for all peers, rather than having to list them one-by-one. - maybe a check for nexthops too...I imagine it would be saner done as a separate script though.
