- 1-/usr/local/nagios and /usr/local/nagiosxi
2-/etc/nagiosql
3-dump of:
3.1 table nagios
3.2 table nagiosql
3.3 table nagiosxi from postgres
All was good till /E-importnagiosql:
Code: Select all
ERROR: Unable to login to NagiosQL on 'localhost' - exiting. If you have a proxy configured, this may be the cause of the problem.We decided to ignore the problem, manually was created the file - installed.importnagiosql
Nagios core was beginning to work, but nagiosxi wasn’t beginning to work, in all log file of nagiosxi/var/* we have only one record -
We used restore_defaults.sh but without success.ERROR CONNECTING TO DATABASES!
We rewrote originals folders (/usr/local/nagios, /usr/local/nagiosxi, /etc/nagiosql) to our backups folders. Then were restored tables from dump files. After all this we still have error in all log file of nagiosxi/var/* -
ERROR CONNECTING TO DATABASES!