Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
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.
I do not. It currently only works with the default admin account. I tried configuring LDAP authentication the same way I did for the Nagios web interface, but alas, no luck.
I have also since tried uncommenting the lines
TechnicallyTrue wrote:I tried configuring LDAP authentication the same way I did for the Nagios web interface, but alas, no luck.
I'm wondering if Nagios being configured for LDAP is preventing NagVis from reading the htpasswd file properly. Could you create a new htpasswd file, maybe just htpasswd2, throw in a username and password, point NagVis to that, and see if you can login with that account.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!