Search found 8 matches
- Wed Jan 07, 2015 8:17 am
- Forum: Nagios XI
- Topic: Upgraded to Nagios XI 2014R2.0: newline problem
- Replies: 13
- Views: 1564
Re: Upgraded to Nagios XI 2014R2.0: newline problem
You got it! Most languages intended for real string processing will do that straight away, bash not so much. Oh yeah! That works for me, thanks 8-) Didnt know this about bash and the -e option. Now I wonder how its possible that it was formatted ok before. Why did the behaviour change by the Nagios...
- Tue Jan 06, 2015 5:32 am
- Forum: Nagios XI
- Topic: Upgraded to Nagios XI 2014R2.0: newline problem
- Replies: 13
- Views: 1564
Re: Upgraded to Nagios XI 2014R2.0: newline problem
This is really getting interesting: your perl-script works ! But most of my scripts are written for bash and they don't. The output is ok if I do separate echo's like: echo "OK - ${UITVOER}|${UITVOERPERF}" echo "<pre>" echo "This is line 1." echo "This is line 2.&q...
- Mon Jan 05, 2015 6:35 am
- Forum: Nagios XI
- Topic: Upgraded to Nagios XI 2014R2.0: newline problem
- Replies: 13
- Views: 1564
Re: Upgraded to Nagios XI 2014R2.0: newline problem
I saw the fix as well. It has been fixed in 4.0.7 and I am using 4.0.8 (checked it again). => Summary: Nagios 4.0.5 no longer honors \n as a separator for summary and detail data for passive checks => reported on 22-05-2014 by .... jwelch And yes, we use a lot of self written checks/plugins that use...
- Mon Jan 05, 2015 4:14 am
- Forum: Nagios XI
- Topic: Upgraded to Nagios XI 2014R2.0: newline problem
- Replies: 13
- Views: 1564
Re: Upgraded to Nagios XI 2014R2.0: newline problem
@jwelch and tgriep: The problem occurs with every check, not just one. And it shows in all the NagiosXI-screens. See the attachment for screen prints of the problem. There you can see how the "\n" is not being used as a new line sequence anymore. Btw: I did not change anything in the confi...
- Fri Jan 02, 2015 6:05 am
- Forum: Nagios XI
- Topic: Upgraded to Nagios XI 2014R2.0: newline problem
- Replies: 13
- Views: 1564
Upgraded to Nagios XI 2014R2.0: newline problem
Hi, after upgrading from Nagios XI 2012R2.7 to Nagios XI 2014R2.0 I experience the following problem. Most of our check-output is in multiline-format, lines being separated by "\n". This worked like a charm until the upgrade. Why? I've searched the Forums for this and checked logfiles, but...
- Mon Sep 03, 2012 2:48 am
- Forum: Nagios XI
- Topic: Perfdata maximum length?
- Replies: 4
- Views: 1430
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
- Fri Aug 31, 2012 2:21 am
- Forum: Nagios XI
- Topic: Perfdata maximum length?
- Replies: 4
- Views: 1430
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 ...
- Thu Aug 30, 2012 8:54 am
- Forum: Nagios XI
- Topic: Perfdata maximum length?
- Replies: 4
- Views: 1430
Perfdata maximum length?
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? T...