Date: Wed, 15 May 2024 20:11:43 +0100 From: Shamim Shahriar <shamim.shahriar@gmail.com> To: "Dan Mahoney (Ports)" <freebsd@gushi.org> Cc: questions <questions@freebsd.org> Subject: Re: EMail on unexpected reboot Message-ID: <CAOyJeZQL2UYfDmMQXV2rBYaP9xf%2Bh_ZC7JmKCJC_6QQs3PzSPw@mail.gmail.com> In-Reply-To: <83D445F4-677E-461F-B3FA-AA364B22C653@gushi.org> References: <83D445F4-677E-461F-B3FA-AA364B22C653@gushi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Cron @reboot One of many choices . . . On Wed, 15 May 2024, 09:43 Dan Mahoney (Ports), <freebsd@gushi.org> wrote: > 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’m 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’ve got blue hair). > [-- Attachment #2 --] <div dir="auto">Cron<div dir="auto">@reboot</div><div dir="auto"><br></div><div dir="auto">One of many choices . . .</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 May 2024, 09:43 Dan Mahoney (Ports), <<a href="mailto:freebsd@gushi.org">freebsd@gushi.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey there all,<br> <br> Is there something in the standard rc() structure that detects an unclean reboot and can take an action on it, like sending an email?<br> <br> I’m 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.<br> <br> Thoughts welcome.<br> <br> -Dan<br> (Will be at BSDCan, say Hi, I’ve got blue hair).<br> </blockquote></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOyJeZQL2UYfDmMQXV2rBYaP9xf%2Bh_ZC7JmKCJC_6QQs3PzSPw>
