Nagios services configuration from Web UI.
Re: Nagios services configuration from Web UI.
I resloved the apache issue and i will try to install the nagiosQL again.
Let's see if what happens.! Please don't close this thread I will check and update you if it works fine.
Let's see if what happens.! Please don't close this thread I will check and update you if it works fine.
Re: Nagios services configuration from Web UI.
Please download version 3.4.0 from here:Ravikimt wrote:I resloved the apache issue and i will try to install the nagiosQL again.
Let's see if what happens.! Please don't close this thread I will check and update you if it works fine.
https://sourceforge.net/projects/nagiosql/
A documentation can be found here:
https://sourceforge.net/projects/nagios ... mentation/
This has not changed for version 3.4.0.
NagiosQL 3.2.0 is no longer supported.
Re: Nagios services configuration from Web UI.
Thanks for the assist, @martinQL!
Former Nagios employee
Re: Nagios services configuration from Web UI.
I have install NagiosQL 3.4.0 with PHP7.0 but I am not able to login via username and password. I don't know which username and password I have to use for login.
I have enabled this configuration on apache2 config file.
************************
Order deny,allow
Deny from all
Allow from 127.0.0.1
AuthName "NagiosQL Access"
AuthType Basic
AuthUserFile /etc/nagiosql/auth/nagiosql.users
Require valid-use
********************
I checked apache error log also it says that.
*******************************************************
[Fri May 11 15:55:46.192744 2018] [auth_basic:error] [pid 25457] [client ::1:58692] AH01618: user nagiosadmin not found: /nagiosql/install/index.php
[Fri May 11 16:01:21.798854 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user nagiosadmin not found: /nagiosql/install/index.php
[Fri May 11 16:01:23.595036 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user not found: /nagiosql/install/index.php
[Fri May 11 16:01:25.231593 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user not found: /nagiosql/install/index.php
[Fri May 11 16:01:26.767988 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user not found: /nagiosql/install/index.php
****************************************************
I have enabled this configuration on apache2 config file.
************************
Order deny,allow
Deny from all
Allow from 127.0.0.1
AuthName "NagiosQL Access"
AuthType Basic
AuthUserFile /etc/nagiosql/auth/nagiosql.users
Require valid-use
********************
I checked apache error log also it says that.
*******************************************************
[Fri May 11 15:55:46.192744 2018] [auth_basic:error] [pid 25457] [client ::1:58692] AH01618: user nagiosadmin not found: /nagiosql/install/index.php
[Fri May 11 16:01:21.798854 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user nagiosadmin not found: /nagiosql/install/index.php
[Fri May 11 16:01:23.595036 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user not found: /nagiosql/install/index.php
[Fri May 11 16:01:25.231593 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user not found: /nagiosql/install/index.php
[Fri May 11 16:01:26.767988 2018] [auth_basic:error] [pid 25458] [client ::1:59284] AH01618: user not found: /nagiosql/install/index.php
****************************************************
Re: Nagios services configuration from Web UI.
Remove this AuthBasic stuff in your Apache configuration:
AuthName "NagiosQL Access"
AuthType Basic
AuthUserFile /etc/nagiosql/auth/nagiosql.users
Require valid-use
NagiosQL has an internal authentification system and does not need this Apache based variant.
If you still want to use it, you must first create a user with:
htpasswd2 -c /etc/nagiosql/auth/nagiosql.users admin
So you can create an user "admin" with a password given after the command. But there are no advantages in doing so.
AuthName "NagiosQL Access"
AuthType Basic
AuthUserFile /etc/nagiosql/auth/nagiosql.users
Require valid-use
NagiosQL has an internal authentification system and does not need this Apache based variant.
If you still want to use it, you must first create a user with:
htpasswd2 -c /etc/nagiosql/auth/nagiosql.users admin
So you can create an user "admin" with a password given after the command. But there are no advantages in doing so.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios services configuration from Web UI.
I commented these lines from Apache configuration:
AuthName "NagiosQL Access"
AuthType Basic
AuthUserFile /etc/nagiosql/auth/nagiosql.users
Require valid-use
But Now I am getting this error. I want to get rid of this problem please help me.
Forbidden
You don't have permission to access /nagiosql/install/index.php on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
AuthName "NagiosQL Access"
AuthType Basic
AuthUserFile /etc/nagiosql/auth/nagiosql.users
Require valid-use
But Now I am getting this error. I want to get rid of this problem please help me.
Forbidden
You don't have permission to access /nagiosql/install/index.php on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios services configuration from Web UI.
Can you share your full httpd conf file for nagiosql because before you also had this in there that would block access
Code: Select all
Order deny,allow
Deny from all
Allow from 127.0.0.1
Re: Nagios services configuration from Web UI.
Still I am facing same issue