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.

Any help would be appreciated.

The Oppenheimer Group ---- CONFIDENTIAL



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.



The Oppenheimer Group ---- CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to