It looks like the Postgress database is taking up the most of the performance of the server and it may need to be vacuumed and restarted to fix this.
In this KB article, about half way down are the processes for vacuuming the Postgres SQL database.
https://support.nagios.com/kb/article.php?id=25
Depending on the version of Postgres, there are a few ways to run the vacuum. If the first one fails, try the second method then the third.
It looks like there are a lot of left over lock files for the MRTG process that gathers the Bandwidth information for switches and routers.
Run the following to remove them as they are not needed.
rm -fr /etc/mrtg/mrtg.cfg_l_*
Also, the performance problem caused the performance graphs from running and the files need to be deleted as well.
Run the following to do that.
Code: Select all
for f in /usr/local/nagios/var/spool/xidpe/*; do rm -f $f; done
After all of the steps have been done, please reboot the server.
Let us know if this helps out the performance of the server.