<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Checking disk space using NSClient++ (NRPE) and check_nrpe (2.12), trying to get RRD graphs (pnp4nagios):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Configuration:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>NSClient++ v.0.3.8.76 (2010-05-27 x64)<o:p></o:p></p><p class=MsoNormal>Check_nrpe 2.12<o:p></o:p></p><p class=MsoNormal>Nagios <o:p></o:p></p><p class=MsoNormal>Merlin 0.6.7-beta2sp1<o:p></o:p></p><p class=MsoNormal>Nagios 3.2.1<o:p></o:p></p><p class=MsoNormal>Ninja 1.0<o:p></o:p></p><p class=MsoNormal>PNP 0.4.14<o:p></o:p></p><p class=MsoNormal>RRDTool 1.2.19<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Error log in perfdata.log:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>2010-06-28 16:10:39 [16465] [1] process_perfdata.pl-0.4.14 starting in DEFAULT Mode<o:p></o:p></b></p><p class=MsoNormal>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;) <o:p></o:p></p><p class=MsoNormal><b>2010-06-28 16:10:39 [16465] [1] Invalid Perfdata detected <o:p></o:p></b></p><p class=MsoNormal>2010-06-28 16:10:39 [16465] [1] PNP exiting (runtime 0.00175s) ...<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>Perfdata has been enabled in nagios.cfg<o:p></o:p></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>process_performance_data=1<o:p></o:p></p><p class=MsoNormal>host_perfdata_command=process-host-perfdata<o:p></o:p></p><p class=MsoNormal>service_perfdata_command=process-service-perfdata<o:p></o:p></p><p class=MsoNormal>host_perfdata_file_mode=a<o:p></o:p></p><p class=MsoNormal>service_perfdata_file_mode=a<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>Also, my commands for perfdata:<o:p></o:p></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>define command {<o:p></o:p></p><p class=MsoNormal> command_name process-service-perfdata<o:p></o:p></p><p class=MsoNormal> command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl<o:p></o:p></p><p class=MsoNormal>}<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>define command {<o:p></o:p></p><p class=MsoNormal> command_name process-host-perfdata<o:p></o:p></p><p class=MsoNormal> command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA<o:p></o:p></p><p class=MsoNormal>}<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>Finally, the command configuration for the service:<o:p></o:p></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>define command{<o:p></o:p></p><p class=MsoNormal> command_name check_nrpe_disk<o:p></o:p></p><p class=MsoNormal> command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u -n -p XXXXX -t 30 -c CheckDriveSize -a ShowAll MinWarnFree=$ARG2$ MinCritFree=$ARG3$ Drive="$ARG1$"<o:p></o:p></p><p class=MsoNormal>}<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any help would be appreciated.<o:p></o:p></p></div></body></html>
<pre>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.