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
How to change Number of character accepted by Nagios plugin
How to change Number of character accepted by Nagios plugin
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: How to change Number of character accepted by Nagios plu
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!
Also, could you send us a screenshot of what you are seeing? Thanks!
Re: How to change Number of character accepted by Nagios plu
Yes, Actually the output capture by the script is restricted to 1kb only. Is there any way to increase the size.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: How to change Number of character accepted by Nagios plu
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.
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.
Former Nagios Employee
Re: How to change Number of character accepted by Nagios plu
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)
Can you please confirm if we upgrade the issue will resolved.
System OS is Red Hat Enterprise Linux Server release 7.3 (Maipo)
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: How to change Number of character accepted by Nagios plu
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
These links might help -
https://support.nagios.com/kb/article.p ... ategory=22
https://support.nagios.com/kb/article.php?id=520
Former Nagios Employee
Re: How to change Number of character accepted by Nagios plu
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?
Former Nagios employee