Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to single sign-on with Nagios / Thruk #367

Open
stwongst opened this issue Mar 1, 2024 · 0 comments
Open

Unable to single sign-on with Nagios / Thruk #367

stwongst opened this issue Mar 1, 2024 · 0 comments

Comments

@stwongst
Copy link

stwongst commented Mar 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant