sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
405 stars 148 forks source link

use_authentication no longer used? #1389

Open sney opened 3 weeks ago

sney commented 3 weeks ago

Hi,

I use thruk in a lab environment. The web interface is only accessible on the local network and its whole purpose is to be an always-open dashboard, so it doesn't need a login form, so I set use_authentication=0 in cgi.cfg. Unfortunately, it looks like 3.16 ignores this option, because I have to log in.

I understand the comments in the example cgi.cfg and I know this isn't necessarily standard usage, but if this option is gone, is there a workaround?

Thanks for your work

sney

Thruk 3.16-1 (debian packages from https://build.opensuse.org/project/show/home:naemon) Debian 12 amd64

sni commented 2 weeks ago

this option isn't gone. If it does not work anymore, then i would consider this a bug.

sni commented 3 days ago

i cannot reproduce that. In order to use Thruk without autentication, you need to make Apache not ask for a password and disable the use_authentication in the cgi.cfg. And finally you need to set a default_user_name in the cgi.cfg. Maybe that changed. What exact error do you get?

sney commented 3 days ago

There was no error, it simply showed me a login form every time I had to restart firefox. However, this might have been a browser issue, since updating to firefox 130 it seems to have resolved itself.

I set default_user_name as well just in case, and I'll keep an eye on it.

sni commented 3 days ago

If you see a login form, then the apache does some kind of authentication which needs to be disabled as well.