Page 1 of 1

Nagvis - Map Options not working

Posted: Wed Jul 29, 2020 5:25 am
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

Re: Nagvis - Map Options not working

Posted: Wed Jul 29, 2020 5:37 pm
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

Re: Nagvis - Map Options not working

Posted: Wed Jul 29, 2020 5:39 pm
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!

Re: Nagvis - Map Options not working

Posted: Mon Aug 10, 2020 7:04 am
by paddymccoy
Request for further information sent

Re: Nagvis - Map Options not working

Posted: Tue Aug 11, 2020 3:11 pm
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

Re: Nagvis - Map Options not working

Posted: Wed Sep 30, 2020 5:00 pm
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

Re: Nagvis - Map Options not working

Posted: Thu Oct 01, 2020 3:18 am
by paddymccoy
Followed up with PM

Re: Nagvis - Map Options not working

Posted: Thu Oct 01, 2020 9:29 am
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

Re: Nagvis - Map Options not working

Posted: Fri Oct 02, 2020 10:55 am
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

Re: Nagvis - Map Options not working

Posted: Fri Oct 02, 2020 11:54 am
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