Page 1 of 1

NagVis: Disable authentication for users

Posted: Tue Oct 07, 2014 9:52 pm
by Ravil
Hello. I have Nagios Core 3.5 and NagVis 1.7.10 (on CentOS 6.5). I need disable authentication for user "operator" (read-only user) and save authentication for user "admin". is it possible?
I try edit config /etc/httpd/conf.d/nagvis.conf:

Code: Select all

RewriteEngine on
RewriteLock var/log/rewrite.lck
RewriteLog /dev/null
RewriteLogLevel 0

RewriteRule     /nagvis/ - [E=REMOTE_USER:operator]
But it disable authenticatioin for all users, which connect to nagvis-server.
Help, please!

Re: NagVis: Disable authentication for users

Posted: Wed Oct 08, 2014 3:51 pm
by abrist
That current edit should force all users to authenticate as "operator". Was that your intention?
Have you taken a look at the documentation on the nagvis website?
http://www.nagvis.org/docs/general/faq#anchor2

Re: NagVis: Disable authentication for users

Posted: Sun Oct 12, 2014 10:31 pm
by Ravil
abrist wrote:That current edit should force all users to authenticate as "operator". Was that your intention?
Have you taken a look at the documentation on the nagvis website?
http://www.nagvis.org/docs/general/faq#anchor2
I have two users: admin and operator. I need to connect without authentication for operators and connect with authentication for admin.
Yes, I looked this documentation, but it disable authenticate for all users. Is it possible to keep the authentication for the admin?
Sorry for bad english :)

Re: NagVis: Disable authentication for users

Posted: Mon Oct 13, 2014 3:59 pm
by abrist
No. It is an all or nothing configuration. Either choose 1 user to log everybody in as, or you will need to authenticate if more than 1 user is needed.