|
Mar
11
|
RHEL / Fedora / CentOS has yum-updatesd, which provides notification of updates which are available to be applied to your system. This notification can be done either via syslog, email or over dbus. Configuration is done via the /etc/yum/yum-updatesd.conf file.
Open /etc/yum/yum-updatesd.conf file, enter:
# vi /etc/yum/yum-updatesd.conf
Setup variables as follows:
emit_via = email
# who to send the email to:
email_to = admin@domain.com
# who send the notifications
email_from = yumupdate@domain.com
Here is complete working config file:
[main] # how often to check for new updates (in seconds) run_interval = 3600 # how often to allow checking on request (in seconds) updaterefresh = 600 # how to send notifications (valid: dbus, email, syslog) emit_via = email # who to send the email email_to = admin@domain.com # who send the notifications email_from = yumupdate@domain.com
# should we listen via dbus to give out update information/check for new updates
dbus_listener = yes
# automatically install updates
do_update = no
# automatically download updates
do_download = yes
# automatically download deps of updates
do_download_deps = yes
Save and close the file. Restart notification yum-updatesd service:
# /etc/rc.d/init.d/yum-updatesd restart
Recent Comments