Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
the check_result_dir in nrdp matches check_result_path in nagios.cfg and it has a bunch of zero length files in it. However, we are not using var/spool/perfdata. Is that required for nrdp?
# This determines whether or not Nagios will process performance
# data returned from service and host checks. If this option is
# enabled, host performance data will be processed using the
# host_perfdata_command (defined below) and service performance
# data will be processed using the service_perfdata_command (also
# defined below). Read the HTML docs for more information on
# performance data.
# Values: 1 = process performance data, 0 = do not process performance data
process_performance_data=0
# HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS
# These commands are run after every host and service check is
# performed. These commands are executed only if the
# enable_performance_data option (above) is set to 1. The command
# argument is the short name of a command definition that you
# define in your host configuration file. Read the HTML docs for
# more information on performance data.
#host_perfdata_command=process-host-perfdata
#service_perfdata_command=process-service-perfdata
# HOST AND SERVICE PERFORMANCE DATA FILES
# These files are used to store host and service performance data.
# Performance data is only written to these files if the
# enable_performance_data option (above) is set to 1.
#host_perfdata_file=/usr/local/nagios4/var/host-perfdata
#service_perfdata_file=/usr/local/nagios4/var/service-perfdata
That is the only directory currently being read in.
Also, can you provide the host definition for your "alex" passive host, and it's service definitions?
Are you still getting timeout's after 0.00 seconds in the nagios log? Is this only for the Alex host and it's services? Do you have other NRDP passive results coming in properly? Thanks!
Yes, all configs are in that directory. There are 24 files, so I didn't want to list them all.
I've been testing using the localhost/nrdp webpage and I've been using Alex and one of it's services for testing, but I just now tried it with a bunch of other hosts and nothing is coming through. Here is the definitions for the host and the service that I've been testing. (I can get nsca to work fine for this host and services).
And no, I'm not getting the timeout error anymore.
Are there things like that present in the working host config file, that are not in the other host config files? I want to see if one of the configs would be causing it to work.