Re: server rebooted email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 19.11.2020 12:07, Kenneth Porter wrote:
I used to put a line in rc.local to email root that my server rebooted. Does anyone have a nice systemd unit file to do the same?

Also useful would be a shutdown email with the output of uptime. (I usually do that manually when rebooting for a kernel update.)


I would recommend to install logcheck and spend sometime to customize it for your needs. It would report if your server rebooted with dmesg inlined.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux