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