Page 1 of 1
NagiosXi 5.5.3 performance problem
Posted: Wed Sep 12, 2018 4:26 am
by biroby
Hi to all,
after upgraded to NagiosXI 5.5.3 I have a performance problem and nagios alert me with critical status in "Current Load".
I have also a problem with 2 files on /var/log that have too big size:
-rw------- 1 root root 111897671360 Sep 12 10:37 tallylog
-rw------- 1 root root 510533125580 Sep 12 10:37 lastlog
I've tried to delete this file but i can't.
I have problem also with NagVis map.
I attach screenshot.
Thanks
Biroby
Re: NagiosXi 5.5.3 performance problem
Posted: Wed Sep 12, 2018 3:44 pm
by cdienger
Is the machine running out of space? What is the output of "
df -h" ?
How are you trying to remove those files? Does "
rm /var/log/tallylog; rm /var/log/lastlog" work? Once you remove these I would run a database repair and then restart the services:
https://assets.nagios.com/downloads/nag ... tabase.pdf
Note you mus* use mariadb instead of mysqld in the commands below, if you have mariadb. You can connect to a default database using "mysql -uroot -pnagiosxi" to verify if mariadb or mysqld is being used.
service nagios stop
service ndo2db stop
service mysqld stop
service crond stop
service httpd stop
killall -9 nagios
killall -9 ndo2db
rm -f /usr/local/nagios/var/rw/nagios.cmd
rm -f /usr/local/nagios/var/nagios.lock
rm -f /usr/local/nagios/var/ndo.sock
rm -f /usr/local/nagios/var/ndo2db.lock
rm -f /usr/local/nagiosxi/var/reconfigure_nagios.lock
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
service mysqld start
service ndo2db start
service nagios start
service httpd start
service crond start
Re: NagiosXi 5.5.3 performance problem
Posted: Thu Sep 13, 2018 2:57 am
by biroby
Hi,
I've done all you suggest but problem not solved.
Connection to DB ok.
Repair done
etc.
Re: NagiosXi 5.5.3 performance problem
Posted: Thu Sep 13, 2018 11:03 am
by cdienger
What is the output of "df -h" ?
Were you able to delete the files? The other issues could be related to disk space so I'd like to verify that this is taken care of.