Nagios services configuration from Web UI.

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: Nagios services configuration from Web UI.

Postby Ravikimt » Thu May 10, 2018 8:53 am

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.
Ravikimt
 
Posts: 65
Joined: Tue Apr 03, 2018 12:02 pm

Re: Nagios services configuration from Web UI.

Postby tmcdonald » Thu May 10, 2018 9:31 am

We'll keep this open
Former Nagios employee
tmcdonald
 
Posts: 9118
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios services configuration from Web UI.

Postby martinQL » Thu May 10, 2018 11:01 am

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.

Please download version 3.4.0 from here:
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.
martinQL
 
Posts: 10
Joined: Wed Apr 25, 2018 4:22 am

Re: Nagios services configuration from Web UI.

Postby tmcdonald » Thu May 10, 2018 4:08 pm

Thanks for the assist, @martinQL!
Former Nagios employee
tmcdonald
 
Posts: 9118
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios services configuration from Web UI.

Postby Ravikimt » Fri May 11, 2018 5:44 am

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
****************************************************
Ravikimt
 
Posts: 65
Joined: Tue Apr 03, 2018 12:02 pm

Re: Nagios services configuration from Web UI.

Postby martinQL » Fri May 11, 2018 7:07 am

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.
martinQL
 
Posts: 10
Joined: Wed Apr 25, 2018 4:22 am

Re: Nagios services configuration from Web UI.

Postby scottwilkerson » Fri May 11, 2018 2:06 pm

thanks @martinQL
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12041
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios services configuration from Web UI.

Postby Ravikimt » Mon May 14, 2018 6:40 am

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
Ravikimt
 
Posts: 65
Joined: Tue Apr 03, 2018 12:02 pm

Re: Nagios services configuration from Web UI.

Postby scottwilkerson » Mon May 14, 2018 12:35 pm

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12041
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios services configuration from Web UI.

Postby Ravikimt » Tue May 15, 2018 2:58 am

Still I am facing same issue
Ravikimt
 
Posts: 65
Joined: Tue Apr 03, 2018 12:02 pm

PreviousNext

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 13 guests