Backing up MySQL databases...
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `nagios_logentries` at row: 10108915
I re-tried to run the script "backup_xi.sh" but I received a similar error:
Those seem like fairly large tables, it's possible that it is taking long enough to hit a timeout in MySQL. In the MySQL config (should be somewhere like /etc/my.cnf) under the [mysqld] section, you should be able to use the connect_timeout option. More information here: https://dev.mysql.com/doc/refman/5.7/en ... ct_timeout
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
I'm not a DBA so I can't tell you more about optimization but it does look okay. Each installation is different so I wouldn't have any baseline to give you but if it's working for you and not causing any slowdown then it should be okay.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.