check_openbgpd - checks status of OpenBGPd peers

check_openbgpd needs access to run "bgpctl show", this can be accomplished
with a restricted socket set up for bgpd(8).

/etc/bgpd.conf:
socket "/var/run/rbgpd.sock" restricted
 
 For more information on bgpd(8) see the OpenBSD man page.
 
/etc/nrpe.cfg:
command[check_openbgpd]=/usr/local/libexec/nagios/check_openbgpd -s /var/run/rbgpd.sock -w 1000:300000 -c 100:500000 -n peer1 peer2 peer3

For more information on bgpd(8) see the OpenBSD man page.

http://www.openbsd.org

$AFresh1: README,v 1.6 2021/01/31 21:14:21 afresh1 Exp $
