[Yum] Yum cron defaults

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

 



On Mon, Jan 05, 2004 at 07:52:51AM -0500, Hedemark, Magnus alleged:
> Josko Plazonic [mailto:plazonic@xxxxxxxxxxxxxxxxxx] said:
> 
> I would be *completely* happy with syslogging everything rather than
> emailing it.  That way I could use something like logwatch against my
> central syslog server to consolidate package reporting (something like
> "Package foo was upgraded 224 times" rather than seeing 224 emails each
> saying that the package "foo" was upgraded).
> 
> But if this were accepted as an enhancement, one thing I would ask is to
> make it a modular thing.  i.e. some people might want to log to syslog, some
> to snmp trap, others still to an http post.  So rather than hard code the
> logging to one form of output, put the hooks there to call an external
> function or script.  That would give us the most flexibility in figuring out
> how to track client package upgrades without having to be "spammed" :)


The "hooks" are called stdout.  Just make the cronjob do whatever you want.

yum ... | whateveryouwant
yum update | logger -t yum
etc...

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux