Page 1 of 1
Long lines in alert log cause clipping
Posted: Tue Nov 27, 2012 3:57 am
by tay9000
Hello, please see the attached screenshot. I have an HTTP probe checking a URL with a long string and this is causing the lines to do something funky and end up indenting. Is there a way to shorten the length of what is displayed in the alert log or is there another viable solution? Thanks in advance!
Re: Long lines in alert log cause clipping
Posted: Tue Nov 27, 2012 3:46 pm
by jsmurphy
The indenting thing appeared in Nagios a few versions ago... I believe the point of it was to easily identify related state changes in the log files. To the best of my knowledge there is no way to turn this feature off. There is also no way that I know of for truncating the display of the log files.
Beyond aesthetics is there a reason that this is a problem?
Re: Long lines in alert log cause clipping
Posted: Wed Nov 28, 2012 2:32 am
by tay9000
I do not think this is a feature. Look what happens when I increase the width of my browser window. The problem with the long lines goes away. However, I don't like having my browser fully extended...
Re: Long lines in alert log cause clipping
Posted: Wed Nov 28, 2012 1:19 pm
by slansing
I believe what you are seeing is the browser trying to constrain the fields within to the current size of it's window. I really do not believe there is a way around this, have you tried with a different browser? Perhaps the conventions are different. One way this could be changed would be editing the css files regarding this.
Re: Long lines in alert log cause clipping
Posted: Wed Nov 28, 2012 4:36 pm
by jsmurphy
Well that will learn me to make assumptions.

Re: Long lines in alert log cause clipping
Posted: Thu Nov 29, 2012 2:51 am
by tay9000
slansing wrote:have you tried with a different browser?
You're right. The problem exists in Chrome but not Firefox. I submit a bug report to Chrome. Hopefully it gets fixed... if they even see it as a problem.