Page 2 of 15

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Aug 24, 2015 4:56 pm
by tmcdonald
Please visit the page and then tail your apache logs. They should be at /var/log/httpd/error_log

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Aug 25, 2015 12:10 am
by Box293
whitest wrote:Hi everyone. Today I tried to upgrade my Nagios Core 4.0.8 to latest 4.1.1.
New version installed successfully, but New Map doesn't work (empty frame). When I click the link "View Status Detail For This Host" the browser (firefox and IE11) tries to open/save file status.cgi
I ran up a test CentOS 5.11 VM x86.

I installed Nagios Core 4.0.8 and confirmed everything worked as expected.

I upgraded to Nagios Core 4.1.1.

I can see the new map fine. Iv'e tried on Windows 8 using Internet Explorer 10.0.9200.17413 and Firefox 38.0.5.

As for the links issue "View Status Detail For This Host" I can confirm there is a bug in the file /usr/local/nagios/share/map-links.html

Instead of:

Code: Select all

status.cgi
it should be

Code: Select all

cgi-bin/status.cgi
On lines 6, 11, 15

This has been reported here https://github.com/NagiosEnterprises/na ... /issues/76.

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Aug 25, 2015 3:04 am
by whitest
New map is cool, but it's very sensitive to client-side environment =(
Legacy map is better in this sense.

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Aug 25, 2015 3:49 am
by whitest
My little research:
PC1: Windows 8.1:
- IE11 Flash 18,0,0,232 (flash 18,0,0,232) - working, but icons are not displayed
- Firefox 34.0.5 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,232) - not working

PC2: Windows 8.1:
- IE11 (flash 18,0,0,232) - working, but icons are not displayed
- Firefox 40.0.2 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,209) - not working

PC3: Windows 7 x64:
- IE11 (flash 17,0,0,188) - not working
- Firefox 30 (flash 17,0,0,169) - working perfectly

PC3: Windows XP SP3:
- IE8 (flash 18,0,0,232) - not working
- Firefox 28 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,232) - not working
- Opera 12.16 (flash 18,0,0,232) - not working

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Aug 25, 2015 9:11 am
by hsmith
whitest wrote:My little research:
PC1: Windows 8.1:
- IE11 Flash 18,0,0,232 (flash 18,0,0,232) - working, but icons are not displayed
- Firefox 34.0.5 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,232) - not working

PC2: Windows 8.1:
- IE11 (flash 18,0,0,232) - working, but icons are not displayed
- Firefox 40.0.2 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,209) - not working

PC3: Windows 7 x64:
- IE11 (flash 17,0,0,188) - not working
- Firefox 30 (flash 17,0,0,169) - working perfectly

PC3: Windows XP SP3:
- IE8 (flash 18,0,0,232) - not working
- Firefox 28 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,232) - not working
- Opera 12.16 (flash 18,0,0,232) - not working
Thank you for doing all the research on this one. We will poke around at it some today and see what we come up with as well. This is something that is going to have to go to the development team. To be clear, you never had these issues before 4.1.1?

Re: Nagios 4.1.1 Statusmap problem

Posted: Wed Aug 26, 2015 1:08 am
by whitest
No, I never had these issues befor. I upgraded Nagios many-many times and all times it was plain.

Re: Nagios 4.1.1 Statusmap problem

Posted: Wed Aug 26, 2015 9:41 am
by hsmith
Turns out the view status is known to be broken currently, it is something that is going to need to be fixed. As far as the map not showing it, I have not been able to replicate it, with different browsers, flash enabled/disabled to get something meaningful to the devs. Can you take a screenshot or two of how it looks?

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Aug 31, 2015 1:49 am
by whitest
Sorry for slow response. Yes, I can make a few screens, but all screenshoots in all browsers are the same (see statusmap1.jpeg).

Here error-log from IE8 in Windows XP:

Code: Select all

Сведения об ошибке на веб-странице

Агент пользователя: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; MRSPUTNIK 2, 4, 0, 504; BTRS98470; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
штамп времени: Mon, 31 Aug 2015 06:44:32 UTC


Сообщение: Команда не поддерживается объектом
Строка: 1
Символ: 535
Код: 0
URI-код: http://nagios.mydomain.local/d3/d3.min.js


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


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


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


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


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


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


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


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

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Aug 31, 2015 4:52 pm
by tgriep
Try upgrading to this branch to see if this fixes it for you.
https://github.com/NagiosEnterprises/na ... 4.1.2-beta
What version of JAVA are you running on your workstations?

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Sep 01, 2015 2:30 am
by whitest
I added java information:
whitest wrote:My little research:
PC1: Windows 8.1:
- java version "1.7.0_79"
- IE11 Flash 18,0,0,232 (flash 18,0,0,232) - working, but icons are not displayed
- Firefox 34.0.5 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,232) - not working

PC2: Windows 8.1:
- java version "1.8.0_51"
- IE11 (flash 18,0,0,232) - working, but icons are not displayed
- Firefox 40.0.2 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,209) - not working

PC3: Windows 7 x64:
- java version "1.6.0_25"
- IE11 (flash 17,0,0,188) - not working
- Firefox 30 (flash 17,0,0,169) - working perfectly


PC3: Windows XP SP3:
- java version "1.6.0_24"
- IE8 (flash 18,0,0,232) - not working
- Firefox 28 (flash 18,0,0,232) - not working
- Chorme 44.0.2403.157 (flash 18,0,0,232) - not working
- Opera 12.16 (flash 18,0,0,232) - not working