I have followed the following document for offloading the MYSQL database server to a remote database server.
http://assets.nagios.com/downloads/nagi ... Server.pdf
Thinking that the local MYSQL database was no longer needed, I shut it down on the local NagiosXI server.
I now see the following in the /var/log/messages log.
Code: Select all
May 30 06:25:09 nagios1 snmptt-sys[0]: MySQL error: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)I have found where to change the settings in 'snmptt.ini' to point it to a remote MYSQL database server, but I am wondering where the data will go. Does it use an existing database/table(s), or do I have to export a database/table(s) from the old localhost database on the NagiosXi server? Or create a new database/tables on the new remote server?
Is there anything else, that is not mentioned in the above document, that may still be using the local MYSQL database?
Thank you,
Paul