From nobody Wed May 15 08:43:01 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VfRZd0zQkz5KVDh for ; Wed, 15 May 2024 08:43:21 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "prime.gushi.org", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VfRZb3tz9z4ZwV for ; Wed, 15 May 2024 08:43:19 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=bplhgR3x; dmarc=pass (policy=none) header.from=gushi.org; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org Received: from smtpclient.apple (high.availability.mobile.mustelid.operational.command.kiosk.isc.org [149.20.66.196]) (authenticated bits=0) by prime.gushi.org (8.17.2/8.17.2) with ESMTPSA id 44F8hDoi074628 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 15 May 2024 08:43:14 GMT (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 44F8hDoi074628 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1715762594; bh=Noizy2jxj6vOT+CpgqeUAn7Cwe1OWhCCJhvhY/rCGt0=; h=From:Subject:Date:To; z=From:=20"Dan=20Mahoney=20(Ports)"=20|Subject:= 20EMail=20on=20unexpected=20reboot|Date:=20Wed,=2015=20May=202024= 2004:43:01=20-0400|To:=20questions=20; b=bplhgR3xQNC7um4HIOPfFSABJFn0JKmad8LLlcTbzmFtNp6+mA3WFAqt2m06K0dVN yLgu+NsW7DbCGDR7k/u+VpUiVrzM7QHC1pVa90J/U3rEtaCE+FUg98gQc4JmmchDt6 AC14bJIj9sT+4DCthp40WcRi5DtCIAYbuydn75jgx6bQ7FjBV6vte4Ko8WVk/diHkc EeLOI4y3ndQk4ZofcLE/I/VvrGt5tqr9HDT+pdydiWZZQm6+HsqejU0YX+qlfBExae byxenvBqsNjjWxYM8GYBCCcIQpQcJ80Dhp8gkToOqrrnXiepHaFajalWGss24S9eIX pjlumlqtPSxcg== X-Authentication-Warning: prime.gushi.org: Host high.availability.mobile.mustelid.operational.command.kiosk.isc.org [149.20.66.196] claimed to be smtpclient.apple From: "Dan Mahoney (Ports)" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: EMail on unexpected reboot Message-Id: <83D445F4-677E-461F-B3FA-AA364B22C653@gushi.org> Date: Wed, 15 May 2024 04:43:01 -0400 To: questions X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.10 / 15.00]; DWL_DNSWL_MED(-2.00)[gushi.org:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gushi.org:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; HAS_XAW(0.00)[] X-Rspamd-Queue-Id: 4VfRZb3tz9z4ZwV Hey there all, Is there something in the standard rc() structure that detects an = unclean reboot and can take an action on it, like sending an email? I=E2=80=99m not so interested in saving a core file or anything like = that, just that some machines reboot so fast that the usual monitoring = can miss it. Thoughts welcome. -Dan (Will be at BSDCan, say Hi, I=E2=80=99ve got blue hair).=