Nagendra Mishr <[EMAIL PROTECTED]> wrote:
>Does anyone know the best way to monitor running Systems? I.e. I want
>to know that somthing is wrong with the system... Is the best way to
>read the logs?
This is a real can o' worms.
It's easy to verify that certain processes are running and certain
functions are working. But determining that all parts of it are
working is whole 'nuther story.
Personally, I use Big Brother to periodically connect to port 25
remotely and look for the qmail-send process locally. I'm pretty
confident that if both those tests succeed, qmail is "working".
If had to be more sure, I'd have a cron job on a monitoring system
send a message to a remote system via SMTP which would go to a special
mailbox that sends a reply, probably using Peter Samuel's
"vacation". If the monitoring system didn't receive the expected
response in the alloted timeframe, it'd raise an alarm.
-Dave