<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:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Cambria","serif";
color:#1F497D;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Cambria","serif";
color:#1F497D;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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><span style='font-family:"Cambria","serif";color:#1F497D'>As far as I am aware, the perfdata is correct?<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Cambria","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'>'F:'=194.62G;20;12;0;399.99;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'>| | | | | | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'>|----|--|-----|--|-|-|----- * label <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'> |--|-----|--|-|-|----- * current value<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'> |-----|--|-|-|----- unit ( UOM = UNIT of Measurement ) <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'> |--|-|-|----- warning threshold<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'> |-|-|----- critical threshold <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'> |-|----- minimum value <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:#1F497D'> |----- maximum value<o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Mirza Dedic <br><b>Sent:</b> June/28/2010 5:37 PM<br><b>To:</b> 'Nagios Users List'<br><b>Subject:</b> RE: [op5-users] Cannot get pnp4nagios graphs using NSClient++ & check_nrpe ?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><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><pre>The Oppenheimer Group ---- CONFIDENTIAL<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>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.<o:p></o:p></pre><pre><o:p> </o:p></pre></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.