Nagvis - Geomap Error 500

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nuclearbass
Posts: 4
Joined: Wed Jan 27, 2021 3:29 am

Nagvis - Geomap Error 500

Post by nuclearbass »

Hello,

We're having an issue since the first installation of NagiosXI and even after updating it.
When creating a Geomap on Nagvis, the display works well. But an error message comes instantly saying :
Got empty response from server (code: 500). Take a look at the web server error log for details.
When looking to the /var/log/httpd/error_log we have this :
[Wed Jan 27 11:15:10.576602 2021] [:error] [pid 1839] [client 10.10.101.249:20011] PHP Fatal error: Call to a member function fetch() on a non-object in /usr/local/nagvis/share/server/core/classes/GlobalBackendPDO.php on line 488, referer: http://10.10.101.103/nagvis/frontend/na ... ow=Geotest
I don't understand what is happening.
NagiosXI is running on 5.8.1 and it seems Nagvis is running on 1.9.8 ( but 1.9.23 is available) ;
For everything I read, we can't upgrade nagvis alone when we're using nagiosXI right?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagvis - Geomap Error 500

Post by benjaminsmith »

Hi,

NagVis is a third party product and specific versions are integrated into Nagios XI, so it doesn't always have the latest release.

What operating system are you using? I just set up a quick test on Cent 7 running XI 5.8.1, and it seems to be working.

Best Regards,
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!
nuclearbass
Posts: 4
Joined: Wed Jan 27, 2021 3:29 am

Re: Nagvis - Geomap Error 500

Post by nuclearbass »

It's a Centos-7. I installed the .ova file from the previous release, then upgraded nagiosXI from the GUI.
Nagvis works fine when it comes to the rest. But it's only the geomap part which is not working.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis - Geomap Error 500

Post by ssax »

This is working properly on my EL7 system.

Please run this command as root and PM me the resulting /tmp/NAGVISFILES.zip file:

Code: Select all

zip -r /tmp/NAGVISFILES.zip /usr/local/nagvis
What PHP version are you running?

Code: Select all

php -v
nuclearbass
Posts: 4
Joined: Wed Jan 27, 2021 3:29 am

Re: Nagvis - Geomap Error 500

Post by nuclearbass »

Hello,

Result of the command is :
PHP 5.4.16 (cli) (built: Apr 1 2020 04:07:17)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
I'll send it to you right now by email.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis - Geomap Error 500

Post by ssax »

Please try this:

Code: Select all

mv /usr/local/nagvis/etc/worldmap.db /usr/local/nagvis/etc/worldmap.db.OLD
Then go back to Home > Nagvis and see if that works.
nuclearbass
Posts: 4
Joined: Wed Jan 27, 2021 3:29 am

Re: Nagvis - Geomap Error 500

Post by nuclearbass »

Thanks, that seems to work :)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagvis - Geomap Error 500

Post by scottwilkerson »

nuclearbass wrote:Thanks, that seems to work :)
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked