From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0ECE81396D9 for ; Mon, 16 Oct 2017 15:18:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 937522BC071; Mon, 16 Oct 2017 15:17:55 +0000 (UTC) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1881A2BC022 for ; Mon, 16 Oct 2017 15:17:54 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id q124so4468706wmb.0 for ; Mon, 16 Oct 2017 08:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=pgNLhRwqTJNxWGU98vD2/f1byN8fe+aErF7pKrQxShg=; b=Ha+MLQ/aONZ6S9KsyKlp8OgVDT6n/qYdeEMZjoEr+3VG9ti2yitkDiqT7oLxukoVA+ ProTkh1XiJLk4Hw8X28674So3r4F/7Lo6Xy5YajnPonsYecSWbqaTHS0hN/bxoWuyBsv CRfnVxVkWZevk7L+l8Uksyi9R9j7pT4cLEvA4P3apnpMYEgnIl8ixJHQiNbK7BO5ckOx 81ku5lCt85J0LPJcoHI4unUqrnVrKKRkWIBT/5aBEDfxCzKX3tcdT4vR5Fm1wAO78aWf R7HfeXOavWjG3HTUb5PtrnkBqyZkcdDHNzi8Z/t9i1UY1MUXqlGE2Ws1J0+PEHEXKeDM w1+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pgNLhRwqTJNxWGU98vD2/f1byN8fe+aErF7pKrQxShg=; b=G9db346vsBeGWpg3gtqaJcg9wkGHtp+lE1hJJIvMUXXgbHggAOY6+TxZPkZ5WbG3xW AwA1uZXuxnq9yvXu7JZLmONDkCe8rC4RB9E0pusPcm2ltzE31lQJzvoZnRXlVDLlodkZ Qq7VbayGar/4cjT4frFHqeGv1EkjVxzpRmDbuB+yVKXGM88DfUUnma/zOKCZ0jIFxGMj Mt14+2ON/Zre9SjivR+ccmHpXZ3po5+jcgtxwlpCa2YMzhnuxKklb7k85a/00iYSVC3g rFzLW6iNOOW3hu/tjvMuBe60vbs6fB4Pk13WWGrKmSL3friOSx5j5KyOP3WClORFJIuy dhQA== X-Gm-Message-State: AMCzsaXHfPxrLBkCjg8JfNw5kndaoMSlvjbyCd52hxZn8GjToX1TegQR 4WJz+eeVRJ+ia3cD/emmxDXt8w== X-Google-Smtp-Source: ABhQp+Rcqwqphr+7KgvlryKG9Y5YsqUZ3W78AsMsQvJZ2jFsVyaXOGHFtyjEGYsPHgggThiLL/ookA== X-Received: by 10.223.154.199 with SMTP id a65mr921000wrc.18.1508167073343; Mon, 16 Oct 2017 08:17:53 -0700 (PDT) Received: from [172.20.0.40] ([197.101.48.133]) by smtp.googlemail.com with ESMTPSA id o18sm12802066wrc.45.2017.10.16.08.17.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2017 08:17:52 -0700 (PDT) Subject: Re: [gentoo-user] Re: monit and friends. To: gentoo-user@lists.gentoo.org References: <96762772-dd49-7464-da0c-c0a878a6e7de@gmail.com> <20171016150852.u6w6ekna7la4pxhb@matica.foolinux.mooo.com> From: Alan McKinnon Message-ID: Date: Mon, 16 Oct 2017 17:12:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20171016150852.u6w6ekna7la4pxhb@matica.foolinux.mooo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Archives-Salt: 87d12242-4e64-47ec-8a49-1e5bb19781c8 X-Archives-Hash: bced20836346ec7da7c01f902067d651 On 16/10/2017 17:08, Ian Zimmerman wrote: > On 2017-10-16 14:11, Alan McKinnon wrote: > >> My needs here are pretty simple: >> local watchdog that checks if a program is running and restart it if >> not. If that fails 3 times or so, alert me. >> Maybe a few file/dir/fifo monitors as well. Not much else. >> >> I don't need any of monit's graphing features or M/monit, I have other >> tools for that. And mostly don't even need it's http API either. > > supervisor (aka supervisord) > > http://supervisord.org/ > > python based, not sure if that's okay with you > I forgot about supervisord. Like monit, it runs everywhere and might be easier for the team-mates to understand and work with. Python is not a problem, all these hosts are ansible-managed anyway, so they all have to run python-2.7 Good find, thanks! -- Alan McKinnon alan.mckinnon@gmail.com