Nagios 4.1.1 Statusmap problem

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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios 4.1.1 Statusmap problem

Post by hsmith »

whitest wrote:
whitest wrote:I saw in error.log after upgrade and visit the map. It is in silence.
Here is access.log:

Code: Select all

10.14.2.135 - yura [04/Sep/2015:21:28:46 +0300] "GET /js/nagios-time.js HTTP/1.1" 200 5680 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:46 +0300] "GET /js/map-directive.js HTTP/1.1" 200 100955 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:46 +0300] "GET /images/menu.png HTTP/1.1" 200 161 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:47 +0300] "GET /infobox.html HTTP/1.1" 200 1660 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:47 +0300] "GET /map-directive.html HTTP/1.1" 200 1967 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:47 +0300] "GET /map-links.html HTTP/1.1" 200 647 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:47 +0300] "GET /map-popup.html HTTP/1.1" 200 1723 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:47 +0300] "GET /cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 992 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:47 +0300] "GET /cgi-bin/objectjson.cgi?&details=true&formatoptions=enumerate+bitmask&query=hostlist HTTP/1.1" 200 515227 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
10.14.2.135 - yura [04/Sep/2015:21:28:47 +0300] "GET /cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 992 "http://nagios.mydomain.loc/map.html?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0"
I don't understand what differents between 5.11 and 6.5 for the Map in Nagios 4.1.2 . May be I need to install/upgrade java on the Centos 5.11 or something else??
Java should not be the culprit here. Are you running Firefox 28? Do you have a newer version that you can test on?
Former Nagios Employee.
me.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios 4.1.1 Statusmap problem

Post by jdalrymple »

No request for the map in your access_log

Code: Select all

192.168.5.233 - nagiosadmin [04/Sep/2015:13:41:57 -0500] "GET /nagios/map.html?host=all HTTP/1.1" 304 - "http://10.0.2.71/nagios/side.php" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0"
httpd error_log should NEVER be empty, something is haywire with your logging. The following indicates that my error log IS working:

Code: Select all

[Fri Sep 04 12:41:10 2015] [notice] Graceful restart requested, doing restart
httpd: apr_sockaddr_info_get() failed for jrd-cent65-5
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Fri Sep 04 12:41:16 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 04 12:41:16 2015] [notice] Digest: done
[Fri Sep 04 12:41:16 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios 4.1.1 Statusmap problem

Post by hsmith »

Another thing that it seems like hasn't been checked on yet..

In your screenshot I see ABP, is there a chance you are using this to block Javascript somehow? Do you have something like NoScript, UBlock Origin, PrivacyBadger, SomeRandomAntiVirus, running that would be blocking Javascript? The only way so far I've been able to replicate your issue is by turning on NoScript..
Former Nagios Employee.
me.
rhall42
Posts: 1
Joined: Fri Sep 04, 2015 2:06 pm

Re: Nagios 4.1.1 Statusmap problem

Post by rhall42 »

I found that he new map stuff will not display/load if any of the icon files are missing or have bad permissions.. What I would like to know is how to define the map type.. the default_statuswrl_layout and default_statusmap_layout settings do not seem to work for the new map style.. only for the legacy.. (nagios 4.1.1)
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Nagios 4.1.1 Statusmap problem

Post by whitest »

hsmith wrote:Java should not be the culprit here. Are you running Firefox 28? Do you have a newer version that you can test on?
Yes, I've tried from Mozilla 34.0 right now. And from other browsers (Chrome 45.0.2454.85).
jdalrymple wrote:httpd error_log should NEVER be empty, something is haywire with your logging. The following indicates that my error log IS working:
When I've said error log in silence I mean there are not errors when I click on new map link:

Code: Select all

# tail -f /var/log/httpd/error_log
[Thu Sep 03 22:59:18 2015] [notice] caught SIGTERM, shutting down
[Thu Sep 03 23:00:39 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 03 23:00:39 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Sep 03 23:00:39 2015] [notice] Digest: done
[Thu Sep 03 23:00:39 2015] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
hsmith wrote:Another thing that it seems like hasn't been checked on yet..

In your screenshot I see ABP, is there a chance you are using this to block Javascript somehow? Do you have something like NoScript, UBlock Origin, PrivacyBadger, SomeRandomAntiVirus, running that would be blocking Javascript? The only way so far I've been able to replicate your issue is by turning on NoScript..
Yes, on my old PC with FF28 installed ADB. I tried to disable it - no success.
I've checked all browsers (IE11,FF,GCh) on my New PC and not found any blocking addons. I didn't installed these plugins and don't have issues with other sites.

Here is screen of Console from Google Chrome (for example):
Image
Attachments
2015-09-04_22-22-01.jpg
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Nagios 4.1.1 Statusmap problem

Post by whitest »

Why you don't speak about java errors that I posted above?
The bowser's console (see attach.. Is's another PC: Windows 7 x64, Mozilla 33.0.3, Flash 18.0.0, Java 1.6.0_25) shows errors when I visit the map.
Whether these errors depends on my Nagios Server OS?
Attachments
map.jpg
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios 4.1.1 Statusmap problem

Post by ssax »

That actually just looks like a loading throbber that is being displayed, the page does not use Flash.

It has to be permissions and/or file missing related, please post the output of these commands (in code tags):

Code: Select all

ls -ld /usr/local/nagios/share/stylesheets/
ls -l /usr/local/nagios/share/stylesheets/
ls -ld /usr/local/nagios/share/bootstrap-3.3.0/css/
ls -l /usr/local/nagios/share/bootstrap-3.3.0/css/
ls -l /usr/local/nagios/share/
ls -ld /usr/local/nagios/share/d3/
ls -l /usr/local/nagios/share/d3/
ls -l /usr/local/nagios/share/angularjs/angular-1.3.9/
ls -l /usr/local/nagios/share/angularjs/
ls -l /usr/local/nagios/share/angularjs/ui-utils-0.2.1
ls -ld /usr/local/nagios/share/spin/
ls -l /usr/local/nagios/share/spin/
ls -ld /usr/local/nagios/share/js/
ls -l /usr/local/nagios/share/js/
Also, hit F12 in Chrome, click the Network tab at the top, and then click Map on the left hand side and see if there are any statuses other than 200.
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Nagios 4.1.1 Statusmap problem

Post by whitest »

ssax, thank you for your message. I cannot understand how permission issues can allow to see the map for one user (see PC3 in the post https://support.nagios.com/forum/viewto ... 10#p149926) and doesn't allow for others.. I tried to login to Nagios from PC3 using different users. The result is the same.

Anyway, here is output:

Code: Select all

[root@nagios ~]#     ls -ld /usr/local/nagios/share/stylesheets/
    ls -l /usr/local/nagios/share/bootstrap-3.3.0/css/
    ls -l /usr/local/nagios/share/
    ls -ld /usr/local/nagios/share/d3/
drwxrwxr-x 2 nagios nagios 4096 Sep  4 20:21 /usr/local/nagios/share/stylesheets/
    ls -l /usr/local/nagios/share/d3/
[root@nagios ~]#     ls -l /usr/local/nagios/share/stylesheets/
    ls -l /usr/local/nagios/share/angularjs/
    ls -l /usr/local/nagios/share/angularjs/ui-utils-0.2.1
total 168
-rw-rw-r-- 1 nagios nagios  1913 Sep  4 20:22 avail.css
-rw-rw-r-- 1 nagios nagios  1261 Sep  4 20:22 checksanity.css
-rw-rw-r-- 1 nagios nagios   959 Sep  4 20:22 cmd.css
-rw-rw-r-- 1 nagios nagios  9734 Sep  4 20:22 common.css
-rw-rw-r-- 1 nagios nagios   586 Sep  4 20:22 config.css
-rw-rw-r-- 1 nagios nagios  5626 Sep  4 20:22 extinfo.css
-rw-r--r-- 1 nagios nagcmd   909 Sep  4  2011 graph.gif
-rw-rw-r-- 1 nagios nagios   560 Sep  4 20:22 histogram.css
-rw-rw-r-- 1 nagios nagios  1915 Sep  4 20:21 histogramgraph.css
-rw-rw-r-- 1 nagios nagios   482 Sep  4 20:22 history.css
    ls -ld /usr/local/nagios/share/spin/
-rw-rw-r-- 1 nagios nagios   442 Sep  4 20:21 jsonquery.css
-rw-rw-r-- 1 nagios nagios   514 Sep  4 20:21 map.css
-rw-rw-r-- 1 nagios nagios  1439 Sep  4 20:21 map-directive.css
-rw-rw-r-- 1 nagios nagios  4422 Sep  4 20:22 ministatus.css
-rw-r--r-- 1 nagios nagcmd  2656 Sep  4  2011 nagiosgraph.css
-rw-r--r-- 1 nagios nagcmd 40944 Sep  4  2011 nagiosgraph.js
-rw-r--r-- 1 nagios nagcmd    70 Sep  4  2011 nagiosgraph.ssi
-rw-r--r-- 1 nagios nagcmd    75 Sep  4  2011 nagiosgraph.ssi~
-rw-rw-r-- 1 nagios nagios  2297 Sep  4 20:22 notifications.css
-rw-rw-r-- 1 nagios nagios   743 Sep  4 20:22 outages.css
-rw-rw-r-- 1 nagios nagios   482 Sep  4 20:22 showlog.css
-rw-rw-r-- 1 nagios nagios  7283 Sep  4 20:22 status.css
-rw-rw-r-- 1 nagios nagios   710 Sep  4 20:22 statusmap.css
-rw-rw-r-- 1 nagios nagios  1748 Sep  4 20:22 summary.css
-rw-rw-r-- 1 nagios nagios  5472 Sep  4 20:22 tac.css
-rw-rw-r-- 1 nagios nagios   481 Sep  4 20:22 trends.css
-rw-rw-r-- 1 nagios nagios  1901 Sep  4 20:21 trendsgraph.css
[root@nagios ~]#     ls -ld /usr/local/nagios/share/bootstrap-3.3.0/css/
    ls -l /usr/local/nagios/share/js/drwxrwxr-x 2 nagios nagios 4096 Sep  4 20:22 /usr/local/nagios/share/bootstrap-3.3.0/css/
[root@nagios ~]#     ls -l /usr/local/nagios/share/bootstrap-3.3.0/css/
total 136
-rw-rw-r-- 1 nagios nagios 114011 Sep  4 20:22 bootstrap.min.css
-rw-rw-r-- 1 nagios nagios  19199 Sep  4 20:22 bootstrap-theme.min.css
[root@nagios ~]#     ls -l /usr/local/nagios/share/
total 612
drwxrwxrwx 9 nagios nagcmd   4096 Sep 17  2014 6_dir_kurs
drwxrwxr-x 4 nagios nagios   4096 Sep  4 20:22 angularjs
-rw-rw-r-- 1 nagios nagcmd   1608 Feb  9  2013 bkp_index.php
-rw-rw-r-- 1 nagios nagcmd   5864 Feb  9  2013 bkp_main.php
-rw-rw-r-- 1 nagios nagcmd   5756 Feb  9  2013 bkp_side.php
drwxrwxr-x 3 nagios nagios   4096 Aug 21 09:34 bootstrap-3.3.0
-rw-rw-r-- 1 nagios nagios    576 Sep  4 20:21 config.inc.php
drwxrwxr-x 2 nagios nagios   4096 Sep  4 20:21 contexthelp
drwxrwxr-x 2 nagios nagios   4096 Sep  4 20:22 d3
drwxrwxr-x 3 nagios nagios   4096 Aug 23  2011 docs
-rw-rw-r-- 1 nagios nagios    879 Sep  4 20:21 graph-header.html
-rw-rw-r-- 1 nagios nagios   4136 Sep  4 20:21 histogram-form.html
-rw-rw-r-- 1 nagios nagios   5579 Sep  4 20:21 histogram-graph.html
-rw-rw-r-- 1 nagios nagios   2855 Sep  4 20:21 histogram.html
-rw-rw-r-- 1 nagios nagios   2372 Sep  4 20:21 histogram-links.html
-rw-r--r-- 1 root   root     5082 Sep  1 06:00 hosts.txt
drwxrwxr-x 3 nagios nagios   4096 Sep  4 20:22 images
drwxrwxr-x 3 nagios nagios   4096 Sep  4 20:22 includes
-rw-rw-r-- 1 nagios nagios   1749 Sep  4 20:21 index.php
-rw-rw-r-- 1 nagios nagcmd   1551 Nov  9  2011 index.php~
-rw-rw-r-- 1 nagios nagios   1660 Sep  4 20:21 infobox.html
drwxrwxr-x 3 nagios nagios   4096 Sep  4 20:21 js
-rw-rw-r-- 1 nagios nagios   1177 Sep  4 20:21 jsonquery.html
drwxr-xr-x 4 nagios nagcmd   4096 Aug 23  2011 locale
-rw-rw-r-- 1 nagios nagios   8750 Sep  4 20:21 main.php
-rw-rw-r-- 1 nagios nagcmd   6241 Nov  9  2011 main.php~
-rw-rw-r-- 1 nagios nagios   1967 Sep  4 20:21 map-directive.html
-rw-rw-r-- 1 nagios nagios   3824 Sep  4 20:21 map-form.html
-rw-rw-r-- 1 nagios nagios   2627 Sep  4 20:21 map.html
-rw-rw-r-- 1 nagios nagios    647 Sep  4 20:21 map-links.html
-rw-rw-r-- 1 nagios nagios   1723 Sep  4 20:21 map-popup.html
drwxrwxr-x 2 nagios nagios   4096 Oct 14  2011 media
-rw-rw-r-- 1 nagios nagcmd   8016 Feb  8  2013 mrtg.php
-rw-rw-r-- 1 nagios nagcmd   8007 Oct 14  2011 mrtg.php~
-rw-r--r-- 1 nagios nagcmd   2656 Sep  4  2011 nagiosgraph.css
-rw-r--r-- 1 nagios nagcmd  40944 Sep  4  2011 nagiosgraph.js
-rw-r--r-- 1 nagios nagcmd     70 Sep  4  2011 nagiosgraph.ssi
-rwxr-xr-x 1 nagios nagcmd  11077 Jun 23 10:08 rdp.php
-rw-rw-r-- 1 nagios nagios     26 Sep  4 20:21 robots.txt
-rw-rw-r-- 1 nagios nagios    657 Sep  4 20:21 rss-corebanner.php
-rw-rw-r-- 1 nagios nagios   1071 Sep  4 20:21 rss-corefeed.html
-rw-rw-r-- 1 nagios nagios    898 Sep  4 20:21 rss-corefeed.php
-rw-rw-r-- 1 nagios nagios    544 Sep  4 20:21 rss-newsfeed.html
-rw-rw-r-- 1 nagios nagios   1068 Sep  4 20:21 rss-newsfeed.php
-rw-rw-r-- 1 nagios nagios   6280 Sep  4 20:21 side.php
-rw-rw-r-- 1 nagios nagcmd   6128 Apr 17  2013 side.php~
drwxrwxr-x 2 nagios nagios   4096 Sep  4 20:22 spin
drwxrwxr-x 2 nagios nagios   4096 Aug 20  2013 ssi
-rwxr-xr-x 1 nagios nagios 292800 Aug 21 09:34 status.cgi
drwxrwxr-x 2 nagios nagios   4096 Sep  4 20:21 stylesheets
-rw-rw-r-- 1 nagios nagios   4243 Sep  4 20:21 trends-form.html
-rw-rw-r-- 1 nagios nagios   4256 Sep  4 20:21 trends-graph.html
-rw-rw-r-- 1 nagios nagios    852 Sep  4 20:21 trends-host-yaxis.html
-rw-rw-r-- 1 nagios nagios   2990 Sep  4 20:21 trends.html
-rw-rw-r-- 1 nagios nagios   3586 Sep  4 20:21 trends-links.html
-rw-rw-r-- 1 nagios nagios   1065 Sep  4 20:21 trends-service-yaxis.html
[root@nagios ~]#     ls -ld /usr/local/nagios/share/d3/
drwxrwxr-x 2 nagios nagios 4096 Sep  4 20:22 /usr/local/nagios/share/d3/
[root@nagios ~]#     ls -l /usr/local/nagios/share/d3/
total 152
-rw-rw-r-- 1 nagios nagios 150760 Sep  4 20:22 d3.min.js
[root@nagios ~]#     ls -l /usr/local/nagios/share/angularjs/angular-1.3.9/
total 472
-rw-rw-r-- 1 nagios nagios 125229 Sep  4 20:22 angular.min.js
-rw-rw-r-- 1 nagios nagios 347254 Sep  4 20:22 angular.min.js.map
[root@nagios ~]#     ls -l /usr/local/nagios/share/angularjs/
total 76
drwxrwxr-x 2 nagios nagios  4096 Sep  4 20:22 angular-1.3.9
-rw-rw-r-- 1 nagios nagios 65175 Sep  4 20:22 ui-bootstrap-tpls-0.12.0.min.js
drwxrwxr-x 2 nagios nagios  4096 Sep  4 20:22 ui-utils-0.2.1
[root@nagios ~]#     ls -l /usr/local/nagios/share/angularjs/ui-utils-0.2.1
total 88
-rw-rw-r-- 1 nagios nagios 84014 Sep  4 20:22 ui-utils.js
[root@nagios ~]#     ls -ld /usr/local/nagios/share/spin/
drwxrwxr-x 2 nagios nagios 4096 Sep  4 20:22 /usr/local/nagios/share/spin/
[root@nagios ~]#     ls -l /usr/local/nagios/share/spin/
total 8
-rw-rw-r-- 1 nagios nagios 4143 Sep  4 20:22 spin.min.js
[root@nagios ~]#     ls -ld /usr/local/nagios/share/js/
drwxrwxr-x 3 nagios nagios 4096 Sep  4 20:21 /usr/local/nagios/share/js/
[root@nagios ~]#     ls -l /usr/local/nagios/share/js/
total 768
-rw-rw-r-- 1 nagios nagios   1868 Sep  4 20:21 histogram-events.js
-rw-rw-r-- 1 nagios nagios   4293 Sep  4 20:21 histogram-form.js
-rw-rw-r-- 1 nagios nagios  11261 Sep  4 20:21 histogram-graph.js
-rw-rw-r-- 1 nagios nagios   3694 Sep  4 20:21 histogram.js
-rw-rw-r-- 1 nagios nagios  93868 Sep  4 20:21 jquery-1.7.1.min.js
-rw-rw-r-- 1 nagios nagios 248235 Jan 19  2012 jquery.js
drw-rw-r-- 3 nagios nagios   4096 Jun 26 15:51 jquery-ui
-rw-rw-r-- 1 nagios nagios 210902 Jan 19  2012 jquery-ui.js
-rw-rw-r-- 1 nagios nagios  14205 Sep  4 20:21 jsonquery.js
-rw-rw-r-- 1 nagios nagios 100955 Sep  4 20:21 map-directive.js
-rw-rw-r-- 1 nagios nagios   1541 Sep  4 20:21 map-form.js
-rw-rw-r-- 1 nagios nagios   4984 Sep  4 20:21 map.js
-rw-rw-r-- 1 nagios nagios   2442 Sep  4 20:21 nagios-decorations.js
-rw-rw-r-- 1 nagios nagios   5680 Sep  4 20:21 nagios-time.js
-rw-rw-r-- 1 nagios nagios   4563 Sep  4 20:21 trends-form.js
-rw-rw-r-- 1 nagios nagios  18093 Sep  4 20:21 trends-graph.js
-rw-rw-r-- 1 nagios nagios   6449 Sep  4 20:21 trends.js
[root@nagios ~]#
Nope, there are not statuses other then 200:
Image

Here is Console log from GCh:

Code: Select all

SyntaxError: Unexpected number
    at Object.parse (native)
    at oc (http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:14:156)
    at Yb (http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:77:125)
    at http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:77:487
    at s (http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:7:302)
    at Yc (http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:77:469)
    at c (http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:79:109)
    at http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:112:343
    at l.c.$get.l.$eval (http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:126:193)
    at l.c.$get.l.$digest (http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js:123:286)
undefined

And here is Console Log of Mozilla from working PC3:

Code: Select all

GET http://10.14.2.96/nagios/map.html [HTTP/1.1 200 OK 4ms]
GET http://10.14.2.96/nagios/bootstrap-3.3.0/css/bootstrap.min.css [HTTP/1.1 200 OK 23ms]
GET http://10.14.2.96/nagios/bootstrap-3.3.0/css/bootstrap-theme.min.css [HTTP/1.1 200 OK 10ms]
GET http://10.14.2.96/nagios/stylesheets/common.css [HTTP/1.1 200 OK 6ms]
GET http://10.14.2.96/nagios/stylesheets/map.css [HTTP/1.1 200 OK 4ms]
GET http://10.14.2.96/nagios/stylesheets/map-directive.css [HTTP/1.1 200 OK 4ms]
GET http://10.14.2.96/nagios/d3/d3.min.js [HTTP/1.1 200 OK 36ms]
GET http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js [HTTP/1.1 200 OK 48ms]
GET http://10.14.2.96/nagios/angularjs/ui-bootstrap-tpls-0.12.0.min.js [HTTP/1.1 200 OK 40ms]
GET http://10.14.2.96/nagios/angularjs/ui-utils-0.2.1/ui-utils.js [HTTP/1.1 200 OK 43ms]
GET http://10.14.2.96/nagios/spin/spin.min.js [HTTP/1.1 200 OK 10ms]
GET http://10.14.2.96/nagios/js/map.js [HTTP/1.1 200 OK 12ms]
GET http://10.14.2.96/nagios/js/map-directive.js [HTTP/1.1 200 OK 38ms]
GET http://10.14.2.96/nagios/js/map-form.js [HTTP/1.1 200 OK 14ms]
GET http://10.14.2.96/nagios/js/nagios-decorations.js [HTTP/1.1 200 OK 12ms]
GET http://10.14.2.96/nagios/js/nagios-time.js [HTTP/1.1 200 OK 11ms]
GET http://10.14.2.96/nagios/images/menu.png [HTTP/1.1 200 OK 2ms]
Unknown pseudo-class or pseudo-element '-webkit-inner-spin-button'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. bootstrap.min.css:5
Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.min.css:5
Expected end of value but found '\9 '.  Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.min.css:5
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Expected end of value but found '�'.  Error in parsing value for 'line-height'.  Declaration dropped. bootstrap.min.css:5
Unknown pseudo-class or pseudo-element '-ms-fullscreen'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Unknown property 'touch-action'.  Declaration dropped. bootstrap.min.css:5
Unknown property 'user-select'.  Declaration dropped. bootstrap.min.css:5
Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5
Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5
Expected media feature name but found 'transform-3d'. bootstrap.min.css:5
Expected media feature name but found '-webkit-transform-3d'. bootstrap.min.css:5
Error in parsing value for 'perspective'.  Declaration dropped. bootstrap.min.css:5
Expected end of value but found '\9 '.  Error in parsing value for 'background-color'.  Declaration dropped. bootstrap.min.css:5
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap-theme.min.css:5
Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap-theme.min.css:5
Error in parsing value for 'padding'.  Declaration dropped. common.css:237
Error in parsing value for 'padding'.  Declaration dropped. common.css:240
Expected end of value but found '4'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:254
Expected end of value but found '4'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:255
Error in parsing value for 'padding'.  Declaration dropped. common.css:259
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:261
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:262
Error in parsing value for 'padding'.  Declaration dropped. common.css:266
Error in parsing value for 'padding'.  Declaration dropped. common.css:292
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:294
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:295
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:297
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:298
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:300
Expected end of value but found '5'.  Error in parsing value for 'padding'.  Declaration dropped. common.css:301
Unknown property '-moz-box-shadow'.  Declaration dropped. map.css:27
TypeError: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create d3.min.js:3
Error: http://10.14.2.96/nagios/angularjs/angular-1.3.9/angular.min.js is being assigned a //# sourceMappingURL, but already has one
GET http://10.14.2.96/nagios/infobox.html [HTTP/1.1 200 OK 3ms]
GET http://10.14.2.96/nagios/map-directive.html [HTTP/1.1 200 OK 3ms]
Error in parsing value for 'height'.  Declaration dropped. map.html
Error in parsing value for 'width'.  Declaration dropped. map.html
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 132ms]
GET http://10.14.2.96/nagios/map-links.html [HTTP/1.1 200 OK 3ms]
GET http://10.14.2.96/nagios/cgi-bin/objectjson.cgi [HTTP/1.1 200 OK 208ms]
GET http://10.14.2.96/nagios/map-popup.html [HTTP/1.1 200 OK 2ms]
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 131ms]
GET http://10.14.2.96/nagios/images/logos/gprs-modem.png [HTTP/1.1 200 OK 20ms]
GET http://10.14.2.96/nagios/images/logos/adslby.png [HTTP/1.1 200 OK 11ms]
GET http://10.14.2.96/nagios/images/logos/erip.png [HTTP/1.1 200 OK 14ms]
GET http://10.14.2.96/nagios/images/logos/apc_logo.png [HTTP/1.1 200 OK 11ms]
GET http://10.14.2.96/nagios/images/logos/asa5505.png [HTTP/1.1 200 OK 17ms]
GET http://10.14.2.96/nagios/images/logos/asa5510.png [HTTP/1.1 200 OK 9ms]
GET http://10.14.2.96/nagios/images/logos/telecom-solo.png [HTTP/1.1 200 OK 10ms]
GET http://10.14.2.96/nagios/images/logos/bankomat_logo.png [HTTP/1.1 200 OK 5ms]
GET http://10.14.2.96/nagios/images/logos/workstation.png [HTTP/1.1 200 OK 2ms]
GET http://10.14.2.96/nagios/images/logos/bft.png [HTTP/1.1 200 OK 11ms]
GET http://10.14.2.96/nagios/images/logos/bn_logo.png [HTTP/1.1 200 OK 16ms]
GET http://10.14.2.96/nagios/images/logos/mail.png [HTTP/1.1 200 OK 10ms]
GET http://10.14.2.96/nagios/images/logos/faxserver.png [HTTP/1.1 200 OK 7ms]
GET http://10.14.2.96/nagios/images/logos/hyper-v.png [HTTP/1.1 200 OK 10ms]
GET http://10.14.2.96/nagios/images/logos/symantec.png [HTTP/1.1 200 OK 22ms]
GET http://10.14.2.96/nagios/images/logos/bog_logo.png [HTTP/1.1 200 OK 4ms]
GET http://10.14.2.96/nagios/images/logos/besmart.png [HTTP/1.1 200 OK 7ms]
GET http://10.14.2.96/nagios/images/logos/beltelecom_logo.png [HTTP/1.1 200 OK 6ms]
GET http://10.14.2.96/nagios/images/logos/cucm.png [HTTP/1.1 200 OK 33ms]
GET http://10.14.2.96/nagios/images/logos/datakom_logo.png [HTTP/1.1 200 OK 22ms]
GET http://10.14.2.96/nagios/images/logos/dc.png [HTTP/1.1 200 OK 9ms]
GET http://10.14.2.96/nagios/images/logos/delta.png [HTTP/1.1 200 OK 6ms]
GET http://10.14.2.96/nagios/images/logos/c2960_logo.png [HTTP/1.1 200 OK 9ms]
GET http://10.14.2.96/nagios/images/logos/oracle_logo.png [HTTP/1.1 200 OK 9ms]
GET http://10.14.2.96/nagios/images/logos/falcongaze.png [HTTP/1.1 200 OK 14ms]
GET http://10.14.2.96/nagios/images/logos/fileserver.png [HTTP/1.1 200 OK 26ms]
GET http://10.14.2.96/nagios/images/logos/signal.png [HTTP/1.1 200 OK 2ms]
GET http://10.14.2.96/nagios/images/logos/wifi_ap.png [HTTP/1.1 200 OK 3ms]
GET http://10.14.2.96/nagios/images/logos/hpux.png [HTTP/1.1 200 OK 2ms]
GET http://10.14.2.96/nagios/images/logos/inet_logo.png [HTTP/1.1 200 OK 16ms]
GET http://10.14.2.96/nagios/images/logos/lifenet.png [HTTP/1.1 200 OK 7ms]
GET http://10.14.2.96/nagios/images/logos/router1.png [HTTP/1.1 200 OK 25ms]
GET http://10.14.2.96/nagios/images/logos/nagios_logo.png [HTTP/1.1 200 OK 8ms]
GET http://10.14.2.96/nagios/images/logos/nbrb_logo.png [HTTP/1.1 200 OK 7ms]
GET http://10.14.2.96/nagios/images/logos/redhat.png [HTTP/1.1 200 OK 3ms]
GET http://10.14.2.96/nagios/images/logos/life.png [HTTP/1.1 200 OK 7ms]
GET http://10.14.2.96/nagios/images/logos/mts.png [HTTP/1.1 200 OK 6ms]
GET http://10.14.2.96/nagios/images/logos/velcom.png [HTTP/1.1 200 OK 10ms]
GET http://10.14.2.96/nagios/images/logos/monitor.png [HTTP/1.1 200 OK 2ms]
GET http://10.14.2.96/nagios/images/logos/video-reg.png [HTTP/1.1 200 OK 6ms]
GET http://10.14.2.96/nagios/images/logos/c2911.png [HTTP/1.1 200 OK 9ms]
GET http://10.14.2.96/nagios/images/logos/c3500.png [HTTP/1.1 200 OK 4ms]
GET http://10.14.2.96/nagios/images/logos/modem.png [HTTP/1.1 200 OK 9ms]
GET http://10.14.2.96/nagios/cgi-bin/objectjson.cgi [HTTP/1.1 200 OK 152ms]
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 177ms]
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 159ms]
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 166ms]
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 138ms]
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 173ms]
GET http://10.14.2.96/nagios/cgi-bin/statusjson.cgi [HTTP/1.1 200 OK 138ms]
And here is screenshot of working map on PC3 in Mozilla (in IE11 doesn't work):
Image

P.S. If you want we can use TeamViewer for online troubleshooting.
Attachments
working-map-PC3.jpg
map2.jpg
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios 4.1.1 Statusmap problem

Post by ssax »

Doh! That's right, sorry about that. This is very strange behavior.

Have you tried clearing your cache, maybe it's a caching issue?

http://refreshyourcache.com/en/cache/


Long shot, but you don't have a proxy/filter in place that the connection is going through do you?
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Nagios 4.1.1 Statusmap problem

Post by whitest »

ssax wrote:Doh! That's right, sorry about that. This is very strange behavior.

Have you tried clearing your cache, maybe it's a caching issue?

http://refreshyourcache.com/en/cache/


Long shot, but you don't have a proxy/filter in place that the connection is going through do you?
It's not caching issue. I tried from 5-6 differnet PCs? cleared cache (Ctrl+F5) and cookies as well.

I don't use proxy.
Locked