[BACK]Return to README CVS log [TXT][DIR] Up to [local] / nagios / check_openbgpd

File: [local] / nagios / check_openbgpd / README (download)

Revision 1.1, Fri Nov 13 17:55:47 2009 UTC (14 years, 6 months ago) by andrew
Branch: MAIN

need one because it needs special perms again.  DOH!

check_openbgpd - checks status of OpenBGPd peers

The only real caveat with it is that bgpctl needs rw permission to
/var/run/bgpd.sock. One way to allow for that is by adding an entry to
/etc/sudoers and then making the check run sudo check_openbgpd.

This is an example of a setup for NRPE. For checks on the machine running
Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course,
no ${SYSCONFDIR}/nrpe.cfg.

/etc/sudoers:
_nrpe ALL=NOPASSWD:${PREFIX}/libexec/nagios/check_openbgpd -w 1000\:300000 -c 100\:500000 -n peer1 peer2 peer3

${SYSCONFDIR}/nrpe.cfg:
command[check_openbgpd]=/usr/bin/sudo ${PREFIX}/libexec/nagios/check_openbgpd -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

$RedRiver$