log file not being rotated
Jaime Ventura
jaimeventura at ipp.pt
Mon Mar 14 19:23:44 CET 2011
Yes, it is.
I afraid the file is so big, nagios can rotate it anymore.
drwxr-s--x 3 nagios adm 4096 2011-03-14 16:39 .
drwxr-xr-x 17 root root 4096 2011-03-14 16:50 ..
drwxr-s--x 2 nagios adm 32768 2010-11-09 13:50 archives
-rw-rw-r-- 1 nagios adm 3845809989 2011-03-14 18:20 nagios.log
Thanks
On 14-03-2011 17:58, Assaf Flatto wrote:
> Jaime Ventura wrote:
>> I have a nagios installation not rotating its log file a long time.
>> I have been updating nagios regularly since version 2 and i thing it
>> stopped rotating after an update (but no sure).
>> Now using nagios 3.2.3 and the log file has now grown to 3.8 GB.
>>
>> The log_rotation_method is set to "d" and should be rotated daily.
>>
>> Is there any way to manually rotate it? Can I somehow debug why this is
>> happening?
>>
>> Thanks
>> Jaime
>>
> have you checked the permissions on the var/rw directory ?
> is it owned by nagios ?
>
>
> Assaf
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list