Hi,
Is there a way to increase the plugin output size to 4kb and More?I can see a post in the forum that a bug is reported for the same.
Is that bug fixed now ?I tried to do the changes to common.h file but no luck.After compiling I am getting Error:0 byted received.
Any help is appreciated.Thanks in Advance.
Plugin Output Size limiting to 1 KB
Re: Plugin Output Size limiting to 1 KB
Where are you seeing the output truncated?
If you're referring to the status displayed in XI. This link outlines how to do so - https://support.nagios.com/kb/article.php?id=478
If you're referring to the status displayed in XI. This link outlines how to do so - https://support.nagios.com/kb/article.php?id=478
Former Nagios Employee
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
We have a log file monitoring with check_log3 and .any output that exceed 1KB is not showing up in the Service output
Re: Plugin Output Size limiting to 1 KB
Did you take a look at the link provided by @rkennedy above? That shows how to expand the database tables to allow for longer status output. Bear in mind this will only affect new results going forward, not previous results.
Former Nagios employee
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
My question was rather wrong.
Actually I need to increase the NRPE agent output from 1 KB to 4KB .
Actually I need to increase the NRPE agent output from 1 KB to 4KB .
Re: Plugin Output Size limiting to 1 KB
What is the NSClient++ version that you are currently using? Can you post the nsclient.ini file?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
Its NRPE agent running on SLES 12
Re: Plugin Output Size limiting to 1 KB
What version of NRPE are you running? I believe only the version that will support 4k is going to be NRPE RC.
Former Nagios Employee
Re: Plugin Output Size limiting to 1 KB
This is correct:rkennedy wrote:What version of NRPE are you running? I believe only the version that will support 4k is going to be NRPE RC.
https://github.com/NagiosEnterprises/nr ... d26b3d300d
Former Nagios employee
Re: Plugin Output Size limiting to 1 KB
NRPE 2.16 RC2 supports up to 64K. You will need to recompile NRPE on both ends in order to make this work - on the Nagios XI server, and the client (SLES 12 machine).
https://github.com/NagiosEnterprises/nr ... e-2-16-RC2
Hope this works.
https://github.com/NagiosEnterprises/nr ... e-2-16-RC2
Hope this works.
Be sure to check out our Knowledgebase for helpful articles and solutions!