Perfdata maximum length?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Ton Verstegen
Posts: 8
Joined: Thu Jul 26, 2012 8:10 am

Perfdata maximum length?

Post by Ton Verstegen »

Hi,
we are using Nagios XI 2011R2.4 and NagVis.

We have a lot of plugins active, performing checks on a lot of hosts and everything seems to be working fine. Except:....
when the return-string with perfdata contains more than 300 characters, it gets truncated !!

Does anybody know why this happens?

Thnx in advance,
Ton
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Perfdata maximum length?

Post by mguthrie »

My guess is that it's only getting truncated in the UI unless it's longer than 8k. Where are you seeing the truncated data?
Ton Verstegen
Posts: 8
Joined: Thu Jul 26, 2012 8:10 am

Re: Perfdata maximum length?

Post by Ton Verstegen »

You're right about the UI, it cuts the outputstring.
But if I perform the check at the prompt of the Nagios-server, it is also truncated.

Could it be a setting of the CentOs-server?
Or the length of a variable in the plugin-scripts?

(I've tested check_oracle and my own script checking the bandwidth of numerous ports in swithes)

Ton
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Perfdata maximum length?

Post by scottwilkerson »

When performing the check from the command line, what amount of chars are you getting before truncation.

I honestly don't know why this would be unless it is something in the plugin.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Ton Verstegen
Posts: 8
Joined: Thu Jul 26, 2012 8:10 am

Re: Perfdata maximum length?

Post by Ton Verstegen »

The tests I performed just now, give me the total (long) outputstring!
I musted have been fooled by the truncation of the UI.
Maybe in combination with an error in the source of the plugin...

Thanks for helping me,

Ton
Locked