You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User nagiosadmin is created in Nagvis user database with read only right.
We always see the Nagvis login page when clicking the link added to Nagios.
Checked the $_SERVER[REMOTE_USER] is defined under path /nagios, while it is undefined if I check that again in paths outside /nagios.
Did I miss anything?
Tried the integration with Thruk and also failed.
Sorry for the newbie question.
Please help.
Thanks and Regards
The text was updated successfully, but these errors were encountered:
I have the same problem and also failed after researching 10 hours.
Let me say my finding:
Some people say uncomment the following In /etc/httpd/conf.d/nagvis.conf.
#AuthName "NagVis Access"
#AuthType Basic
#AuthUserFile /usr/local/nagios/etc/htpasswd.users
#Require valid-user
I think it is useless currently seems nagvis has its login control and won't use httpd setting. ( I am not sure because I am not professional in httpd, but all results point to it)
About the config in nagvis.ini.php.
[global]
logonmodule="LogonMixed"
logonenvvar="REMOTE_USER"
You declaimed 'If we use the method that set the REMOTE_USER in apache configuration file, seems there is no way to see the login page any more.' (Yes, I have also read your support case also!)
I think this is the main problem. Most of the solutions told us to set the REMOTE_USER in apache configuration file, but it means that the user is hardcored in nagvis. As my test, I don't need to log in nagios but still can directly access nagvis without password.
As I checked in website, seems no way to pass the REMOTE_USER only when nagios connects to nagvis.
Hi all,
We're new to Nagios + Nagvis. Installed a basic configuration:
Rocky Linux 8.7
Nagios 4.5.0
Nagvis 1.9.40
Added link to Nagvis in Nagios side bar.
We didn't change Nagvis' httpd conf, leave basic authentication setting commented out.
In /etc/httpd/conf.d/nagvis.conf:
#AuthName "NagVis Access"
#AuthType Basic
#AuthUserFile /usr/local/nagios/etc/htpasswd.users
#Require valid-user
In nagvis.ini.php:
[global]
logonmodule="LogonMixed"
logonenvvar="REMOTE_USER"
User nagiosadmin is created in Nagvis user database with read only right.
We always see the Nagvis login page when clicking the link added to Nagios.
Checked the $_SERVER[REMOTE_USER] is defined under path /nagios, while it is undefined if I check that again in paths outside /nagios.
Did I miss anything?
Tried the integration with Thruk and also failed.
Sorry for the newbie question.
Please help.
Thanks and Regards
The text was updated successfully, but these errors were encountered: