NagVis cannot modify object on map (after upgrade)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagVis cannot modify object on map (after upgrade)

Post by benjaminsmith »

Hi,

Thanks for sending that over, I'm going through the files right now, and I will follow up shortly.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagVis cannot modify object on map (after upgrade)

Post by benjaminsmith »

Hi,

I was able to copy over the configs and nagvis files, and edit the graphs. However, it is still configured to not use the default backend. Please set up to use the default nagiosxi backend as suggested and re-start the Apache webs server afterwords.

Also, remove the old cache files from the new server, the are the cache-defs files from this folder /usr/local/nagvis/var.

And remove the following cached configuration file.

Code: Select all

nagvis-conf-pre-user-1.9.8-cache
Let us know if it is working for you now.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
trenz.sands.cz
Posts: 9
Joined: Sun Dec 20, 2020 1:39 pm

Re: NagVis cannot modify object on map (after upgrade)

Post by trenz.sands.cz »

I am sorry, but this didn't help again.

I did this and still same issue:

nagiosxi backend settings in Web GUI

Code: Select all

rm -rf /usr/local/nagvis/var/
mkdir -p /usr/local/nagvis/var/tmpl/compile/usr/local/nagvis/share/userfiles/templates/
mkdir -p /usr/local/nagvis/var/tmpl/cache/
chown -R apache. /usr/local/nagvis/var/tmpl
service httpd restart
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagVis cannot modify object on map (after upgrade)

Post by benjaminsmith »

Hi,

What about the nagvis.ini.php file, did you replace that with the stock default file posted in an earlier thread?

Let's try a simple test to make sure the database is working correctly. Try to create a new basic map to see if that works and you can access the objects. There's a possibility the database was not migrated properly here.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
trenz.sands.cz
Posts: 9
Joined: Sun Dec 20, 2020 1:39 pm

Re: NagVis cannot modify object on map (after upgrade)

Post by trenz.sands.cz »

and if it is bad migrated ? what to do ?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagVis cannot modify object on map (after upgrade)

Post by benjaminsmith »

Hi,

There's a chance the data did not get carried over properly, perhaps due to table settings.

Were you able to create a test map on the new server? When you check the statuses in the XI interface and Nagvis, do the objects match?

Let us know and we'll determine the next best steps here.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!