SERVICEPERFDATA output is only 255 char long on Nagios 3.0.1

Silva, Jorge jorge.silva at nbf.ca
Mon May 5 18:15:30 CEST 2008


Hi

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 - 

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

- when I look at the output in the from the
/usr/local/nagios/libexec/process_perfdata.pl ( the script provided with pnp
0.44) 

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
da-Write=4358.13B sdb-busy=0.00%;80;95 sdb-RIOP=0.01 sdb-Read=0.00B
sdb-WIOP=0.00 sdb-Write=

- 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

- I have looked in the $LONGHOSTOUTPUT$ and $LONGSERVICEOUTPUT$  and these
are empty

- if I run this check using nrpe, then I get the full and correct output.

Any ideas?


****************************************************************************************
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 cau
 sé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.
****************************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080505/d8df0142/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list