Re: Nagios plugin for checking OpenBGPd-Peers

2007-02-15 Thread Henning Brauer
* Falk Brockerhoff - smartTERRA GmbH [EMAIL PROTECTED] [2007-02-14 22:24]:
 has anybody wrote a nagios plugin to check the presence of some 
 specified bgp-peers set up with openbgpd?

not that I am aware of; but I have kind of prepared it :)

the way to go is pbly:
-restricted control socket (bgpd -r)
-use bgpctl show summary terse (use restricted socket of course), this 
 is made to be easily parsable
-us a superserver like inetd to run the above on some weird port that 
 your firewall so only you nagios host(s) can reach it

rest is straightforward. could pbly also use nrpe on the router and 
have it run the above bgpctl command; I don't trust nagios + nrpe code 
too much tho (now, that was very nicely and diplomatic put, no?)

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Nagios plugin for checking OpenBGPd-Peers

2007-02-14 Thread Falk Brockerhoff - smartTERRA GmbH

Hello,

has anybody wrote a nagios plugin to check the presence of some 
specified bgp-peers set up with openbgpd? In the past I used check_bgp 
in combination with cisco routers, which checks the peer-state via snmp.


Regards,

Falk