Page 1 of 1

Nagiosql 321 error please help

Posted: Fri Jun 24, 2016 4:58 am
by musman
NagiosQL Installation: Finishing Setup
Create new NagiosQL database

Connot open/write to config/settings.php
Database server connection (privileged user) passed
Database server version 5.5.47-MariaDB
Database server support supported
Delete existing NagiosQL database done (db_nagiosql_v32)
Creating new database done (db_nagiosql_v32)
Create NagiosQL database user done (Only added rights to existing user: nagiosql_user)
Installing NagiosQL database tables done
Set initial NagiosQL Administrator done
Database server connection (NagiosQL user) passed

Deploy NagiosQL settings
Writing global settings to database done
Writing database configuration to settings.php failed

Re: Nagiosql 321 error please help

Posted: Fri Jun 24, 2016 9:27 am
by mcapra
Are you following a specific guide to install NagiosQL?

Can you share the output of the following command:

Code: Select all

ls -al /<path to nagiosql>/config
On the Core Pro VM, the exact path is /var/www/html/nagiosql/config. This may not be the same path on your machine depending on how you configured NagiosQL.

It is likely that you need to change the permissions of the file mentioned in the error text (nagiosql/config/settings.php) so that your apache user can write to the file.

Re: Nagiosql 321 error please help

Posted: Fri Jun 24, 2016 9:43 am
by musman
The problem solved but now another problem arised. Whenever i add a host in nagiosql it is not showing in nagios core. Why is that?

Re: Nagiosql 321 error please help

Posted: Fri Jun 24, 2016 9:51 am
by tmcdonald
This is something you will need to ask of the NagiosQL developers. It is not our product and we don't provide direct support for it, so it's hard to say what could cause this since we don't use it. We do offer a Core Pro VM that we support, but you would need to use that and run your configs through it for us to support this.

Re: Nagiosql 321 error please help

Posted: Fri Jun 24, 2016 10:10 am
by musman
How to use it does it involves some cost?

Re: Nagiosql 321 error please help

Posted: Fri Jun 24, 2016 10:15 am
by tmcdonald
You can check the pricing here:

https://www.nagios.org/downloads/nagios-core/

Paid support is optional (but included in the Business plan), but even without paid support we can still assist, there is just no guaranteed SLA attached.