Nagios server Disk space

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Nagios server Disk space

Post 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% /
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios server Disk space

Post 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/
Locked