Search found 6 matches

by jose-martins
Tue Feb 12, 2013 12:33 pm
Forum: Open Source Nagios Projects
Topic: Nagios Logrotation removing notification on rotated files
Replies: 11
Views: 5434

Re: Nagios Logrotation removing notification on rotated file

Is this ok? root@*:/opt/nagios/nagios/etc# cat nagios.cfg |grep log |egrep -v "^#" log_file=/opt/nagios/nagios/var/nagios.log log_rotation_method=d log_archive_path=/opt/nagios/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=...
by jose-martins
Tue Feb 12, 2013 11:59 am
Forum: Open Source Nagios Projects
Topic: Nagios Logrotation removing notification on rotated files
Replies: 11
Views: 5434

Re: Nagios Logrotation removing notification on rotated file

Nope. The current file is all OK. Only the rotated logs are missing the notifications.
by jose-martins
Tue Feb 12, 2013 7:07 am
Forum: Open Source Nagios Projects
Topic: Nagios Logrotation removing notification on rotated files
Replies: 11
Views: 5434

Re: Nagios Logrotation removing notification on rotated file

They are there, and readable.
But they "lost" some information. As if they where filtered when they where rotated.
by jose-martins
Mon Jan 07, 2013 7:37 am
Forum: Open Source Nagios Projects
Topic: Nagios Logrotation removing notification on rotated files
Replies: 11
Views: 5434

Re: Nagios Logrotation removing notification on rotated file

I'm using Nagios logrotate method, didn't change anything.

How do I even debug such behaviour? Is there any "flag"/anything I can do to see logrotation steps and try and debug why is it not rotating some lines?
by jose-martins
Tue Dec 18, 2012 7:09 am
Forum: Open Source Nagios Projects
Topic: Nagios Logrotation removing notification on rotated files
Replies: 11
Views: 5434

Nagios Logrotation removing notification on rotated files

Hello all. I've been using Nagios on my corporation with great success. But there's a behavior on logrotation that I not quite understand. Logrotation is enabled, but no notifications are kept on rotated files. log_file=/opt/nagios/nagios/var/nagios.log log_rotation_method=d log_archive_path=/opt/na...