Authentication issues with Nagios Mobile

Information and discussions relating to the Nagios Mobile addon.

Authentication issues with Nagios Mobile

Postby ronken123 » Mon Sep 16, 2019 1:06 am

Hey guys,

I am working on a personal project on my home server and trying to get Nagios Mobile working. I've installed Nagios Core properly and can get to it by going to https://localhost/nagios3. However, when trying to access https://localhost/nagiosmobile - I get the following error:

Access Denied: No authentication detected.
I've verified the Nagios Apache config file (nagiosmobile_apache.conf) to confirm that it has the proper rules configured and at this point, I'm not sure what else to think of. 9appsapk.online Also, I have restarted both the nagios and apache services.

Here is the nagiosmobile_apache.conf file:

#modify this file to fit your apache configuration

Alias /nagiosmobile "/usr/local/nagiosmobile"

<Directory "/usr/local/nagiosmobile">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all

# Allow from 127.0.0.1

######use the below lines for Nagios XI
# AuthName "Nagios Monitor XI"
# AuthType Basic
# AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users


######Use the below lines for a SOURCE install of Nagios Core
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios3/htpasswd.users
require valid-user

</Directory>
Any thoughts?
Last edited by ronken123 on Fri Sep 20, 2019 12:32 am, edited 1 time in total.
ronken123
 
Posts: 1
Joined: Mon Sep 16, 2019 1:03 am

Re: Authentication issues with Nagios Mobile

Postby mbellerue » Mon Sep 16, 2019 12:29 pm

And just to double check, you've verified that /etc/nagios3/htpasswd.users exists in that path, and that the apache user has access to read that file? Does anything show up in your Apache error logs when you try to access the mobile site?
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!
User avatar
mbellerue
 
Posts: 800
Joined: Fri Jul 12, 2019 11:10 am


Return to Nagios Mobile

Who is online

Users browsing this forum: No registered users and 1 guest