Carlos E. R. wrote:
The Monday 2008-02-18 at 16:43 +0100, Sandy Drobic wrote:
I was fed up with the number of emails that I got from the original script (I update every hour and the script sent the status each time. So I disabled the email for "clamav is up-to-date". I still got too many status mails, so I finally decided to only send an email if a problem occured.
Why don't you simply log it to syslog? Using "logger" calls in the script.
Because my policy is that all systems should actively report if a problem occurs. I don't want to log in to a system and then analyse the log when a user tells me that something is wrong. My time is limited and there are too many systems to monitor, that's why I make the system send me an email when something happens. It's much faster to read an email than to log on and see if anything has happened. Also I have to remember to check the system. It's too late if the smoke is already filling the room and the rats are leaving ship. (^-^) -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org