Page 1 of 1
How to change Number of character accepted by Nagios plugin
Posted: Tue Jan 31, 2017 10:59 am
by sgoffar
Hi Team,
We are using check_log3.pl ,check_customlog.pl to monitor some log file. Number of character return is more than what we are seeing in Nagios console.
Can you please help us to increase the value.
Total Number of line return by plugin:Found 7 lines
Line accepting by Nagios:5 lines
Re: How to change Number of character accepted by Nagios plu
Posted: Tue Jan 31, 2017 12:27 pm
by dwhitfield
There are a few different checklog programs. Are you talking about
https://exchange.nagios.org/directory/P ... pl/details ? What about the other one?
Also, could you send us a screenshot of what you are seeing? Thanks!
Re: How to change Number of character accepted by Nagios plu
Posted: Thu Feb 09, 2017 9:39 am
by sgoffar
Yes, Actually the output capture by the script is restricted to 1kb only. Is there any way to increase the size.
Re: How to change Number of character accepted by Nagios plu
Posted: Thu Feb 09, 2017 10:59 am
by rkennedy
This may be what you're looking for if it's just a graphical issue -
https://support.nagios.com/kb/article.php?id=478
If not, when you run it over the CLI - is the data still truncated? It may be limited at perhaps an agent level. If you're using an agent, you'll want to move to NRPEv3 for a larger output support through remote agents, as NRPEv2 has its limitations.
Re: How to change Number of character accepted by Nagios plu
Posted: Thu Feb 16, 2017 5:37 am
by sgoffar
It's in CLI level. Currently we are using NRPE v2.15. Can you please let us know the output size of NRPE version 2 and NRPE version 3
Can you please confirm if we upgrade the issue will resolved.
System OS is Red Hat Enterprise Linux Server release 7.3 (Maipo)
Re: How to change Number of character accepted by Nagios plu
Posted: Thu Feb 16, 2017 10:29 am
by rkennedy
If it's at a CLI level like you mentioned, then yes, upgrading will fix it. NRPEv2 had limited support for long output, where as NRPEv3 supports 4K natively.
These links might help -
https://support.nagios.com/kb/article.p ... ategory=22
https://support.nagios.com/kb/article.php?id=520
Re: How to change Number of character accepted by Nagios plu
Posted: Wed Mar 01, 2017 2:26 pm
by tmcdonald
Just checking in since we have not heard from you in a while. Did
@rkennedy's post clear things up or has the issue otherwise been resolved?