Content of Service Status Detail and State History
Content of Service Status Detail and State History
Hello,
Since the full messages of service cannot be shown, we are difficult to perform a health check for these services and daily tasks.
Can we configure the content of service status detail and State History, so that we can refine the limitation??
Thanks.
Since the full messages of service cannot be shown, we are difficult to perform a health check for these services and daily tasks.
Can we configure the content of service status detail and State History, so that we can refine the limitation??
Thanks.
You do not have the required permissions to view the files attached to this post.
Re: Content of Service Status Detail and State History
I can't tell if the data is truncating on the agent side, or on the XI side. If you run the check over the CLI, does it show all of the information?
If so, I think you could just follow this guide to expand your SQL tables - https://support.nagios.com/kb/article.php?id=478
If so, I think you could just follow this guide to expand your SQL tables - https://support.nagios.com/kb/article.php?id=478
Former Nagios Employee
Re: Content of Service Status Detail and State History
Hi rkennedy,
I have tried to execute the mysql commands, but it seems nothing to change.
Do you have another ideas for checking this issue?
Thanks,
I have tried to execute the mysql commands, but it seems nothing to change.
Do you have another ideas for checking this issue?
Thanks,
Re: Content of Service Status Detail and State History
Could you try this part? Test this out, and let us know the result. We need to see if it's being truncated on the agent side, or Nagios side.I can't tell if the data is truncating on the agent side, or on the XI side. If you run the check over the CLI, does it show all of the information?
Former Nagios Employee
Re: Content of Service Status Detail and State History
Hi rkennedy,
I have run the check over the CLI on the client side, and the result is good (all message can be displayed).
- Check command on Nagios XI
- Check command on client ($NAGIOS_HOME/etc/nrpe/common.cfg)
Thanks.
I have run the check over the CLI on the client side, and the result is good (all message can be displayed).
- Check command on Nagios XI
Code: Select all
check_nrpe!check_ListDest!!!!!!!Code: Select all
command[check_ListDest]=sed '1,11'd /appl/BPIP/IIP/oat01/log/mq_mon/ListDest.out
Last edited by larry.lo on Wed Nov 16, 2016 9:10 pm, edited 3 times in total.
Re: Content of Service Status Detail and State History
I actually need you to test on the XI side, on the CLI, against the client. The reason being, is the plugin on the client side will show all of the information, where as I'm not sure if it's getting truncated in communication (via NRPE), or the local XI machine here somewhere.larry.lo wrote:Hi rkennedy,
I have run the check over the CLI on the client side, and the result is good (all message can be displayed).
- Check command on Nagios XI
check_nrpe!check_ListDest!!!!!!!
- Check command on client ($NAGIOS_HOME/etc/nrpe/common.cfg)
command[check_ListDest]=sed '1,11'd /appl/BPIP/IIP/oat01/log/mq_mon/ListDest.out
Thanks.
Former Nagios Employee
Re: Content of Service Status Detail and State History
Hi rkennedy,rkennedy wrote: I actually need you to test on the XI side, on the CLI, against the client. The reason being, is the plugin on the client side will show all of the information, where as I'm not sure if it's getting truncated in communication (via NRPE), or the local XI machine here somewhere.
-Test on the Nagios server via CLI:
Full messages cannot be displayed.
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 172.31.9.107 -c check_ListDestFull messages cannot be displayed. (Output same as CLI, which is 1024)
Thanks.
Re: Content of Service Status Detail and State History
The issue then, is that your data is being truncated at 1024 characters when being sent.
You'll want to upgrade (or fresh install) to NRPE v3. See this link -
https://support.nagios.com/kb/article.p ... ategory=22
For a fresh install -
https://support.nagios.com/kb/article.p ... ategory=22
I would test on a dev machine before moving it to prod, just so you can be sure it'll work, but with NRPE v3 there is 4k support so you should not have a problem sending that much data.
You'll want to upgrade (or fresh install) to NRPE v3. See this link -
https://support.nagios.com/kb/article.p ... ategory=22
For a fresh install -
https://support.nagios.com/kb/article.p ... ategory=22
I would test on a dev machine before moving it to prod, just so you can be sure it'll work, but with NRPE v3 there is 4k support so you should not have a problem sending that much data.
Former Nagios Employee
Re: Content of Service Status Detail and State History
Hi rkennedy,rkennedy wrote:The issue then, is that your data is being truncated at 1024 characters when being sent.
You'll want to upgrade (or fresh install) to NRPE v3. See this link -
https://support.nagios.com/kb/article.p ... ategory=22
For a fresh install -
https://support.nagios.com/kb/article.p ... ategory=22
I would test on a dev machine before moving it to prod, just so you can be sure it'll work, but with NRPE v3 there is 4k support so you should not have a problem sending that much data.
Thank you for your help.
I will try and test it on non-production server, hope it can fix the problem.
Thanks again.
Re: Content of Service Status Detail and State History
It should with the 4k support. I'll leave this thread open, let us know if you have any questions about your testing.
Former Nagios Employee