NRPE v.2.15 set maximum output lenght
Re: NRPE v.2.15 set maximum output lenght
Hi.
I resolve this SSL handshake issue. It needs to compile NRPE both in server and client side
I resolve this SSL handshake issue. It needs to compile NRPE both in server and client side
Re: NRPE v.2.15 set maximum output lenght
Are we all set to close this thread?
Former Nagios employee
Re: NRPE v.2.15 set maximum output lenght
Great. How are the new payload sizes working out for you?michaelli wrote:Hi.
I resolve this SSL handshake issue. It needs to compile NRPE both in server and client side
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: NRPE v.2.15 set maximum output lenght
Hi abrist,
Thank your reply me so many questions.
I try to set define MAX_INPUT_BUFFER 16384 / 65536. The maximum characters are around 6000.
I think now the limitation is in SQL DB side. I think this value is acceptable but may be challenge by other team.
Thank your reply me so many questions.
I try to set define MAX_INPUT_BUFFER 16384 / 65536. The maximum characters are around 6000.
I think now the limitation is in SQL DB side. I think this value is acceptable but may be challenge by other team.
Re: NRPE v.2.15 set maximum output lenght
Sounds good - let us know if you have any further difficulties.
Re: NRPE v.2.15 set maximum output lenght
Hi abrist / jolson,
I had fixed linux nrpe maximum length.
But I don't have skill how to compile nrpe in AIX 5.3 / 6.1 and Soarlis 10 version. what package need to install for compile NRPE
In nagiosxi side, MAX_INPUT_BUFFER 65535.
I had fixed linux nrpe maximum length.
But I don't have skill how to compile nrpe in AIX 5.3 / 6.1 and Soarlis 10 version. what package need to install for compile NRPE
In nagiosxi side, MAX_INPUT_BUFFER 65535.
Re: NRPE v.2.15 set maximum output lenght
Hi abrist / jolson,
After I demo /var/log/messages can display to 6000 character in nagios to others team. Their comment is want to show more and more log.
I execute check_nrpe -H 172.31.8.198 -c check_logfiles in nagiosxi. It can display more then 10000 character. Therefore, I think this is limited in DB side.
Could you help to provide the command to set this log field can store 65535 character.
Some client can more then 1 log services. Does this apply to all service log fields?
After I demo /var/log/messages can display to 6000 character in nagios to others team. Their comment is want to show more and more log.
I execute check_nrpe -H 172.31.8.198 -c check_logfiles in nagiosxi. It can display more then 10000 character. Therefore, I think this is limited in DB side.
Could you help to provide the command to set this log field can store 65535 character.
Some client can more then 1 log services. Does this apply to all service log fields?
Re: NRPE v.2.15 set maximum output lenght
Try running the following to update the column sizes:
This will make the service and host list pages in XI look very . . . funky.
Code: Select all
echo "alter table nagios.nagios_servicestatus modify output varchar(50000);" | mysql -pnagiosxi
echo "alter table nagios.nagios_servicestatus modify long_output varchar(50000);" | mysql -pnagiosxi
echo "alter table nagios.nagios_servicestatus modify perfdata varchar(50000);" | mysql -pnagiosxi
echo "desc nagios.nagios_servicestatus" | mysql -t -pnagiosxi | grep "output\|perfdata"Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: NRPE v.2.15 set maximum output lenght
Hi abrist,
After apply your command and reboot nagios.
But it is not work. I generate 13 error messages. In nagios web, it shows 13th and 1 - 9th messages. 10 - 12th messages are missing
In nagios server, I run the command check_nrpe -H 172.31.8.198 -c check_logfiles manually. It can get all messages.
After apply your command and reboot nagios.
Code: Select all
[root@nagiosxi ~]# echo "alter table nagios.nagios_servicestatus modify output varchar(50000);" | mysql -pnagiosxi
echo "alter table nagios.nagios_servicestatus modify long_output varchar(50000);" | mysql -pnagiosxi
echo "alter table nagios.nagios_servicestatus modify perfdata varchar(50000);" | mysql -pnagiosxi
echo "desc nagios.nagios_servicestatus" | mysql -t -pnagiosxi | grep "output\|perfdata"[root@nagiosxi ~]# echo "alter table nagios.nagios_servicestatus modify long_output varchar(50000);" | mysql -pnagiosxi
[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 | |
[root@nagiosxi ~]#
In nagios server, I run the command check_nrpe -H 172.31.8.198 -c check_logfiles manually. It can get all messages.
Code: Select all
[root@nagiosxi libexec]# ./check_nrpe -H 172.31.8.198 -c check_logfiles
CRITICAL - (13 errors) - Jun 19 09:49:30 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 013 ...
tag /var/log/messages CRITICAL
Jun 19 09:49:02 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 001
Jun 19 09:49:04 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 002
Jun 19 09:49:06 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 003
Jun 19 09:49:08 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 004
Jun 19 09:49:10 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 005
Jun 19 09:49:14 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 006
Jun 19 09:49:16 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 007
Jun 19 09:49:18 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 008
Jun 19 09:49:20 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 009
Jun 19 09:49:23 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 010
Jun 19 09:49:25 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 011
Jun 19 09:49:27 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 012
[b]Jun 19 09:49:30 gssons02 root: ####<Jun 15, 2015 11:07:07 PM GMT+08:00> <Error> <HTTP> <cpspap11> <onl1-ms1b> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <44c8c11e970ceb1f:-cc987b4:14d780461e3:-7ff9-0000000000000936> <1434380827145> <BEA-101104> <Servlet execution in servlet context ServletContext@682766619[app:CPO_Service_WAR-R7_1_P02-C1 module:CP_Service_WAR-0.3.0.0-R7_1-20150505-P02.war path:/cplusservice spec-version:2.5] failed, java.io.IOException: Write Channel Closed. END 013[/b]
You do not have the required permissions to view the files attached to this post.
Re: NRPE v.2.15 set maximum output lenght
Is the output above the full output from the check?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.