NRPE error messages on my client


#1

Help,

I’m getting a bunch of nrpe error messages on the client (/var/log/messages) that I’ve install NRPE and Nagios plugin.

Feb 22 10:10:31 server-name nrpe[4336]: Continuing with errors...
Feb 22 10:10:31 server-name nrpe[4336]: Could not open config directory '<somedirectory>' for reading.
Feb 22 10:10:31 server-name nrpe[4336]: Continuing with errors...
Feb 22 10:10:31 server-name xinetd[6678]: START: nrpe pid=4336 from=server ip
Feb 22 10:10:31 server-name xinetd[6678]: EXIT: nrpe status=0 pid=4336 duration=0(sec)
Feb 22 10:10:34 server-name nrpe[4343]: Unable to open config file '<somefile.cfg>' for reading

Looking into the nrpe.cfg on the client side, could I just comment out the 2 lines that says:

# INCLUDE CONFIG FILE
# This directive allows you to include definitions from an external config file.

include=<somefile.cfg>

# INCLUDE CONFIG DIRECTORY
# This directive allows you to include definitions from config files (with a
# .cfg extension) in one or more directories (with recursion).

include_dir=<somedirectory>
#include_dir=<someotherdirectory>

Thanks in advance.