Page 10 of 15

Re: Nagios 4.1.1 Statusmap problem

Posted: Fri Sep 18, 2015 1:42 pm
by hsmith
Do you have a non-server Windows you can test this against in English? Firefox seems just fine on my end.

Re: Nagios 4.1.1 Statusmap problem

Posted: Fri Sep 18, 2015 2:01 pm
by DanielB
Hi, hsmith.
hsmith wrote:Do you have a non-server Windows you can test this against in English? Firefox seems just fine on my end.
I do not have it. However, as I mentioned here, I'm having the same problem with Iceweasel (same version as Firefox on Windows) on Debian Jessie. So the problem seems to go beyond the operating system used on the client. The locale settings for this client is es_AR.UTF-8.

Can you try to replicate it in this scenario?

Thanks,

Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Fri Sep 18, 2015 2:09 pm
by hsmith
Hi Daniel,

I will definitely test this out for you, but I am not sure that I will have time today. If I can't get to it today, which is the likely scenario, I'll mess with it on Monday morning.

Thanks for all of your help with this particular issue!

Re: Nagios 4.1.1 Statusmap problem

Posted: Fri Sep 18, 2015 2:22 pm
by DanielB
hsmith wrote:Hi Daniel,

I will definitely test this out for you, but I am not sure that I will have time today. If I can't get to it today, which is the likely scenario, I'll mess with it on Monday morning.

Thanks for all of your help with this particular issue!
No problem. For me it is also a pleasure to collaborating with you. I also want to thank you, hsmith. I appreciate your time and dedication to resolve this problem.

Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Sun Sep 20, 2015 4:23 pm
by DanielB
Hi, whitest.
whitest wrote: Here is samething else. When I navigate the coursor on any host I see that it's in pending statate (see attach).
Can you confirm whether you are still having this problem with the information of the hosts in the network map? I'm having this problem only in Firefox 40.0.3 (Windows Server 2012) and Iceweasel 40.0.3 (Debian Jessie). Are you also having this problem only in Firefox?

In another message hsmith was interested in knowing if we could test this on a non-server Windows. Could you confirm whether the issue is present on a non-server Windows? Although I think it would be better to say what operating system are you using (and language settings) on the computers where this problem is present, to give more information to help resolve this issue.

Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Sep 21, 2015 10:13 am
by hsmith
2015-09-21 10_12_09-Windows 7 x64 - VMware Workstation.png

Code: Select all

[root@hldncore etc]# locale
LANG=es_AR.UTF-8
LC_CTYPE="es_AR.UTF-8"
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=
[root@hldncore etc]#1
Is there anything between us that you can think of that may be different?

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Sep 21, 2015 10:29 am
by DanielB
Hi, hsmith.

Thank you for taking the time to do these tests.
hsmith wrote: Is there anything between us that you can think of that may be different?
Mmmmm... I'm not sure. Perhaps the locale settings on the server? Here's mine:

Code: Select all

ws1:~# locale
LANG=es_AR.UTF-8
LANGUAGE=
LC_CTYPE=es_AR.UTF-8
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=
Thanks again for your time.

Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Sep 21, 2015 10:48 am
by hsmith
Thinking about it, mine is CentOS 7, I am in the process of setting up one on six to see if I can replicate the issues.

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Sep 21, 2015 11:09 am
by DanielB
hsmith wrote:Thinking about it, mine is CentOS 7, I am in the process of setting up one on six to see if I can replicate the issues.
Thanks. What strikes me is to have found the same behavior of Firefox (Windows Server 2012)/Iceweasel (Debian Jessie) 40.0.3 regardless of operating system on the client. This makes me wonder if it's something on the client side... maybe some interaction between Firefox/Iceweasel and the Nagios server. I even tried changing the language preferences in Iceweasel setting English/United States as the top of the list, but unchanged.

I also did another test on OpenBSD 5.7 (default locale) and Firefox 35 in English and there ran smoothly. Although this version of Firefox is not 40.0.3, so it's not the same basis for comparison.

Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Sep 21, 2015 11:41 am
by whitest
I just re-install 4.1.2-beta again (downloaded fresh zip). Here are fresh results:

I tried on my PC1 (Windows 8.1 EN):
- FF (ru): works fine including color backlight and state info .
- IE 11 (en): works fine including color backlight and state info .
- Chrome (ru): works fine including color backlight and state info .
- Opera (ru): works fine including color backlight and state info .

I tried on my PC2 (Windows XP RU):
- FF (ru): works fine including color backlight and state info .
- IE 8 (ru): not worked.
- Chrome (ru): works fine including color backlight and state info .
- Opera (ru): works fine including color backlight and state info .

I tried on my PC3 (Windows 7 x64 RU):
- FF (ru): works fine including color backlight and state info .
- IE 8.0.7601.17514 (ru): not worked.
- Chrome (ru): works fine including color backlight and state info .
- Opera (ru): works fine including color backlight and state info .

Here are error details from IE8 on PC3:

Code: Select all

Сведения об ошибке на веб-странице
Агент пользователя: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
штамп времени: Mon, 21 Sep 2015 15:48:15 UTC

Сообщение: 'prototype' -  есть null или не является объектом
Строка: 3
Символ: 3564
Код: 0
URI-код: http://10.14.2.96/nagios/d3/d3.min.js

Сообщение: Предполагается наличие объекта
Строка: 7
Символ: 218
Код: 0
URI-код: http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js

Сообщение: Объект не поддерживает это свойство или метод
Строка: 8
Символ: 1
Код: 0
URI-код: http://10.14.2.96/nagios/angularjs/ui-bootstrap-tpls-0.12.0.min.js

Сообщение: Объект не поддерживает это свойство или метод
Строка: 7
Символ: 1
Код: 0
URI-код: http://10.14.2.96/nagios/angularjs/ui-utils-0.2.1/ui-utils.js

Сообщение: Предполагается наличие идентификатора, строки или числа
Строка: 16
Символ: 4
Код: 0
URI-код: http://10.14.2.96/nagios/js/map.js

Сообщение: Предполагается наличие идентификатора, строки или числа
Строка: 2124
Символ: 8
Код: 0
URI-код: http://10.14.2.96/nagios/js/map-directive.js

Сообщение: Объект не поддерживает это свойство или метод
Строка: 1
Символ: 1
Код: 0
URI-код: http://10.14.2.96/nagios/js/map-form.js

Сообщение: Объект не поддерживает это свойство или метод
Строка: 1
Символ: 1
Код: 0
URI-код: http://10.14.2.96/nagios/js/nagios-decorations.js

Сообщение: Объект не поддерживает это свойство или метод
Строка: 1
Символ: 1
Код: 0
URI-код: http://10.14.2.96/nagios/js/nagios-time.js
----------
One more question. I use virtual hosting on the nagios server. Before 4.1.1 version Nagios searched cgi directory properly. I didn't have to change ScriptAlias directive in httpd.conf to:

Code: Select all

ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/"
Now I need to change it to make new map working with virtual hosting. Why new map doesn't use ScriptAlies directive from /etc/httpd/conf.d/nagios.conf as it was before???

Code: Select all

# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file.  Customize the paths, etc. as
# needed to fit your system.

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"

<VirtualHost *:80>
   DocumentRoot /usr/local/nagios/share
    ServerName nagios.domain.local
</VirtualHost>

<AuthnProviderAlias ldap mydomain>
AuthLDAPURL "ldap://corp.domain.local:3268/ou=Office,dc=corp,dc=domain,dc=local?sAMAccountName?sub?(objectClass=user)" NONE
AuthLDAPBindDN [email protected]
AuthLDAPBindPassword passww22wr2r
</AuthnProviderAlias>

<Directory "/usr/local/nagios/sbin">
#SSLRequireSSL
Options ExecCGI
AllowOverride None
AuthType Basic
AuthzLDAPAuthoritative off
AuthBasicProvider mydomain
AuthName "Nagios LDAP Authentication"
require valid-user
</Directory>

Alias /nagios "/usr/local/nagios/share"

<Directory "/usr/local/nagios/share">
#SSLRequireSSL
Options None
AllowOverride None
AuthType Basic
AuthzLDAPAuthoritative off
AuthBasicProvider mydomain
AuthName "Nagios LDAP Authentication"
require valid-user
</Directory>