On Sat, May 24, 2008 at 05:46:30PM +0200, Michael Schwartzkopff wrote: > Am Samstag 24 Mai 2008 13:42 schrieb Fabiano Sidler: > > On Fri, May 23, 2008 at 08:59:27PM +0200, Michael Schwartzkopff wrote: > > > Consider using a MailTo Resource inside a group of resources. > > > > I have tried, but don't get any mail...here are the logs: > > > > May 24 13:28:01 mailsrv MailTo[20361]: [20366]: WARNING: Don't stat/monitor > > me! MailTo is a pseudo resource agent, so the status reported may be > > incorrect May 24 13:28:01 mailsrv MailTo[20315]: [20367]: INFO: MailTo > > Resource is stopped May 24 13:28:01 mailsrv ResourceManager[20295]: > > [20381]: info: Running /etc/ha.d/resource.d/MailTo [EMAIL PROTECTED] > > BigImportantWebserver start May 24 13:28:01 mailsrv MailTo[20383]: [20440]: > > INFO: MailTo Success May 24 13:28:02 mailsrv ResourceManager[20295]: > > [20771]: info: Releasing resource group: websrv > > MailTo::[EMAIL PROTECTED]::BigImportantWebserver [...] May 24 13:28:02 > > mailsrv > > ResourceManager[20295]: [20974]: info: Running /etc/ha.d/resource.d/MailTo > > [EMAIL PROTECTED] BigImportantWebserver stop May 24 13:28:02 mailsrv > > MailTo[20976]: [21033]: INFO: MailTo Success May 24 13:28:13 mailsrv > > ResourceManager[20295]: [21356]: info: Running /etc/ha.d/resource.d/MailTo > > [EMAIL PROTECTED] BigImportantWebserver stop May 24 13:28:13 mailsrv > > MailTo[21358]: [21415]: INFO: MailTo Success May 24 13:28:44 mailsrv > > ResourceManager[21446]: [21454]: info: Releasing resource group: websrv > > MailTo::[EMAIL PROTECTED]::BigImportantWebserver [...] May 24 13:28:44 > > mailsrv > > ResourceManager[21446]: [21637]: info: Running /etc/ha.d/resource.d/MailTo > > [EMAIL PROTECTED] BigImportantWebserver stop May 24 13:28:44 mailsrv > > MailTo[21639]: [21696]: INFO: MailTo Success > > Have you ever tried if you could mail from that machine by using the mail > command? >
Yes, and I even have replaced the call to mail with msmtp using a remote smtp server, which doesn't change that I don't get any mail. For me, it seems that MailTo doesn't execute properly although it reports success. Are there any more way to implement alerting by mail? Greetings, Fabiano _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
