log file not being rotated

Assaf Flatto nagios at flatto.net
Mon Mar 14 18:58:19 CET 2011


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





More information about the Users mailing list