/var is filling up. how do you verify Nagios is cleaning
Posted: Fri May 15, 2015 9:37 am
I see my file system is filling up. Checking Nagios /var/log/mysqld.log I see this error
"[ERROR] /usr/libexec/mysqld: Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed"
Checking file system I see.
ls -lha /var/lib/mysql/nagios/nagios_logentries.*
-rw-rw---- 1 mysql mysql 8.8K Jan 7 11:34 /var/lib/mysql/nagios/nagios_logentries.frm
-rw-rw---- 1 mysql mysql 21G Apr 8 14:02 /var/lib/mysql/nagios/nagios_logentries.MYD
-rw-rw---- 1 mysql mysql 9.7G Apr 8 16:09 /var/lib/mysql/nagios/nagios_logentries.MYI
I am currently doing a check for more information.
[root@LNTTAVMNAG2 /]# mysqlcheck -r -f -u root -pnagiosxi --databases nagios nagiosql
Can you supply a reference on how to identify the cause and how to clean and fine tune Nagios logs?
Thanks
"[ERROR] /usr/libexec/mysqld: Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed"
Checking file system I see.
ls -lha /var/lib/mysql/nagios/nagios_logentries.*
-rw-rw---- 1 mysql mysql 8.8K Jan 7 11:34 /var/lib/mysql/nagios/nagios_logentries.frm
-rw-rw---- 1 mysql mysql 21G Apr 8 14:02 /var/lib/mysql/nagios/nagios_logentries.MYD
-rw-rw---- 1 mysql mysql 9.7G Apr 8 16:09 /var/lib/mysql/nagios/nagios_logentries.MYI
I am currently doing a check for more information.
[root@LNTTAVMNAG2 /]# mysqlcheck -r -f -u root -pnagiosxi --databases nagios nagiosql
Can you supply a reference on how to identify the cause and how to clean and fine tune Nagios logs?
Thanks