diff options
author | Gabriel Filion <gabriel@koumbit.org> | 2011-11-07 12:07:28 -0500 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2012-04-10 00:09:15 -0400 |
commit | 8f24f259caa75f78ed501377c95c0a6fab0ebb11 (patch) | |
tree | fba508140fdb75b251f3da838646c997978adff9 /templates/nrpe | |
parent | b956d666681ccf20f70be65c3b57aa77928a9be9 (diff) |
Fix NRPE for FreeBSD
Plugins are found under another directory.
The pid file must be changed to /var/spool/nagios/nrpe2.pid, since this
place is writable by the daemon, and the rc script expects the pid file
to be found there.
Use a pattern instead of the rc script status command.
Diffstat (limited to 'templates/nrpe')
-rw-r--r-- | templates/nrpe/nrpe.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/nrpe/nrpe.cfg b/templates/nrpe/nrpe.cfg index b666e42..5368bc8 100644 --- a/templates/nrpe/nrpe.cfg +++ b/templates/nrpe/nrpe.cfg @@ -16,7 +16,7 @@ # number. The file is only written if the NRPE daemon is started by the root # user and is running in standalone mode. -pid_file=/var/run/nrpe.pid +pid_file=<%= nagios_nrpe_pid_file %> |