Annotation of nagios/check_openbgpd/README, Revision 1.1
1.1 ! andrew 1: check_openbgpd - checks status of OpenBGPd peers
! 2:
! 3: The only real caveat with it is that bgpctl needs rw permission to
! 4: /var/run/bgpd.sock. One way to allow for that is by adding an entry to
! 5: /etc/sudoers and then making the check run sudo check_openbgpd.
! 6:
! 7: This is an example of a setup for NRPE. For checks on the machine running
! 8: Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course,
! 9: no ${SYSCONFDIR}/nrpe.cfg.
! 10:
! 11: /etc/sudoers:
! 12: _nrpe ALL=NOPASSWD:${PREFIX}/libexec/nagios/check_openbgpd -w 1000\:300000 -c 100\:500000 -n peer1 peer2 peer3
! 13:
! 14: ${SYSCONFDIR}/nrpe.cfg:
! 15: command[check_openbgpd]=/usr/bin/sudo ${PREFIX}/libexec/nagios/check_openbgpd -w 1000:300000 -c 100:500000 -n peer1 peer2 peer3
! 16:
! 17: For more information on bgpd(8) see the OpenBSD man page.
! 18:
! 19: http://www.openbsd.org
! 20:
! 21: $RedRiver$
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>