Page 2 of 3
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 11:16 am
by tpwebb
File attached
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 11:23 am
by scottwilkerson
Lets make a backup of your existing file
Code: Select all
cp /usr/local/nagvis/etc/nagvis.ini.php /usr/local/nagvis/etc/nagvis.ini.php~
then extract the attached zip and replace
/usr/local/nagvis/etc/nagvis.ini.php with it
This file comments out the line
And changes
and
this is a typical 5.6.6 setup
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 11:25 am
by scottwilkerson
Had to make an update to the file as you didn't even have the backend definition
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 12:12 pm
by tpwebb
Hello Scott,
I am now getting just a white screen with nothing being displayed from nagvis.
Just confirming, I have copied the file as requested
To be sure it has uploaded i have done a copy and past from the ssh session to the machine
logonmodule="LogonSession"
;;logonenvvar="PHP_AUTH_USER"
; logonenvcreateuser="1"
; logonenvcreaterole="Guests"
; Options to configure the Overview page of NagVis
backend="nagiosxi"
The existing file had
backend="ndomy_1"
Thanks for your assistance
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 12:22 pm
by tpwebb
Error message
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 12:39 pm
by scottwilkerson
This is really odd.
Please post the output of the following
Code: Select all
grep nagvis /var/log/httpd/error_log
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 12:53 pm
by tpwebb
There is nothing in it about nagvis
I have attached the file
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 1:23 pm
by scottwilkerson
That is weird you got a 500 error but no error in the log.
Let's make sure NagVis is even correctly upgraded to the current version
Please run the following and return the results
Code: Select all
grep CONST_VERSION /usr/local/nagvis/share/server/core/defines/global.php
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 5:42 pm
by tpwebb
[root@nagios /]# grep CONST_VERSION /usr/local/nagvis/share/server/core/defines/global.php
define('CONST_VERSION', '1.8.5');
Re: Issues With Nagvis Authentication
Posted: Thu Nov 21, 2019 5:52 pm
by scottwilkerson
Ok, for some reason it looks like your NagVis is not update to the current version
Can you show the output of the following
Code: Select all
grep COMPONENT_VERSION /usr/local/nagiosxi/html/includes/components/nagvis/nagvis.inc.php
ll /usr/local/nagiosxi/html/includes/components/nagvis/