New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard | Widget Map - Engine Leaflet - Don't loading Up+Down #5585

Closed
dneto82 opened this Issue Jan 24, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@dneto82

dneto82 commented Jan 24, 2017

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.

Please confirm each of the sections below by putting an x in the box like [x].

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==================================== section of ./validate.php which you can run from the cli.
  • Unless your issue is for a WebUI fix or feature then please provide ALL info asked for here.
  • Please provide as much detail as possible.
  • Please do NOT post more than 10 lines of debug information here, use a pastebin service or GitHub Gists.

My Version:

Component Version
LibreNMS 3c0a210
DB Schema 157
PHP 7.0.14-pl1-gentoo
MySQL 5.7.12
RRDTool 1.6.01.6.0
SNMP NET-SNMP 5.7.3
==========================================================

The problem:

Overview page not loading map, when I have a lot of nodes.

Screenshot of Problem
Screenshot with only down Devices

Developer Console showing errors:

link:

Maybe the problem is related with some data of my locations (sysLocation). Because before, everything was working, but when I add more nodes on last days. I'll check again all data of them.

@dneto82

This comment has been minimized.

Show comment
Hide comment
@dneto82

dneto82 Jan 25, 2017

Hi Guys,

As I suspected (and @laf guessed ) , it was really related to my location data. The problem is that despite all other parts of the system are capable of handling atypical characters, maps can't.

I identified two problems in my data, that when fixed in the device, the map came back perfectly:

  1. [0,0] Coordinates like this are not interpreted by the map engine. Although they should, as they are point 0 (near to Guine Gulf).

  2. (') Apostrophe. Here in Brazil the use is common, so we have many localities like cities and districts that have the (') in the name, example: "Barbara D' Oeste".

I do not know if it is easy fix. Anyway, it's a lesson pay attention in our location.

Thank you for amazing support!

capture

capture-2

capture2-2

capture-3

capture-4

dneto82 commented Jan 25, 2017

Hi Guys,

As I suspected (and @laf guessed ) , it was really related to my location data. The problem is that despite all other parts of the system are capable of handling atypical characters, maps can't.

I identified two problems in my data, that when fixed in the device, the map came back perfectly:

  1. [0,0] Coordinates like this are not interpreted by the map engine. Although they should, as they are point 0 (near to Guine Gulf).

  2. (') Apostrophe. Here in Brazil the use is common, so we have many localities like cities and districts that have the (') in the name, example: "Barbara D' Oeste".

I do not know if it is easy fix. Anyway, it's a lesson pay attention in our location.

Thank you for amazing support!

capture

capture-2

capture2-2

capture-3

capture-4

laf added a commit to laf/librenms that referenced this issue Jan 29, 2017

@laf

This comment has been minimized.

Show comment
Hide comment
@laf

laf Jan 29, 2017

Member

I've submitted a pull request to fix [0,0] being valid.

However I can't get the map to break using ' within the sysLocation - if you can share a fully working (broken) example we can check further.

Member

laf commented Jan 29, 2017

I've submitted a pull request to fix [0,0] being valid.

However I can't get the map to break using ' within the sysLocation - if you can share a fully working (broken) example we can check further.

@lock

This comment has been minimized.

Show comment
Hide comment
@lock

lock bot May 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

lock bot commented May 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

@lock lock bot locked as resolved and limited conversation to collaborators May 18, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.