Hello,
I would like to activate the Nagvis module, but I have a problem. Here is the error message I have on Icinga web:
While on my Icinga server, I have the following information:
~# icingacli module list
MODULE VERSION STATE DESCRIPTION
director 1.11.3 enabled Director - Config tool for Icinga 2
idoreports 0.10.0 enabled Reports for IDO
incubator 0.22.0 enabled Incubator provides bleeding-edge libraries
monitoring 2.11.3 enabled Icinga monitoring module
nagvis 1.1.1 enabled NagVis integration
pdfexport 0.10.2 enabled PDF Export via Google Chrome/Chromium
reactbundle 0.9.0 enabled ReactPHP-based 3rd party libraries
reporting 0.10.0 enabled Reporting
Here is some additional information about my Icinga:
~# icingacli version
Icinga Web 2 2.11.3
Git Commit f917436a894c1f4148a9c3d6a27f9c20f204e44f
PHP Version 7.4.33
MODULE VERSION
director 1.11.3
idoreports 0.10.0
incubator 0.22.0
monitoring 2.11.3
nagvis 1.1.1
pdfexport 0.10.2
reactbundle 0.9.0
reporting 0.10.0
I am on Debian 12
Thank you in advance for your help. Feel free to ask if you need any additional information.
there is a problem in the module.info in this release:
Name: NagVis
Version: 1.1.1
Depends: monitoring>=2.0.0
Description: NagVis integration
NagVis is a visualization addon for Icinga or Nagios. It can be used
to visualize monitoring data in combination with all kinds of pictures
or maps. This allows to show the state of your infrastructure in many
different creative ways.
This module requires NagVis to be configured and installed. It provides
an additional authentication-, authorisation and logon implementation
for NagVis.
you can replace the depends line with this:
Depends: monitoring (>=2.0.0)
or try the master branch of this module, if there are still issues with the newer versions of monitoring or icingaweb2
Thank you, I no longer have the error message, now i can enable the module correctly. However, I still have a problem: when I click on maps in the menu, the display duplicates, whereas I should normally see the map that is in my files on my Icinga server.
did you try the master?
the release is like 7 years old.
I just did it, but I still have the same problem. The only thing that has changed is that I now have a menu that opens.
I think you have some strange apache2/nginx redirecting config in place.
the url that the nagvis module is trying to reach is:
/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=demo-overview&header_menu=0
can’t do more for you since I do not use nagvis