Hey guys,
My nagios server is not processing any data since last night and I am sure what may cause that.
Nagios not processing data
Nagios not processing data
You do not have the required permissions to view the files attached to this post.
Last edited by lamin on Mon Sep 19, 2011 3:29 pm, edited 1 time in total.
Re: Nagios not processing data
It looks like your hard disk may be full. If you're using a VM see our document on resizing the VMWare disk.
http://library.nagios.com/library/produ ... -disk-size
http://library.nagios.com/library/produ ... -disk-size
Re: Nagios not processing data
I am working on increase the size of my machine but for time being what files and directory should I remove in order to get nagios running until tomorrow?
I have found this directory: var/lib/mysql/nagios
Thanks
I have found this directory: var/lib/mysql/nagios
Thanks
Re: Nagios not processing data
The only directory that I can say with clean conscience that it is ok to wipe is the /tmp/ directory. Everything else may be useful at some point down the line.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Nagios not processing data
I followed the procedure in the pdf you linked to and it didn't work. I was able to increase the size of the hard disk as ESX/Vmware sees it to 20G with no issues. The first step in the procedure you sent, resizing the partition using fdisk failed. No errors, it just wouldn't let me change the size of the root partition.
Re: Nagios not processing data
Do you have any free space left on the drive at all? If not you'll have to stop Nagios, and free up just a little bit of space so that the new partition information can be stored somewhere. Do NOT delete /var/lib/mysql/nagios, that's your mysql backend for all of your Nagios data. Some files that you can delete to free up space would be the old nagios logs in /usr/local/nagios/var/archives, but I should note that the old Nagios core reports do parse these logs. The new reports that XI uses fetches information from the database, not log files. So as long as that doesn't bother you, the archives can be deleted.
Re: Nagios not processing data
How long nagios keeps the data? Is it possibility to automatically purge the data every 3 months? Doing that may free-up some space.
Re: Nagios not processing data
Yeah, in the Admin->Performance Settings->Database(tab), you can specify how long historical data is kept in the DB's, there's a cron job in place that will keep the DB's trimmed.
Re: Nagios not processing data
Can someone please answer my question under Directory File Count post?
Thanks
Thanks
Re: Nagios not processing data
Lamin,
Please check the other thread.
Please check the other thread.
Nicholas Scott
Former Nagios employee
Former Nagios employee