Hello,
First of all I would like to thank the answer to my previous question (different behavior for alerts).
Now, I'm facing a problem with mail.alert. Under "normal operation" it works perfectly, but when the network is down the alert gets locked (probably trying to resolve the destination name).
I was looking at the source code of the alert and noticed that it uses sendmail as the application which sends the alert. Does anyone know how can I set a timeout in sendmail command line to limit the time it keeps on trying to send a message (and consequently locking mon)?
I found (searching at google) that I could just "queue" the message, but then I would need a sendmail server running at the machine, which is not desirable in my case.
Another possible solution would be the use of Net::SMTP, does anyone has used it to build a mail.alert?
Thanks (once again),
Guilherme.
_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon