Hello,
I have an issue with drive space. Attached is the df -h breakdown for my Nagios box. This was installed as an appliance as a VM. I can easily expand the disk but i have read a bit about extending the partition and it seems a bit dodgy with my lack of Linux experience. Are there logs i can clean up to free space? I do not want to lose any history.
Thanks!
Drive space
Drive space
You do not have the required permissions to view the files attached to this post.
Re: Drive space
You can delete old logs in the "/var/log" directory and sub-directories. You can also delete whatever you don't need in the /tmp/" directory. Maybe you have some old backups that you can delete in "/store/backups/nagiosxi".
Check to see what else you have under ""/store/backups/" directory. Most probably you have many mysql and postgres backups there. They are generated by the "/root/scripts/automysqlbackup" and the "/root/scripts/autopostgresqlbackup" script, that are run on cron.
You can some of the old files.
Any any case, you will need to resize the VM in order to avoid issues in the future. Please, follow the steps outlined in the document below:
http://assets.nagios.com/downloads/nagi ... M_Disk.pdf
Important: Clone your VM prior to re-sizing the VM! Make backups, and transfer them to a different server just in case.
Check to see what else you have under ""/store/backups/" directory. Most probably you have many mysql and postgres backups there. They are generated by the "/root/scripts/automysqlbackup" and the "/root/scripts/autopostgresqlbackup" script, that are run on cron.
Code: Select all
grep auto /usr/local/nagiosxi/cron/Any any case, you will need to resize the VM in order to avoid issues in the future. Please, follow the steps outlined in the document below:
http://assets.nagios.com/downloads/nagi ... M_Disk.pdf
Important: Clone your VM prior to re-sizing the VM! Make backups, and transfer them to a different server just in case.
Be sure to check out our Knowledgebase for helpful articles and solutions!