[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [H-source-users] Can h-client be used noninteractively to monitor th
From: |
Maxim Cournoyer |
Subject: |
Re: [H-source-users] Can h-client be used noninteractively to monitor the health of the server? |
Date: |
Fri, 10 Jun 2022 09:28:59 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi Yuchen,
Yuchen Pei <hi@ypei.me> writes:
> Hello,
>
> Given the recent new activity on h-client, and the problem with the
> server [1] that went unnoticed for a while, I'm thinking of adding a bit
> of monitoring to the server. After speaking to the FSF tech team, one
> possibility is to set up a cron job to create, update and delete a test
> entry periodically (e.g. daily), and notify me / the fsf sysadmin if the
> server response is unexpected.
>
> [1] https://savannah.nongnu.org/bugs/?62574
>
> To that end, I wonder if h-client has any non-interactive interface
> (e.g. command line), and if not, whether it is easy to add one?
I don't think it has any command line interface currently; but perhaps a
Python script could use it as a library? To be investigated.
Thanks,
Maxim