Page 1 of 1

/home directory piling up

Posted: Thu Sep 18, 2014 8:59 am
by RIDS_I2MP
Hi Team,

On one of our Nagios instances we see that the size of /home directory is increasing very fastly, We see that a a chunk of it is being written into a directory called alerts from the path '/home/nagios/oradiag_nagios/diag/clients/user_nagios/host_804353164_80/alert'. This folder has a lot of log files in format log_123.xml, Please let us know the prominance of these log files and if we can delete them.

FYI we are monitoring close to 100 Oracle Servers (with close to 150 DB instances) and 410 OS instance with a total of 6k services through this Nagios Instance.

Re: /home directory piling up

Posted: Thu Sep 18, 2014 9:28 am
by slansing
Looks like this is what you will want to follow:

http://archimedeseureka.blogspot.com/20 ... stant.html

Those logs are created by the instant client that is required to run our checks against your remote Oracle servers.

Re: /home directory piling up

Posted: Wed Sep 24, 2014 2:50 am
by RIDS_I2MP
Can we delete the old log files?

Re: /home directory piling up

Posted: Wed Sep 24, 2014 9:51 am
by lmiltchev
Yes, this shouldn't cause any issues. You can remote all old logs (anything named "log_xxx.xml"), unless you need the data for some reason. If you want to play safe, you can move them to a different directory instead of deleting them to see if this is going to break anything, but I believe you are pretty safe removing them.