Koji bandaid

Mike McGrath mmcgrath at redhat.com
Tue Feb 19 16:55:21 UTC 2008


On Tue, 19 Feb 2008, brett lentz wrote:

> 2008/2/16 Mike McGrath <mmcgrath at redhat.com>:
> > The koji builders don't check back in automatically[1] if they've lost a
> > connection to the host.  I put this script together in an attempt to fix
> > it, thought I'd post it here before sticking it on the builders.  Basic
> > premis is check if its checked in in 5 minutes (should be waaay more then
> > enough)  unless the box is under high load, then check 15 minutes, might
> > be over kill.
> >
> > I'd like to run this check via cron every 5 minutes on each builder.
> > Anyone have any suggested fixes or against me running this?
> >
> >         -Mike
> >
> > [1] https://fedorahosted.org/koji/ticket/66
>
>
> The script looks fine.  Out of curiosity, why would you run it as a
> cron job instead of via nagios?
>

We could very well do that actually.  The main problem is, right now at
least, we don't have nagios setup to actually take any actions when an
event happens.  Might be somthing our sysadmin-noc team can look at.  Any
takers?

	-Mike




More information about the Fedora-infrastructure-list mailing list