Mailinglist Archive: opensuse (3434 mails)
| < Previous | Next > |
Re: [opensuse] amavisd warning failure? - SCRIPT SORTED OUT
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Mon, 18 Feb 2008 18:36:02 +0100 (CET)
- Message-id: <alpine.LSU.1.00.0802181829560.6323@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Monday 2008-02-18 at 18:18 +0100, Sandy Drobic wrote:
X-)
Ok, I'll modify the above. Log what the script normally does, log and email on problems. This way, when you investigate a problem, you have an activity log to help you.
You know that you can tell syslog to send a log to another computer? You could send the warning log of all computers to a single file.
Hum! What if the problem is with email? You could have a script sound the "All hands, abandon ship, report to your designated escape pod" voice recording :-p
- -- Cheers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHucIEtTMYHG2NR9URAkuEAJ9xsu1Wxh8qzVRhpGeYE/jr6xGiRACfdYk5
YF8Co5bMA7iK/3Di4fFs/6Q=
=s0KO
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Hash: SHA1
The Monday 2008-02-18 at 18:18 +0100, Sandy Drobic wrote:
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. (^-^)
X-)
Ok, I'll modify the above. Log what the script normally does, log and email on problems. This way, when you investigate a problem, you have an activity log to help you.
You know that you can tell syslog to send a log to another computer? You could send the warning log of all computers to a single file.
Hum! What if the problem is with email? You could have a script sound the "All hands, abandon ship, report to your designated escape pod" voice recording :-p
- -- Cheers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHucIEtTMYHG2NR9URAkuEAJ9xsu1Wxh8qzVRhpGeYE/jr6xGiRACfdYk5
YF8Co5bMA7iK/3Di4fFs/6Q=
=s0KO
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |