Nagios not processing data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Nagios not processing data

Post by lamin »

Hey guys,
My nagios server is not processing any data since last night and I am sure what may cause that.
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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios not processing data

Post by mguthrie »

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
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not processing data

Post by lamin »

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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios not processing data

Post by nscott »

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
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not processing data

Post by lamin »

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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios not processing data

Post by mguthrie »

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.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not processing data

Post by lamin »

How long nagios keeps the data? Is it possibility to automatically purge the data every 3 months? Doing that may free-up some space.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios not processing data

Post by mguthrie »

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.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not processing data

Post by lamin »

Can someone please answer my question under Directory File Count post?

Thanks
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios not processing data

Post by nscott »

Lamin,

Please check the other thread.
Nicholas Scott
Former Nagios employee
Locked