Code: Select all
yum reinstall glibc-commonCode: Select all
yum reinstall glibc-commonCode: Select all
[root@nagioscore ~]# curl -ns -u nagiosadmin:pass --header "Accept-Language: fr" "http://nagioscore/nagios/cgi-bin/statusjson.cgi?query=programstatus" |grep type_text
"type_text": "Success",
[root@nagioscore ~]# curl -ns -u nagiosadmin:pass --header "Accept-Language: fr-FR" "http://nagioscore/nagios/cgi-bin/statusjson.cgi?query=programstatus" |grep type_text
"type_text": "Success",No change with that unfortunately.ssax wrote:Have you tried reinstalling glibc-common to see if it's an issue with your locales?
Code: Select all
yum reinstall glibc-common
Well, no issues doing that, but my incompetence level is below making locale checks before a compilation..jolson wrote:I have done further testing and cannot get your symptoms to reproduce on my end:I have a suspicion that ultimately we'll need to recompile Nagios on this machine and ensure that locales are properly set before the compilation begins. Please follow the suggestion made by ssax, and let us know if that helps.Code: Select all
[root@nagioscore ~]# curl -ns -u nagiosadmin:pass --header "Accept-Language: fr" "http://nagioscore/nagios/cgi-bin/statusjson.cgi?query=programstatus" |grep type_text "type_text": "Success", [root@nagioscore ~]# curl -ns -u nagiosadmin:pass --header "Accept-Language: fr-FR" "http://nagioscore/nagios/cgi-bin/statusjson.cgi?query=programstatus" |grep type_text "type_text": "Success",
Code: Select all
retry_check_interval 0.5 ; Re-check the service every minute until its final/hard state is determined
Code: Select all
retry_check_interval 1
Code: Select all
[PROD][root@eqdg3pperf001 ~]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Code: Select all
[PROD][root@eqdg3pperf001 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
[PROD][root@eqdg3pperf001 ~]# httpd -v
Server version: Apache/2.2.3
Server built: Jul 18 2014 04:46:39