NagVis Authorization
Posted: Wed Dec 18, 2019 7:30 pm
Hello,
I've recently gotten NagVis 1.9 up and running on a CentOS 7 machine, and I'd like to allow authorization besides the built-in admin. There are options to do this in the file /etc/httpd/conf.d/nagvis.conf:
This is initially commented out, but according to the documentation uncommenting it should enable use of Nagios users. Trouble is, I've uncommented it and it still says Error: Authentication Failed for everyone but the "admin" user. I would like to be able to have LDAP authentication eventually, but for now I'll settle for being able to add any users.
On a semi-unrelated note: where does NagVis store the host definitions for hosts added through the web interface? When I look them up by name, they only show up in a bunch of cache files in the var directory.
Thank you very much.
I've recently gotten NagVis 1.9 up and running on a CentOS 7 machine, and I'd like to allow authorization besides the built-in admin. There are options to do this in the file /etc/httpd/conf.d/nagvis.conf:
Code: Select all
AuthName "NagVis Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
On a semi-unrelated note: where does NagVis store the host definitions for hosts added through the web interface? When I look them up by name, they only show up in a bunch of cache files in the var directory.
Thank you very much.