Page 2 of 2

Re: Nagios XI and Nagvis Issues

Posted: Wed Jun 13, 2018 4:46 pm
by Christopheric1
Here is a new map that I just created:

define global {
alias=TestMap
object_id=0
}

Here are the steps that I take to create my map:

-I create my background with all the nice things on it (customized jpeg with all items typed out so I can add statuses next to them)
-Upload my background jpeg
-change my new map to have the background as the new jpeg in Map Options
-I go to edit and "lock/unlock all" to go into edit mode.
-I add the hosts I want to with my own blocks I created for the "up" "down" "warning" etc.
-I go in and change the "lock/unlock all" back to lock
-I go and turn off the header (I don't want to see it for my NOC screen)

After I do this, If I ever need to edit it for any reason, I can't just go into NagVis and start editing. I have to go to the .cfg file and make "header=0" back to "header=1". When I save it and go back to the map, half of the items are gone that I have put down. I have to try a bunch of things to finally get them to stay on there and not disappear.

I hope that helps a little bit?

Re: Nagios XI and Nagvis Issues

Posted: Thu Jun 14, 2018 8:50 am
by tgriep
The steps that you are doing seem like it should work.

It could be that when you need to edit a map, you should exit the Nagvis interface and go back in in case it is caching the data and removing the items that are in the map.
Also, what are the steps you are doing to turn off the Header?

Re: Nagios XI and Nagvis Issues

Posted: Thu Jun 14, 2018 9:25 am
by Christopheric1
Okay, I will try and do that next time, but it doesn't matter if I am in it or not. I watch my NOC screen and they disappear off of that. To lock it, I either go back into the config and change header=0 to header=1 or I try to do it from the menu. Sometimes in the menu it will not work to turn it off and ends up creating that second "Global" piece inside of the cfg.

Re: Nagios XI and Nagvis Issues

Posted: Fri Jun 15, 2018 1:53 pm
by tgriep
If this the option you are editing in the map config file?

Code: Select all

header_menu=1

Re: Nagios XI and Nagvis Issues

Posted: Fri Jun 15, 2018 2:23 pm
by Christopheric1
Yes it is

Re: Nagios XI and Nagvis Issues

Posted: Fri Jun 15, 2018 2:50 pm
by tgriep
Thanks for confirming the option you are editing.
Let us know if you have any further questions and if it happens again, can you post the map configuration file with the errors in it?

Re: Nagios XI and Nagvis Issues

Posted: Mon Jun 18, 2018 8:56 am
by Christopheric1
I will post errors if I see them, but I haven't through this whole process. The only thing I can help post is the global config after it does its weird thing. Thanks for the help and troubleshooting with me!

Re: Nagios XI and Nagvis Issues

Posted: Mon Jun 18, 2018 1:19 pm
by tgriep
Your welcome.