connection loss of Nagios XI with mysql
Posted: Thu Mar 03, 2016 1:19 pm
Good afternoon friends,
I have a problem in NagiosXI in Data Display of Dashboards. From time to time he is losing the related to the database (MySQL) and asks to run the script repair_databases.sh
And the process of Mysqld is running.

contents of /var/log/mysqld.log
160303 15:02:03 [Note] Event Scheduler: Purging the queue. 0 events
160303 15:02:03 InnoDB: Starting shutdown...
160303 15:02:08 InnoDB: Shutdown completed; log sequence number 0 44233
160303 15:02:08 [Note] /usr/libexec/mysqld: Shutdown complete
160303 15:02:08 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160303 15:02:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160303 15:02:08 InnoDB: Initializing buffer pool, size = 8.0M
160303 15:02:08 InnoDB: Completed initialization of buffer pool
160303 15:02:08 InnoDB: Started; log sequence number 0 44233
160303 15:02:08 [Note] Event Scheduler: Loaded 0 events
160303 15:02:08 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
160303 15:20:49 [Note] /usr/libexec/mysqld: Normal shutdown
160303 15:20:49 [Note] Event Scheduler: Purging the queue. 0 events
160303 15:20:51 InnoDB: Starting shutdown...
160303 15:20:55 InnoDB: Shutdown completed; log sequence number 0 44233
160303 15:20:55 [Note] /usr/libexec/mysqld: Shutdown complete
160303 15:20:55 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160303 15:20:56 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160303 15:20:56 InnoDB: Initializing buffer pool, size = 8.0M
160303 15:20:56 InnoDB: Completed initialization of buffer pool
160303 15:20:56 InnoDB: Started; log sequence number 0 44233
160303 15:20:56 [Note] Event Scheduler: Loaded 0 events
160303 15:20:56 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
I have a problem in NagiosXI in Data Display of Dashboards. From time to time he is losing the related to the database (MySQL) and asks to run the script repair_databases.sh
And the process of Mysqld is running.
contents of /var/log/mysqld.log
160303 15:02:03 [Note] Event Scheduler: Purging the queue. 0 events
160303 15:02:03 InnoDB: Starting shutdown...
160303 15:02:08 InnoDB: Shutdown completed; log sequence number 0 44233
160303 15:02:08 [Note] /usr/libexec/mysqld: Shutdown complete
160303 15:02:08 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160303 15:02:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160303 15:02:08 InnoDB: Initializing buffer pool, size = 8.0M
160303 15:02:08 InnoDB: Completed initialization of buffer pool
160303 15:02:08 InnoDB: Started; log sequence number 0 44233
160303 15:02:08 [Note] Event Scheduler: Loaded 0 events
160303 15:02:08 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
160303 15:20:49 [Note] /usr/libexec/mysqld: Normal shutdown
160303 15:20:49 [Note] Event Scheduler: Purging the queue. 0 events
160303 15:20:51 InnoDB: Starting shutdown...
160303 15:20:55 InnoDB: Shutdown completed; log sequence number 0 44233
160303 15:20:55 [Note] /usr/libexec/mysqld: Shutdown complete
160303 15:20:55 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160303 15:20:56 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160303 15:20:56 InnoDB: Initializing buffer pool, size = 8.0M
160303 15:20:56 InnoDB: Completed initialization of buffer pool
160303 15:20:56 InnoDB: Started; log sequence number 0 44233
160303 15:20:56 [Note] Event Scheduler: Loaded 0 events
160303 15:20:56 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution