Issues With Nagvis Authentication
Re: Issues With Nagvis Authentication
File attached
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
Lets make a backup of your existing file
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
Code: Select all
cp /usr/local/nagvis/etc/nagvis.ini.php /usr/local/nagvis/etc/nagvis.ini.php~This file comments out the line
Code: Select all
logonenvvar="PHP_AUTH_USER"Code: Select all
logonmodule="LogonSession"Code: Select all
backend="nagiosxi"-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
Had to make an update to the file as you didn't even have the backend definition
You do not have the required permissions to view the files attached to this post.
Re: Issues With Nagvis Authentication
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
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
Error message
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
This is really odd.
Please post the output of the following
Please post the output of the following
Code: Select all
grep nagvis /var/log/httpd/error_logRe: Issues With Nagvis Authentication
There is nothing in it about nagvis
I have attached the file
I have attached the file
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
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
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.phpRe: Issues With Nagvis Authentication
[root@nagios /]# grep CONST_VERSION /usr/local/nagvis/share/server/core/defines/global.php
define('CONST_VERSION', '1.8.5');
define('CONST_VERSION', '1.8.5');
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
Ok, for some reason it looks like your NagVis is not update to the current version
Can you show the output of the following
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/