[hobbit] Hobbit logs

Ryan Jay B. Lapuz rlapuz at fcpp.fujitsu.com
Tue Oct 9 02:23:01 CEST 2007


This is the script...

# more /etc/logrotate.d/hobbit
#
#       Logrotate fragment for Hobbit.
#
/var/log/hobbit/*.log {
        weekly
        compress
        delaycompress
        rotate 5
        missingok
        nocreate
        sharedscripts
        postrotate
                /etc/init.d/hobbit rotate
        endscript
}


----- Original Message ----- 
From: "Ryan Jay B. Lapuz" <rlapuz at fcpp.fujitsu.com>
To: <hobbit at hswn.dk>
Sent: Tuesday, October 09, 2007 8:13 AM
Subject: Re: [hobbit] Hobbit logs


> So, All i need is to put the script in the /etc/logrotate.d/, is this 
> right?
> I really don't understand. I checked my old hobbit server and the 
> /etc/logrotate.d/hobbit is already existing. And, I'm sure I didn't 
> configure that before, because I don't know how.
>
> Thanks
>
> ----- Original Message ----- 
> From: "Hobbit User" <hobbit at epperson.homelinux.net>
> To: <hobbit at hswn.dk>
> Sent: Tuesday, October 09, 2007 7:59 AM
> Subject: Re: [hobbit] Hobbit logs
>
>
>> On Mon, October 8, 2007 19:47, Ryan Jay B. Lapuz wrote:
>>>
>>> I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks 
>>> for
>>> your help Gary and Steve.
>>>
>>
>> So, to sum up, you need
>> /etc/cron.daily/logrotate
>> /etc/logrotate.conf
>> /etc/logrotate.d/hobbit
>> all set up to have your hobbit logs rotated.  Anything you're not sure 
>> of,
>> look at those on the server where the logs are getting rotated now.
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>>
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
> 





More information about the Xymon mailing list