NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
115 stars 74 forks source link

Loading... on top, that never finishes #160

Closed gmourani closed 5 years ago

gmourani commented 6 years ago

Hello,

nagvis = 1.9.8 centos = 6.9 apache = 2.2.34 php = 5.6.33 No error message or javascript in the web server log file or browser. Same problem on all browser

When I start Nagvis, it shows a "Loading..." on top, but never finishes with the task.

Regards,

T100D commented 6 years ago

I run a busy server, and sometimes a nagvis map update clears the file. Are your map files in /usr/loca//nagvis/etc/maps alright?

gmourani commented 6 years ago

Yes, but I think I found something with MK Livestatus. Seem that it's not working as expected and this make Nagvis not to display the map. I've to make more tests on this.

T100D commented 6 years ago

This is in our /usr/local/nagvis/etc/nagvis.ini.php file

[backend_live_1]
  backendtype="mklivestatus"
  socket="unix:/usr/local/nagios/var/rw/live"

The live folder has special permission on it.

drwxrwsr-x. 2 nagios nagcmd 4096 Jul 16 13:12 rw

wernerfred commented 6 years ago

We had the same issue but we figured out that if you zoom in or out with your mouse wheel it immediately loads the map and shows all points. Maybe this info helps the devs in finding the problem causing lines of code or you as a workaround for your endless loading maps.

wernerfred commented 6 years ago

Since using this changes: https://github.com/NagVis/nagvis/issues/162 the problem is gone at our installation

LarsMichelsen commented 5 years ago

Should be fixed.