Internal Server Error Nagvis on Icinga WEB2


I’m currently trying to install Nagvis on my Icingaweb2 page, and I’ve followed this whole tutorial.

Unfortunately, once everything’s done, my nagvis page is totally empty without anything. The only thing I can take from it is a failed GET request with a 500 INTERNAL SERVER ERROR, supposely is from the server, the error is on this following request:
GET http://------/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=demo-overview&header_menu=0

My configuration is the exact same one as the example.
I’m also using the ndomy backend for ido-mysql, for the monitoring icingaweb module.

Nothing is shown, not even the Login page due to this error. I can’t understand fully why.

Thanks in advance for your help.

  • Icinga Web 2 version: v2.11.1
  • Used modules (System - About): Monitoring v2.11.1 - Nagvis v1.1.1
  • Web browser used: Firefox v96.0.1
  • Icinga 2 version used (icinga2 --version) 2.13.2-1
  • PHP version used (php --version) 7.4.6

Due to the implementation of IcingaDB, there where several changes in Icingaweb and also many modulues had to be adjusted. As the nagvis module got the last release in 2017, I think, it is currently not in active maintanance and not compatible with the current Icingaweb2 version. Maybe @elippmann can clarify the situation here.

you can try and checkout the master branch of this module, there are recent patches, but I did not evaluate if these fixes are relevat to your problem

Thanks, I’m going to try it, if it doesn’t, I will keep you updated.

Unfortunately, the problem is still relevant after the integration of master branch of Icingaweb2-module-nagvis.

The latest version of the NagVis module is still compatible with current Icinga web versions when using the monitoring module. Only Icinga DB support requires using the main/master branch.

Please take a look at the logs.