Difference between revisions of "Check4updates"
(→Bugs) |
(→Usage) |
||
Line 39: | Line 39: | ||
===Usage=== | ===Usage=== | ||
# config show check4update | # config show check4update | ||
− | + | check4updates=configuration | |
emailaddress=admin-yum | emailaddress=admin-yum | ||
excludes= | excludes= | ||
Line 49: | Line 49: | ||
*repositories | *repositories | ||
− | config setprop | + | config setprop check4updates repositories repo1,repo2,repo3 |
Line 55: | Line 55: | ||
The recipient is admin but you can change this by a db command | The recipient is admin but you can change this by a db command | ||
− | config setprop | + | config setprop check4updates emailaddress "admin-yum" |
or if you need several recipients | or if you need several recipients | ||
− | config setprop | + | config setprop check4updates emailaddress "admin-yum foo@foo.be foo@foo.fr" |
* frequence | * frequence | ||
− | config setprop | + | config setprop check4updates frequence daily |
signal-event console-save | signal-event console-save | ||
Line 70: | Line 70: | ||
* excludes | * excludes | ||
you can exclude rpms if you don't want they are checked by the contrib | you can exclude rpms if you don't want they are checked by the contrib | ||
− | config setprop | + | config setprop check4updates excludes rpm1,rpm2,rpm3,rpm4 |
===Launch Manually=== | ===Launch Manually=== |
Revision as of 12:30, 25 December 2014
Check4update for SME Server
Maintainer
Stephane de Labrusse aka stephdl
Version
Description
Check4updates is a contrib which regularly checks the determined repositories and send email to the admin, for informing of all new rpms which need an update
Requirements
You need to enable stephdl repository
Installation
This contrib is currently held in an external non default repository. You must first configure the stephdl repository on your SME server by following the steps here stephdl (if not already configured).
You can check the repo status as follows
db yum_repositories show stephdl
If you receive no output then the repo is not configured on your SME server.
Then run the following commands to install the Check4updates contrib on your SME Server.
for sme8 or sme9
yum --enablerepo=stephdl install smeserver-check4updates
You have to set the repositories you want to check, you must enabled them before as it is asked on this page
Repositories have to be separated by a coma ','
for example
config setprop check4update repositories fws,stephdl
Then activate the database changes as follows:
signal-event post-upgrade; signal-event reboot
or if you do not want to restart the server, simply do
signal-event console-save
Usage
# config show check4update check4updates=configuration emailaddress=admin-yum excludes= frequence=daily repositories=
- repositories
config setprop check4updates repositories repo1,repo2,repo3
- email recipients
The recipient is admin but you can change this by a db command
config setprop check4updates emailaddress "admin-yum"
or if you need several recipients
config setprop check4updates emailaddress "admin-yum foo@foo.be foo@foo.fr"
- frequence
config setprop check4updates frequence daily signal-event console-save
daily is the default value but you can set also
weekly monthly
- excludes
you can exclude rpms if you don't want they are checked by the contrib
config setprop check4updates excludes rpm1,rpm2,rpm3,rpm4
Launch Manually
in a terminal root
/sbin/e-smith/check4repositoriesupdates
if you want to drop an email
/sbin/e-smith/check4repositoriesupdates -m
Uninstall
yum remove smeserver-check4update
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-check4updates component or use this link .