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
Perfdata maximum length?
Re: Perfdata maximum length?
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?
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
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?
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.
I honestly don't know why this would be unless it is something in the plugin.
-
Ton Verstegen
- Posts: 8
- Joined: Thu Jul 26, 2012 8:10 am
Re: Perfdata maximum length?
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
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