Page 1 of 2

NagVis does not Provide Background Option when Creating Map

Posted: Tue Aug 07, 2018 11:34 am
by rmc123
I am trying to create a new NagVis map with a background image. I am able to successfully upload the image file.

I have the ability to upload and delete backgrounds under NagVis' Options > Manage Backgrounds. However when I go to Options > Manage Maps > Create Map there is no option to add a background as I am seeing in multiple online NagVis tutorials. The only options I have under Create Map are ID (Internal Name), Alias, and Map Type (drop down menu - using option Regular Map)

My account has admin privileges

Nagios Version is 5.5.2

I am not sure how to check the NagVis version

Re: NagVis does not Provide Background Option when Creating

Posted: Tue Aug 07, 2018 2:31 pm
by lmiltchev
Have you tried going to Edit Map > Map Options > Appearance > map_image > select your image (background), and clicking on "Save"?

Re: NagVis does not Provide Background Option when Creating

Posted: Wed Aug 08, 2018 7:34 am
by rmc123
Edit Map is not an option for me either. Is that under the Actions menu? I seem to be missing that entire menu.

Re: NagVis does not Provide Background Option when Creating

Posted: Wed Aug 08, 2018 8:47 am
by lmiltchev
When you login NagVis and click on your newly added map, you should be able to view 4 menus on top - Open, Actions, Edit Map, and Options...

I wonder if for some reason NagVis didn't upgrade for you to the latest version. What is the output of the following command?

Code: Select all

grep -i const_version /usr/local/nagvis/share/server/core/defines/global.php

Re: NagVis does not Provide Background Option when Creating

Posted: Wed Aug 08, 2018 12:50 pm
by rmc123
define('CONST_VERSION', '1.9.8')

Re: NagVis does not Provide Background Option when Creating

Posted: Thu Aug 09, 2018 9:36 am
by lmiltchev
Go to Options > Manage Maps > Create Map, type "test" in the ID (Internal Name) text-box, leave Map Type = Regular map (don't change the default), and click on Create. What menus do you see now? You should see Open, Actions, Edit Map, and Options. Can you show us a screenshot of this page?
My account has admin privileges
Do you have the same issues when you log in as nagiosadmin?

Log in as nagiosadmin, click on NagVis > User menu > Manage Users, select your user from the Name drop-down menu under the Modify User section, and check to see if the user is defined Administrators role.

Re: NagVis does not Provide Background Option when Creating

Posted: Fri Aug 10, 2018 9:01 am
by rmc123
This is what the NagVis interface looks like from the nagiosadmin account, and across every other admin account we have:

https://i.imgur.com/GfmvfdL.png

Re: NagVis does not Provide Background Option when Creating

Posted: Fri Aug 10, 2018 9:20 am
by lmiltchev
Have you created a "test" map as I suggested? If you did, can you click on it and see if the Edit Map menu shows up?

Re: NagVis does not Provide Background Option when Creating

Posted: Fri Aug 10, 2018 10:59 am
by rmc123
Ah, I see it now, thank you.

Re: NagVis does not Provide Background Option when Creating

Posted: Fri Aug 10, 2018 11:11 am
by lmiltchev
Great! Is it OK then to lock this topic?