To: following updates have been applied on 'nixcraft-rhel8':īind-export-libs x86_64 32:9.11.20- 5.el8_3.1 Here is how email notification looks when updates applied on your RHEL/CentOS/Fedora Linux box:įrom: Updates applied on 'nixcraft-rhel8'. Set the address to send email messages from:Įmail_from = need set up email addresses to send messages to:Įmail_to = of the host/ip (smtp) server to connect to to send email messages. How to notify Linux sysadmin or developer when updates applied to the system? Valid options are stdio, email, motd, and None/Empty value. # If you want to apply them, then set to 'yes' What to do with downloaded updates on your CentOS/RHEL 8 box? Apply them ASAP: Should updates be downloaded when they are available? Next, Edit the /etc/dnf/nf to tweak settings as per your liking: We have installed and enabled automatic updates for RHEL/CentOS 8 server. Dnf_services= "rvice dnf-automatic-download.timer rvice dnf-automatic-install.timer rvice dnf-automatic-notifyonly.timer rvice dnf-automatic.timer" echo "Is the service and timer enabled?" for i in $dnf_services do echo " $i => $(systemctl is-enabled "$i")" done echo "Is the service and timer running? See the status:" for i in $dnf_services do systemctl status " $i" done Understnading config options
0 Comments
Leave a Reply. |