Page 1 of 1

Nagvis: Is there a way to display "Nagvis only"?

Posted: Fri Sep 10, 2021 3:51 am
by KDA
Hi

In our Nagios Xi implementation, our entry point is a one of several Nagvis pages... after which we drill down to Nagios Xi host/services when needed.

But: When we are in "Nagvis mode"; is there a way to hide the "Nagios menus" (primarily the left hand side vertical menu, as it occupies a lot of real estate on the screen?)

I have found ways to hide the "page display" of Nagvis (the little blue triangle with the "+") + hide the horizontal Nagios header menu... but is there a similar option somewhere for the main/left hand side vertical Nagios menu?

regards
Håkon

Re: Nagvis: Is there a way to display "Nagvis only"?

Posted: Fri Sep 10, 2021 5:20 pm
by ssax
What page are you going to from Nagvis that is showing the left navigation in XI? Are you clicking on a service or what are you clicking on in Nagvis?

When I login to XI and then click on Nagvis, then click the little blue triangle with the + in it that should hide the top and left XI navigation.

What is the exact URL that you are accessing from your entry point? Are you going to Nagvis (https://YOURXISERVER/nagvis/) or using the home page modification to redirect to the nagvis page?

What XI version are you running?

Re: Nagvis: Is there a way to display "Nagvis only"?

Posted: Tue Sep 14, 2021 6:59 am
by KDA
Hi

>What is the exact URL that you are accessing from your entry point? Are you going to Nagvis (https://YOURXISERVER/nagvis/) or using the home >page modification to redirect to the nagvis page?

To be honest, it did not occur to me that i could go directly to "https://x.y.z.q/nagvis/... I have always selected Nagvis from Nagios XI's main screen. Thanks, the that takes care of a number of my issues! :D

However, I am still presented with a "Map index" menu + a "Rotation Pool" menu (which I have found how to get rid of in the nagvis.php file)...however, what i want is to go straight to my "Top_level" map. Is there a way to configure an "entry point map" or will I have to start by something like this:

http://x.y.z.q/nagvis/frontend/nagvis-j ... =Top_level

>What XI version are you running?

# systemctl status nagios
● nagios.service - Nagios Core 4.4.6

Re: Nagvis: Is there a way to display "Nagvis only"?

Posted: Tue Sep 14, 2021 5:25 pm
by ssax
You could technically edit this file:

Code: Select all

/usr/local/nagvis/etc/nagvis.ini.php
And add these under the [global] section:

Code: Select all

startmodule="Map"
startshow="YourMapName"
NOTE: This is a global change and will make all XI users use that as well when they click on the Nagvis link in XI.

Re: Nagvis: Is there a way to display "Nagvis only"?

Posted: Wed Sep 22, 2021 2:04 am
by KDA
Thank you, this did the trick 8-)

Re: Nagvis: Is there a way to display "Nagvis only"?

Posted: Wed Sep 22, 2021 5:05 pm
by benjaminsmith
Thank you, this did the trick 8-)
Super! We'll go ahead and close this out but feel free to open another if you have any new questions.