World Map

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

World Map

Post by optionstechnology »

Is there any documentation for the new world map button?

How it runs? or how its configured? or what link it needs to the tiles?

All the info I can find is for https://exchange.nagios.org/directory/A ... nt/details

Is it the same as this but with a different component name?

I can see it show up in the components but there is no options to configure

I cant find any mention of it in your help files or documentation....


Does it use the 2D coords box on the Misc settings tab? or does it use the notes field?

Am I able to chart a service as a line between devices?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: World Map

Post by scottwilkerson »

The first time you load the map the below dialog box should appear
world_map.JPG
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Re: World Map

Post by optionstechnology »

All I get is a gray map - I assume there is a map tile server that I need access to?

Do you know the URL for it?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: World Map

Post by scottwilkerson »

They are subdomains of

Code: Select all

.global.ssl.fastly.net
some are

Code: Select all

https://cartodb-basemaps-a.global.ssl.fastly.net
https://cartodb-basemaps-b.global.ssl.fastly.net
https://cartodb-basemaps-c.global.ssl.fastly.net
https://cartodb-basemaps-d.global.ssl.fastly.net
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: World Map

Post by scottwilkerson »

looking at the code, it is just those 4 sub-domains
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Re: World Map

Post by optionstechnology »

I am able to access all of the required sites from the command line, both via telnet and wget (see below).

Just when I'm on the front end on World Map nothing loads in the background and I see ERR_CONNECTION_TIMEOUT errors in the developer tools console.
cartodb-basemaps-c.global.ssl.fastly.net/light_all/9/122/184.png:1 GET https://cartodb-basemaps-c.global.ssl.f ... 22/184.png net::ERR_CONNECTION_TIMED_OUT

Code: Select all

[root@localhost nagios]# telnet global.ssl.fastly.net 80
Trying 151.101.0.249...
Connected to global.ssl.fastly.net.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[root@localhost nagios]#
[root@localhost nagios]#
[root@localhost nagios]# telnet global.ssl.fastly.net 443
Trying 151.101.0.249...
Connected to global.ssl.fastly.net.
Escape character is '^]'.
^[quit
Connection closed by foreign host.
[root@localhost nagios]#
[root@localhost nagios]#
[root@localhost nagios]#
[root@localhost nagios]# telnet cartodb-basemaps-a.global.ssl.fastly.net 80
Trying 151.101.129.194...
Connected to cartodb-basemaps-a.global.ssl.fastly.net.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[root@localhost nagios]#
[root@localhost nagios]#
[root@localhost nagios]# wget https://cartodb-basemaps-a.global.ssl.fastly.net
--2019-12-12 09:19:41--  https://cartodb-basemaps-a.global.ssl.fastly.net/
Resolving cartodb-basemaps-a.global.ssl.fastly.net... 151.101.193.194, 151.101.1.194, 151.101.65.194, ...
Connecting to cartodb-basemaps-a.global.ssl.fastly.net|151.101.193.194|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2346 (2.3K) [text/html]
Saving to: âindex.html.8â

100%[===============================================>] 2,346       --.-K/s   in 0s

2019-12-12 09:19:41 (62.7 MB/s) - âindex.html.8â


Any ideas? Everything looks fine on our end unless I'm missing something.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: World Map

Post by mbellerue »

When you perform the wget, what is the actual content of index.html? Can you post that as a .txt file?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Re: World Map

Post by optionstechnology »

Here you go
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: World Map

Post by ssax »

Please run this command from the CLI of the XI server (as root) and LEAVE IT RUNNING:

Code: Select all

tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Then open up your browser and go to the worldmap page to replicate the gray screen, refresh it a couple times.

Then send us the entire output.

This is likely an issue with your web browser (please try firefox with the proxy option disabled or another browser if using IE) and a proxy or a web gateway blocking the XHR/Ajax request (which is what you see), that request should be sending from your browser through XHR/Ajax not from the XI server so it's likely your own computer that is blocked by a proxy/gateway.
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Re: World Map

Post by optionstechnology »

I'm not getting any output from that command and I was able to replicate the gray screen:

Code: Select all

[root@hostname nagios]# date
Thu Jan  2 17:20:09 EST 2020
[root@hostname nagios]#
[root@hostname nagios]# tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log
==> /var/log/httpd/error_log <==

==> /var/log/httpd/ssl_error_log <==
^C
[root@hostname nagios]#
[root@hostname nagios]#
[root@hostname nagios]# date
Thu Jan  2 17:25:08 EST 2020

Anything else we can try here?
Locked