Service Status Information not being displayed

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
gga_py
Posts: 8
Joined: Fri May 05, 2017 9:11 am

Re: Service Status Information not being displayed

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Service Status Information not being displayed

Post 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?
gga_py
Posts: 8
Joined: Fri May 05, 2017 9:11 am

Re: Service Status Information not being displayed

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Service Status Information not being displayed

Post 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.
gga_py
Posts: 8
Joined: Fri May 05, 2017 9:11 am

Re: Service Status Information not being displayed

Post by gga_py »

Thank you dwhitfield.
Thanks to tgriep too.-
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Service Status Information not being displayed

Post 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.
Locked