Re: what to be done if nagios log server is almost full
Posted: Thu Jan 22, 2015 10:06 am
Yes, I see that. I may not be very clear though:
Let's say I have three hosts, X, Y, and Z. X is very important and I need to keep its logs for 90 days. Y is sort of important and I need to keep its logs for 60 days. Z is not important, and I only want to keep its logs for 30 days. The numbers are just examples, not real world.
Is there a way to prune the data in this fashion, or would it have to be that everything stays for 90 days, which is the time required for the longest retention?
Let's say I have three hosts, X, Y, and Z. X is very important and I need to keep its logs for 90 days. Y is sort of important and I need to keep its logs for 60 days. Z is not important, and I only want to keep its logs for 30 days. The numbers are just examples, not real world.
Is there a way to prune the data in this fashion, or would it have to be that everything stays for 90 days, which is the time required for the longest retention?