Page 1 of 1

[Nagios-devel] SERVICEPERFDATA output is only 255 char long on

Posted: Mon May 05, 2008 8:18 am
by Guest
------_=_NextPart_001_01C8AECB.3D26D866
Content-Type: text/plain;
charset="iso-8859-1"

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 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.
****************************************************************************************


------_=_NextPart_001_01C8AECB.3D26D866
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






SERVICEPERFDATA output is only 255 char long on Nagios 3.0.1=




Hi


I recently installed the latest release of=
nagios-3.0.1.  I am using pnp to graph performance data, the output f=
rom a Perl module that I wrote has multi  line output -

OK - Pct Bu

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]