<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>SERVICEPERFDATA output is only 255 char long on Nagios 3.0.1</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I recently installed the latest release of nagios-3.0.1.  I am using pnp to graph performance data, the output from a Perl module that I wrote has multi  line output - </FONT></P>

<P><FONT SIZE=2 FACE="Arial">OK - Pct Busy ( C>90% W>80% ) : sda - 0.2% sdb - 0.0% sdc - 3.4% sdd - 0.5% sde - 0.0% sdf - 0.6% |sda-busy=0.21%;80;90 sda-RIOP=0.06 sda-Read=0.00B sda-WIOP=0.53 sda-Write=4483.52B sdb-busy=0.04%;80;90 sdb-RIOP=0.04 sdb-Read=0.00B sdb-WIOP=0.39 sdb-Write=0.00B sdc-busy=3.39%;80;90 sdc-RIOP=0.03 sdc-Read=0.00B sdc-WIOP=0.26 sdc-Write=155649.73B sdd-busy=0.47%;80;90 sdd-RIOP=0.30 sdd-Read=0.00B sdd-WIOP=3.64 sdd-Write=4694.93B sde-busy=0.04%;80;90 sde-RIOP=0.02 sde-Read=0.00B sde-WIOP=0.45 sde-Write=6.74B sdf-busy=0.61%;80;90 sdf-RIOP=0.06 sdf-Read=0.00B sdf-WIOP=1.14 sdf-Write=12860.26B</FONT></P>

<P><FONT SIZE=2 FACE="Arial">- when I look at the output in the from the /usr/local/nagios/libexec/process_perfdata.pl ( the script provided with pnp 0.44)</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">2008-05-05 09:31:43 [15907] DEBUG: SERVICEPERFDATA -> sda-busy=0.16%;80;95 sda-RIOP=0.01 sda-Read=0.00B sda-WIOP=0.00 s</FONT>
<BR><FONT SIZE=2 FACE="Arial">da-Write=4358.13B sdb-busy=0.00%;80;95 sdb-RIOP=0.01 sdb-Read=0.00B sdb-WIOP=0.00 sdb-Write=</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">- it looks as though the above line is being truncated to 255 chars long, also when I look in the status page I see that the text is being tuncated to this length</FONT></P>

<P><FONT FACE="Arial">- I have looked in the $LONGHOSTOUTPUT$ and $LONGSERVICEOUTPUT$  and these are empty</FONT>
</P>

<P><FONT FACE="Arial">- if I run this check using nrpe, then I get the full and correct output.</FONT>
</P>

<P><FONT FACE="Arial">Any ideas?</FONT>
</P>

<br clear=all> ****************************************************************************************
AVIS DE NON-RESPONSABILITÉ: Ce document transmis par courrier électronique est destiné uniquement à la personne ou à l'entité à qui il est adressé et peut contenir des renseignements confidentiels et assujettis au secret professionnel. La confidentialité et le secret professionnel demeurent malgré l'envoi de ce document à la mauvaise adresse électronique. Si vous n'êtes pas le destinataire visé ou la personne chargée de remettre ce document à son destinataire, veuillez nous en informer sans délai et détruire ce document ainsi que toute copie qui en aurait été faite. Toute distribution, reproduction ou autre utilisation de ce document est strictement interdite. De plus, le Groupe Financière Banque Nationale et ses filiales ne peuvent pas être tenus responsables des dommages pouvant être causés par des virus ou des erreurs de transmission.                                                                                                                                                                                                                                                                                                       DISCLAIMER: This documentation transmitted by electronic mail is intended for the use of the individual to whom or the entity to which it is addressed and may contain information which is confidential and privileged. Confidentiality and privilege are not lost by this documentation having been sent to the wrong electronic mail address. If you are not the intended recipient or the person responsible for delivering it to the intended recipient please notify the sender immediately and destroy this document as well as any copies of it. Any distribution, reproduction or other use of this document is strictly prohibited. National Bank Financial Group and its affiliates cannot be held liable for any damage that may be caused by viruses or transmission errors.
****************************************************************************************
</BODY>
</HTML>