My X I last check, plus the status information are not updating. Its correct in core and i've run the suggested actions from https://support.nagios.com/kb/article.php?id=19 . attached is my system profile
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
xi last check not updating
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: xi last check not updating
I am seeing this:
Edit your /etc/my.cnf and make sure these (or higher) are set under the [mysqld] section:
Then, to the main issue, edit this file:
Uncomment this line:
So it looks like this:
Then restart these services:
Then apply configuration and validate.
Additionally, please send the output of this command:
- NOTE: You may need to adjust the -h 127.0.0.1, the -uroot, and -pnagiosxi in the command if your DB is offloaded to another server and/or you've changed the root mysql password
Code: Select all
<p><pre>SQL Error [nagiosxi] : MySQL server has gone away</pre></p>
Code: Select all
max_allowed_packet=512M
max_connections=800
Code: Select all
/usr/local/nagios/etc/nagios.cfg
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Code: Select all
broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Code: Select all
systemctl restart mariadb nagios httpd crond
Additionally, please send the output of this command:
- NOTE: You may need to adjust the -h 127.0.0.1, the -uroot, and -pnagiosxi in the command if your DB is offloaded to another server and/or you've changed the root mysql password
Code: Select all
echo "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema IN ('nagios', 'nagiosql', 'nagiosxi');" | mysql -h 127.0.0.1 -uroot -pnagiosxi --table