Anton Aylward wrote:
Carlos E. R. said the following on 10/22/2008 10:00 PM:
But openSUSE is not a big enterprise distro, it is a "user" distro.
So you re saying that this should not be used as a desktop Linux in an enterprise? Can I quote you on that?
I certainly can't speak for Carlos, but why not? SLES and SLED are the big enterprise distros.
As it stands, cron can _only_ mail me. It will _always_ mail me. Most of the time I'm not interested. I only want to know if something is wrong.
I must be missing the context here - cron can mail anyone in the world, just set MAILTO in the crontab.
Marcus Ranum, talking about firewalls and IDS, makes the analogy with an umbrella that notifies you about every raindrop that hits it.
Having tools like cron mail me when everything is OK is like that.
Then don't let it do that - have your scripts write to stderr when something is wrong, and only mail any stderr output.
Using tools like SWATCH or SEC lets _me_ decide what I need to be notified of and how I will be notified (mail, sms, pager, phone, popup, whatever ...)
I don't know those tools, but we achieve roughly the same with postfix and sms_client. We generate sms alerts based on emails from various snmp traps, mdadm and smartd.
Nothing is stopping you from having cron notify you by mail - via syslog.
Yep, anyone can pipe output to "logger". /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org