Page 3 of 4

Re: NRPE v.2.15 set maximum output lenght

Posted: Mon Jun 22, 2015 4:16 am
by michaelli
Hi abrist,

Yes. the full output in nagios CLI, you can see the full messages with "END 013" but in nagios web, it only display "END 009" which means 9 messages displayed.

From the below command result, How can we confirm the characters capacity set to 50000?

Code: Select all

[root@nagiosxi ~]# echo "alter table nagios.nagios_servicestatus modify perfdata varchar(50000);" | mysql -pnagiosxi
[root@nagiosxi ~]# echo "desc nagios.nagios_servicestatus" | mysql -t -pnagiosxi | grep "output\|perfdata"
| output                        | mediumtext   | YES  |     | NULL                |                |
| long_output                   | mediumtext   | YES  |     | NULL                |                |
| perfdata                      | mediumtext   | YES  |     | NULL                |                |
Any command for us to verify the content of field so that we can make some tracing for myself?

Re: NRPE v.2.15 set maximum output lenght

Posted: Mon Jun 22, 2015 10:07 am
by jdalrymple
I would say you're running into a NagiosXI limitation at this point, not an NRPE limitation. One thing I've noticed is that the first line of status output is limited to 255 characters. Beyond that I can only display about 6KB of information in longstatusoutput.

Do you really seek to display 50KB of information on your monitor? The use case seems quite narrow to me. 50KB of test would require a monitor resolution greater than 2560x1600 to display if the text went from border to border. If that's really what you'd like I suggest putting in a bug request at tracker.nagios.org.

Re: NRPE v.2.15 set maximum output lenght

Posted: Tue Jun 23, 2015 12:10 pm
by michaelli
Hi jdalrymple,

I will explain this situation to operation team for nagios limitation for 6k information. If now we set the 6K information for long output. Any concern to DB side? If yes, how can we housekeep to prevent DB grow unlimited. Because we located /usr/local/nagios in a 300G mount point.

Re: NRPE v.2.15 set maximum output lenght

Posted: Tue Jun 23, 2015 1:45 pm
by abrist
michaelli wrote:Any concern to DB side?
There is some, you may notice the affected tables growing very large over time. Also, it may slow down queries.
michaelli wrote:If yes, how can we housekeep to prevent DB grow unlimited.
Well, we do provide some performance tuning options in: Admin --> Performance Settings --> Databases. You will need to watch disk space usage for the path: /var/lib/mysql/nagios as that is where the database tables are located. If the tables are growing to a too large of size, you may need to tune the performance settings.

Re: NRPE v.2.15 set maximum output lenght

Posted: Thu Jun 25, 2015 2:37 am
by michaelli
Hi abrist,

I have report the issue as below link and not yet get any update.

https://tracker.nagios.com/view.php?id=735

Re: NRPE v.2.15 set maximum output lenght

Posted: Thu Jun 25, 2015 9:30 am
by tmcdonald
It may take some time for the developers to address this, and it is not guaranteed that it will be implemented. As pointed out it is somewhat of a narrow use case.

Also when filing bugs/features, please match the priority and severity to what the problem realistically is. Currently it is set to "Priority: Urgent" and "Severity: Major" - those settings are reserved for bugs that cause major outages or even damage to a system. I will be adjusting this feature request accordingly.

Re: NRPE v.2.15 set maximum output lenght

Posted: Thu Jul 02, 2015 1:45 am
by michaelli
Hi tmcdonald,

For Solaris 10 platform, we can complier the NRPE program. But in AIX 5.3 / 6.1, we don't have C compiler.

Could you help us to compile for below parameter

MAX_INPUT_BUFFER 65535

Thanks.

Re: NRPE v.2.15 set maximum output lenght

Posted: Thu Jul 02, 2015 9:09 am
by jdalrymple
You really need to compile this yourself. GCC is an open source compiler available for Solaris amongst a zillion other platforms. If we compiled it in-house there would be too many variables (OS version, std library versions etc) that could cause problems when you try to run it on your system.

https://www.google.com/?gws_rd=ssl#q=In ... on+solaris

Admittedly it's not as easy as yum install gcc - however if you're using Oracle Solaris I believe GCC is available in IPS.

Re: NRPE v.2.15 set maximum output lenght

Posted: Mon Jul 13, 2015 10:15 pm
by michaelli
Hi tmcdonald,

I cannot see any update for my post. Could you help to query your developer what is the status? It is because I have to update the issue to my manager.

https://tracker.nagios.com/view.php?id=735#bugnotes

Re: NRPE v.2.15 set maximum output lenght

Posted: Tue Jul 14, 2015 7:22 am
by jdalrymple
We don't push the developers, they prioritize things as they see fit. Right now they are working on 2 major upgrades to the commercial products. They won't be addressing community needs unless security related until after those releases. In your case there are no promises that they won't just deny the feature request. The nature of your request could lead to other performance issues for our customers with large deployments.

If you have an immediate need for code changes please contact sales for a custom development quote.

[email protected]