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

Annotation of nagios/check_openbgpd/README, Revision 1.2

1.1       andrew      1: check_openbgpd - checks status of OpenBGPd peers
                      2:
1.2     ! andrew      3: The only real caveat is that bgpctl needs rw permission to /var/run/bgpd.sock.
        !             4: One way to allow for that is by adding an entry to /etc/sudoers and then
        !             5: making the check run sudo check_openbgpd.
1.1       andrew      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:
1.2     ! andrew     21: $RedRiver: README,v 1.1 2009/11/13 17:55:47 andrew Exp $

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>