Page 1 of 1

Nagios server Disk space

Posted: Fri Jul 12, 2013 7:06 am
by lafargeuser
Hi,

My /root is getting full. How can I delete unwanted data ?

Also, I have /spare partion created on the Nagios Server, with 120 GB space.
Can I move Nagios Data to that partion, If yes How & which files should I move to ?

root@nagiosxi ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
14G 11G 2.4G 82% /

Re: Nagios server Disk space

Posted: Fri Jul 12, 2013 9:16 am
by slansing
I think you will find quite a bit of the space is being taken up by rotated logfiles. As far as moving files around to other partitions, since you have already installed NagiosXI it is going to be quite a chore to move many things. You could start by moving apache, mysql, and whatever else you have logs for to that partition, and then telling those programs to log to the new directory. For now, you could check their log directories and see how much space they are taking up, for example:

Code: Select all

ll -ls /var/log/httpd/