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/rc.conf.local:
bgpd_flags="-r /var/www/logs/bgpd.rsock"

/etc/nrpe.cfg:
command[check_openbgpd]=/usr/local/libexec/nagios/check_openbgpd -s /var/www/logs/bgpd.rsock -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.4 2015/03/25 02:23:07 andrew Exp $
