Nagios XI and Nagvis Issues

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Christopheric1
Posts: 16
Joined: Wed May 02, 2018 6:06 pm

Nagios XI and Nagvis Issues

Post 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,
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI and Nagvis Issues

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Christopheric1
Posts: 16
Joined: Wed May 02, 2018 6:06 pm

Re: Nagios XI and Nagvis Issues

Post 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.
Attachments
Map Settings
Map Settings
Blank Error
Blank Error
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI and Nagvis Issues

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Christopheric1
Posts: 16
Joined: Wed May 02, 2018 6:06 pm

Re: Nagios XI and Nagvis Issues

Post 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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI and Nagvis Issues

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Christopheric1
Posts: 16
Joined: Wed May 02, 2018 6:06 pm

Re: Nagios XI and Nagvis Issues

Post 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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI and Nagvis Issues

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Christopheric1
Posts: 16
Joined: Wed May 02, 2018 6:06 pm

Re: Nagios XI and Nagvis Issues

Post 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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI and Nagvis Issues

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked