version 1.2, 2009/11/09 18:37:07 |
version 1.3, 2009/11/09 20:02:14 |
|
|
|
|
This is an example of a setup for NRPE. For checks on the machine running |
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, |
Nagios, use the _nagios user in /etc/sudoers instead of _nrpe, and of course, |
no /etc/nrpe.cfg. |
no ${SYSCONFDIR}/nrpe.cfg. |
|
|
/etc/sudoers: |
/etc/sudoers: |
_nrpe ALL = NOPASSWD:${PREFIX}/nagios/check_bioctl -d ami0 |
_nrpe ALL = NOPASSWD:${PREFIX}/libexec/nagios/check_bioctl -d ami0 |
|
|
/etc/nrpe.cfg: |
/etc/nrpe.cfg: |
command[check_bioctl]=/usr/bin/sudo ${PREFIX}/nagios/check_bioctl -d ami0 |
command[check_bioctl]=/usr/bin/sudo ${PREFIX}/libexec/nagios/check_bioctl -d ami0 |
|
|
For more information on bioctl(8) see the OpenBSD man page. |
For more information on bioctl(8) see the OpenBSD man page. |
|
|
http://www.openbsd.org |
http://www.openbsd.org |
|
|
$RedRiver: README,v 1.1 2009/11/09 17:56:36 andrew Exp $ |
$RedRiver: README,v 1.2 2009/11/09 18:37:07 andrew Exp $ |