Page 1 of 1

Status information size

Posted: Wed May 23, 2012 1:33 am
by tercat
Hi,

Is it posible to increase the size of the Status Information field within the web interface? I'm telling that because I'm doing a check and I'm not getting the whole result due to a limitation in this field.
If you see the attached images, you could see that I receive the whole message if I execute the check in the command line. In the other hand, I cannot see the whole message within Nagios.

Could you help to solve this issue?


Thanks and regards.

Re: Status information size

Posted: Wed May 23, 2012 11:36 am
by agriffin
Nagios plugins should only return one line of output. Any more than that and there's no guarantee of how it will be interpreted or displayed. Additionally, there are differing size limits on several of the components used in Nagios XI. The Nagios Core monitoring engine will only read 8K of output, including performance data. NDOUtils will only read 4K, not including performance data. Nagios XI has its own limit for display purposes which I can't remember right now, and I'm sure there are other components I'm forgetting about. It's a bit messy, but if you follow the developer guidelines you shouldn't run into problems under normal circumstances.

You could write the additional information to a web page somewhere and include the link (as notes_url) in your service definition.

Re: Status information size

Posted: Thu May 24, 2012 3:06 am
by tercat
Ok, thanks for the info.

;)

Re: Status information size

Posted: Fri May 25, 2012 9:40 am
by agriffin
You're welcome