Koji bandaid

brett lentz wakko666 at gmail.com
Tue Feb 19 16:15:54 UTC 2008


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?

---Brett.




More information about the Fedora-infrastructure-list mailing list