Steve Litt via plug on 17 Oct 2023 00:00:20 -0700
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Could you put that in an email?
|
- From: Steve Litt via plug <plug@lists.phillylinux.org>
- To: plug@lists.phillylinux.org
- Subject: Re: [PLUG] Could you put that in an email?
- Date: Tue, 17 Oct 2023 03:00:11 -0400
- Arc-authentication-results: i=1; rspamd-549cb46585-4fhhn; auth=pass smtp.auth=21tnwsjmfw smtp.mailfrom=slitt@troubleshooters.com
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1697526013; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fa/wO1tFw08UG1vd7PSj9qOqrnnUxjTE4UcXA4xUzr0=; b=rc9lGdtrdIAGoZHjhmP+XRc1gkDVnSYcz6LFTc1T+tX8bD4R4cd2CMKsQsU9rp9IMg48KK D4qkfoNpqOeP2wbbDrCeceFJlArWI7ZLjLneWfrxUttoPgYfNlvvj3ACulfgWpVObPkybF nMISf7B8UjqHM/3JcqeyET+ipn88s8a6bVrevxe2DNz/agstXNL6os2Hr4FWAGjGXustwp w8aByZavALA6J8iFifv7bbfFwC02yDk1iTcnFk2HGKXCLuntG7GaJhQKJYJcn61FsppbZc pFlWRgbjR3EBLA6Y5iywWIKwyM5TmWWJ2C1q74ojwgs7Fr+aZ+bHxcEBO7bm8g==
- Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1697526013; a=rsa-sha256; cv=none; b=JHCujBozfPyjjVknp+FUFFnCgw+smL/0wc2VT6b2CUmkN/6kb6/Qu62sH8Ua/dWqlaL35r X8UqAtYxBI3OaBkymPQ+kXiNAZpCK3aguBSEtbxrOaj30jaVXZ5QUHFZQJH+OqsUCp5zbU PR8UTW281Nu+BhIjrTP48R/dO5kd2uAsPS9Cpqf5o6TqXhzFGnVW723Qseoyn5MFTM6B9t WyQzvMkZsGnqSO9ezR+OvphV1DD2bF9esuIDm6yDJtd+A0n9tIE4541R5c0TQQUdoCnKb6 vytiNCuAaQ1SPFfrJaIyrFl8ez+rUOMuXzEEVqu858M6VRtJ6vuxONhMw7ijzg==
- Reply-to: Steve Litt <slitt@troubleshooters.com>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
L K via plug said on Mon, 16 Oct 2023 18:38:40 -0400
>Hey Pluggers,
> I have a home arch linux server I use for various hobbiest services.
> I'd
>like to get notified via email if it goes down. I usually would run
>such things on my server but... well.. you see my dilemma :D. Can
>anyone recommend a service they have used for such? I'd prefer a
>pull-based one (like issuing a web request from the server) for
>security. I have a bad association with pagerduty :P.
>
>Lou
Sounds like a job for a shellscript to me. The shellscript contains a
subroutine to test whether the remote server is doing its job, and
another subroutine to email error messages, so pseudocode looks like
this:
forever
test remote server
if problem
email people
sleep 1 minute
The shellscript could be launched as a daemon by systemd, sysvinit,
runit, s6 or OpenRC.
SteveT
Steve Litt
Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug