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

Diff for /nagios/check_openbgpd/README between version 1.2 and 1.6

version 1.2, 2009/11/19 18:25:58 version 1.6, 2021/01/31 21:14:21
Line 1 
Line 1 
 check_openbgpd - checks status of OpenBGPd peers  check_openbgpd - checks status of OpenBGPd peers
   
 The only real caveat is that bgpctl needs rw permission to /var/run/bgpd.sock.  check_openbgpd needs access to run "bgpctl show", this can be accomplished
 One way to allow for that is by adding an entry to /etc/sudoers and then  with a restricted socket set up for bgpd(8).
 making the check run sudo check_openbgpd.  
   
 This is an example of a setup for NRPE. For checks on the machine running  ${SYSCONFDIR}/bgpd.conf:
 Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course,  socket "/var/run/rbgpd.sock" restricted
 no ${SYSCONFDIR}/nrpe.cfg.  
    For more information on bgpd(8) see the OpenBSD man page.
 /etc/sudoers:  
 _nrpe ALL=NOPASSWD:${PREFIX}/libexec/nagios/check_openbgpd -w 1000\:300000 -c 100\:500000 -n peer1 peer2 peer3  
   
 ${SYSCONFDIR}/nrpe.cfg:  ${SYSCONFDIR}/nrpe.cfg:
 command[check_openbgpd]=/usr/bin/sudo ${PREFIX}/libexec/nagios/check_openbgpd -w 1000:300000 -c 100:500000 -n peer1 peer2 peer3  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.  For more information on bgpd(8) see the OpenBSD man page.
   
 http://www.openbsd.org  http://www.openbsd.org
   
 $RedRiver: README,v 1.1 2009/11/13 17:55:47 andrew Exp $  $AFresh1: README,v 1.5 2021/01/31 21:07:26 afresh1 Exp $

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

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