/home directory piling up

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

/home directory piling up

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

Re: /home directory piling up

Post 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.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: /home directory piling up

Post by RIDS_I2MP »

Can we delete the old log files?
Thanks & Regards,
I2MP Team.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: /home directory piling up

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked