logo       

Re: Munin log rotator: msg#00051

db.rddtool.munin.general

Subject: Re: Munin log rotator

Configuring logrotate for munin is pretty straight forward.

For instance on one of our Linux munin hosts I use this config

$ cat /etc/logrotate.d/munin
/var/log/munin/*log {
weekly
rotate 5
compress
missingok
notifempty
sharedscripts
postrotate
{
# Net::Server has a SIGHUP bug that although reported as
resolved here
# http://rt.cpan.org/Public/Bug/Display.html?id=6077
# still seems to be prevelant, why we can't run this
#
#/bin/kill -1 $(cat $(awk '$1~/^pid_file/{print$2}'
/etc/opt/munin/munin-node.conf))
#
# but rather restart the service
/sbin/service munin restart || true
} 2>/dev/null
endscript
}





> -----Original Message-----
> From: munin-users-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:munin-users-bounces@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
Mike
> Brandonisio
> Sent: Wednesday, December 13, 2006 2:39 PM
> To: Neil Gunton
> Subject: [munin-users] Munin log rotator
>
>
> Hi,
>
> Does Munin have a log rotator that will tar the log files
> periodically and create and empty file to continue with? I
noticed
> that when I clean up my munin logs, It seems to work more
> reliably. I
> had some issues with incomplete graphs being rendered. The
bottom of
> the graph image would be missing 10 to 50 pixels, sometime
more.
>
> Or is this just an admin thing I should deal with myself?
>
> Sincerely,
> Mike
> --
> Mike Brandonisio * Web Hosting
> Tech One Illustration * Internet Marketing
> tel (630) 759-9283 * e-Commerce
> mbrando@xxxxxxxxxxxxxx * http://www.jikometrix.net
>
> JIKOmetrix - Reliable web hosting
>
>
>
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
> chance to share your
> opinions on IT & business topics through brief surveys - and
earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
&CID=DEVDEV
_______________________________________________
munin-users mailing list
munin-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/munin-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise