Nagvis - Map Options not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paddymccoy
Posts: 8
Joined: Wed Apr 11, 2018 4:29 am

Nagvis - Map Options not working

Post by paddymccoy »

Hi,

I recently upgrade our NagiosXI to 5.6.14.
However I have encountered an issue with Nagvis.
We are currently running off NagVis Version 1.9.8.

I am now unable to change backgrounds from the map options.
Looking further into it it looks like I am not able to change any map options.

The map options is usable and you can use drop downs. However if you select anything and save it does not accept.
Everything remains the same.

I have been able to change the background via the box however is there a known issue with using the GUI?

Regards,

Paddy McCoy

Version Information
NagVis Version 1.9.8
PHP Version 5.4.16
MySQL Version mysql Ver 15.1 Distrib 5.5.65-MariaDB, for Linux (x86_64) using readline 5.1
OS Linux 3.10.0-1127.13.1.el7.x86_64 #1 SMP Fri Jun 12 14:34:17 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
Webserver Information
SERVER_SOFTWARE Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.4.16
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagvis - Map Options not working

Post by benjaminsmith »

Hi Paddy,

Can you load the NagVis, run the following tail command, and post the output to the thread?

Code: Select all

tail -f/var/log/httpd/error_log
Thanks, Ben
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!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis - Map Options not working

Post by ssax »

In addition to what @bsmith posted (please read it). If you're seeing any errors, please post them.

Replicate the issue again so your profile picks up the logs, then:

Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.

Please include this file:

Code: Select all

/usr/local/nagvis/etc/nagvis.ini.php
If this is only for a specific map, please include the map from /usr/local/nagvis/etc/maps.

Thank you!
paddymccoy
Posts: 8
Joined: Wed Apr 11, 2018 4:29 am

Re: Nagvis - Map Options not working

Post by paddymccoy »

Request for further information sent
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagvis - Map Options not working

Post by benjaminsmith »

Hi,

THanks for the profile, to troubleshoot this further can run the following tail command, and try to update the settings in NagVis:

Code: Select all

tail -f /var/log/httpd/*error_log
this should picked any errors related to php/apache. We'll also need the NagVis configuration file.

Code: Select all

/usr/local/nagvis/etc/nagvis.ini.php
Additionally, open up the developer tools in your browser. For example, in Google Chrome, right-click with your mouse and select inspect, then select Sources > Network > All, and post a screenshot. I want to confirm if anything is not able to load. Thanks, Benjamin
nagvis-developer-tools.png
You do not have the required permissions to view the files attached to this post.
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!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis - Map Options not working

Post by ssax »

Please edit your /usr/local/nagvis/etc/maps/IT_Assist_Halloween.cfg file and remove this line:

Code: Select all

backend_id=ndomy_1
paddymccoy
Posts: 8
Joined: Wed Apr 11, 2018 4:29 am

Re: Nagvis - Map Options not working

Post by paddymccoy »

Followed up with PM
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis - Map Options not working

Post by ssax »

Go to Home > Nagvis:
- Click Options > Manage Backends
- Select nagiosxi for the default backend
- Click Save

Now test again.

If that still doesn't fix it, please attach this file so I can make sure everything is setup properly:
- I requested this before but I do not see it attached or in any PMs

Code: Select all

/usr/local/nagvis/etc/nagvis.ini.php
paddymccoy
Posts: 8
Joined: Wed Apr 11, 2018 4:29 am

Re: Nagvis - Map Options not working

Post by paddymccoy »

Tried

Go to Home > Nagvis:
- Click Options > Manage Backends
- Select nagiosxi for the default backend
- Click Save

No resolution. PM sent with nagvis.ini.php file
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis - Map Options not working

Post by ssax »

There is nothing attached to your last post or in the PM, please resend this file:

Code: Select all

/usr/local/nagvis/etc/nagvis.ini.php
Locked