NSClient++ Help (#1) - check_nrpe & NSClient 0.3.8 = invalid perfdata ?? [SOLVED] (#609) - Message List

check_nrpe & NSClient 0.3.8 = invalid perfdata ?? [SOLVED]

Checking disk space using NSClient++ (NRPE) and check_nrpe (2.12), trying to get RRD graphs (pnp4nagios):

Configuration:

NSClient++ v.0.3.8.76 (2010-05-27 x64) Check_nrpe 2.12 Nagios Merlin 0.6.7-beta2sp1 Nagios 3.2.1 Ninja 1.0 PNP 0.4.14 RRDTool 1.2.19

Error log in perfdata.log:

2010-06-28 16:10:39 [16465] [1] process_perfdata.pl-0.4.14 starting in DEFAULT Mode
2010-06-28 16:10:39 [16465] [1] Found Performance Data for van-mail01 / DISK__F ('F: %'=52%;5;3; 'F:'=194.62G;20;12;0;399.99;)
2010-06-28 16:10:39 [16465] [1] Invalid Perfdata detected
2010-06-28 16:10:39 [16465] [1] PNP exiting (runtime 0.00175s) ...

Perfdata has been enabled in nagios.cfg

process_performance_data=1

host_perfdata_command=process-host-perfdata

service_perfdata_command=process-service-perfdata

host_perfdata_file_mode=a

service_perfdata_file_mode=a

Also, my commands for perfdata:

define command {

command_name process-service-perfdata

command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl

}

define command {

command_name process-host-perfdata

command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA

}

Finally, the command configuration for the service:

define command{

Command_name check_nrpe_disk command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u -n -p XXXXX -t 30 -c CheckDriveSize -a ShowAll MinWarnFree?=$ARG2$ MinCritFree?=$ARG3$ Drive="$ARG1$"

}

I recently switched from check_nt to check_nrpe, and I removed my .xml and .rrd files from the service checks that got switched from nt to nrpe.

Shouldn’t the pnp4nagios use the default.php to create the perfdata output? I don’t see how the performance data is invalid? I can confirm that the RRD graphs work for other services, such as ping.

  • Message #1895

    Fixed in latest nightly... (I hope)

    Michael Medin

Subscriptions