I have successfully installed Icinga, Icingaweb2 and Director on freshly installed Debian9. Althought there were a couple problems along the process, everything worked fine.
I installed NagVis and NagVis Icinga module. It also worked fine.
But then I’ve decide to move Icingaweb2 from /icingaweb2 to the root directory of my server. Now the whole system available at icinga.xxxxxx.ru
The problem is that NagVis no more seems to be working when one try to open a map in the Icingaweb interface.
Server returns an error:
The requested URL /nagvis/show/map was not found on this server.
But the Nagvis itself is working if I open /nagvis, I believe there may be possible problems with nagvis module.
I haven’t found any options to change, except this one in nagvis.ini.php:
I tried to change this to “/” but no luck.
I’ve found this thread https://monitoring-portal.org/woltlab/index.php?thread/37225-solved-icinga-web2-nagvis-integration/
TS had same problem, then he figured it out. But obviously he thought this is too simple problem not worth to post a solution.
I’ll be grateful if anyone help me with that.