Page 2 of 2
Re: Service Status Information not being displayed
Posted: Mon May 08, 2017 6:46 pm
by gga_py
The line containing the service in nagios.log looks like this:
[1494216000] CURRENT SERVICE STATE: srv-billing_una01;BOSS;OK;HARD;1;HTTP OK: HTTP/1.1 302 Movido tempor�lmente - 158 bytes in 0,002 second response time
Added AddDefaultCharset on to apache2.conf but that didn't help.
Re: Service Status Information not being displayed
Posted: Tue May 09, 2017 8:12 am
by dwhitfield
Do you have access to external sites from that system? I'm wondering if localhost picks up language differently than external sites.
If you do have access to other sites, do they all return Spanish or does the site language make a difference?
Re: Service Status Information not being displayed
Posted: Tue May 09, 2017 10:14 am
by gga_py
No external sites, everything happens in a LAN.
The server I'm monitoring has LANG=es. My Nagios Core had LANG=en, changed it to LANG=es. Still no luck.
Re: Service Status Information not being displayed
Posted: Tue May 09, 2017 12:33 pm
by dwhitfield
I have submitted a bug report at
https://github.com/NagiosEnterprises/na ... issues/366
While that is being worked on, you could recompile check_http with a fix similar to the one listed in
https://github.com/NagiosEnterprises/na ... issues/107
Alternatively, you could write a wrapper script to sanitize.
Re: Service Status Information not being displayed
Posted: Tue May 09, 2017 12:57 pm
by gga_py
Thank you dwhitfield.
Thanks to tgriep too.-
Re: Service Status Information not being displayed
Posted: Tue May 09, 2017 1:44 pm
by dwhitfield
You're welcome. I am going to go ahead and lock the thread. Please follow the github bug report for any updates.
If there is a bug fix issued and it does not seem to work or only partially works, please either update the github issue, or open a new thread.