Page 1 of 2

Nagios XI and Nagvis Issues

Posted: Fri Jun 08, 2018 1:48 pm
by Christopheric1
I have Nagios XI Version 5.4.13 and it had NagVis 1.5.9. I needed some of the features in NagVis 1.8.1 and up so I decided to upgrade it to the latest 1.9.8. Ever since then, I have had a lot of weird errors on creating maps and the editing of the maps. I was told from support that it is getting integrated into the latest version of Nagios, but until then I need a solution to get my maps working as we use it for monitoring our infrastructure.

Any help getting this to work, or even on how to downgrade it again would be extremely helpful. I can't do a restore on it since I have done a lot of things after the fact that I don't want to have to redo again.

Thanks,

Re: Nagios XI and Nagvis Issues

Posted: Fri Jun 08, 2018 2:22 pm
by tgriep
Can you post a screen capture of the errors that you are having when you are creating or editing the maps in Nagvis?
When you see an error, check the Apache log files in the /var/log/httpd folder and post them here so we can see the errors.
I would guess that you may not be able to downgrade Nagvis as the config files and options would not be compatible.

Re: Nagios XI and Nagvis Issues

Posted: Fri Jun 08, 2018 3:43 pm
by Christopheric1
I didn't see any errors when I try and click on the map I created. It is just blank. I have attached a couple pictures of settings and also the blank part.

Re: Nagios XI and Nagvis Issues

Posted: Mon Jun 11, 2018 10:46 am
by tgriep
First thing to try is to re-add the image and see if that fixes the issue.

Then run this as root on the Nagios server.

Code: Select all

tail -f /var/log/httpd/*_log
View the Nagvis page and if you see any errors in the tail screen, post them here.

Re: Nagios XI and Nagvis Issues

Posted: Mon Jun 11, 2018 11:04 am
by Christopheric1
The first weird thing is that if I change the map to none, it will still show the map as what it is currently. I have to go into the config under /usr/local/nagvis/etc/maps/map.cfg and it has multiple entries in there with all the settings I changed. I have to delete all of them except for the one that I want. I can then refresh the map and it will show the right settings.

I didn't get anything from the error logs

Re: Nagios XI and Nagvis Issues

Posted: Mon Jun 11, 2018 4:26 pm
by tgriep
I tried to see if I could replicate what you are seeing and I could not.
I am running a different version than you are so there may be some bug fixes which is why I don't see the issue.
Are you creating a new map or are you copying an existing one that has the multiple entries?

Re: Nagios XI and Nagvis Issues

Posted: Mon Jun 11, 2018 4:58 pm
by Christopheric1
It is for a brand new map and it happens to the existing ones as well. My Nagios XI version is 5.4.13 and I separately updated my NagVis to 1.9.8 before I knew it was going to cause this big of an issue.

Re: Nagios XI and Nagvis Issues

Posted: Tue Jun 12, 2018 2:22 pm
by tgriep
I think I finally recreated the issue.
Try this, edit the Map and uncheck the Zoom option. Save it out and re-click on the Map Link to refresh the page.
Does the image show up?

Re: Nagios XI and Nagvis Issues

Posted: Tue Jun 12, 2018 2:33 pm
by Christopheric1
I had to go to my .cfg file and edit it as everytime I make a change within Nagvis in Nagios XI, it creates a whole new "Global" config under the one I have. I deleted the old one and then refreshed my Nagvis and it did show up! I am not sure what else to do about my extra configs every time I make a change though.

Re: Nagios XI and Nagvis Issues

Posted: Wed Jun 13, 2018 2:25 pm
by tgriep
Can you provide the steps you are taking when you create a new map?
Also, can you post the map config file here before you edit it?
Thanks.