Nagios Log Rotation
Posted: Thu Sep 07, 2017 5:16 am
Hi Team,
I would like to know about the nagios.log. I have noticed that every day logs are rotated at 23:59 and moved the directory archives. This logs are rotated every day as it is configured as "log_rotation_method=d".
Now my queries are:
1. How nagios does this process and where it is configured to do so.
2. I want to keep only 30 days files in archives and how can i achieve this.
I would like to know about the nagios.log. I have noticed that every day logs are rotated at 23:59 and moved the directory archives. This logs are rotated every day as it is configured as "log_rotation_method=d".
Now my queries are:
1. How nagios does this process and where it is configured to do so.
2. I want to keep only 30 days files in archives and how can i achieve this.