<br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 1:02 PM, GouNiNi Geekarea <span dir="ltr"><<a href="mailto:gounini.geekarea@gmail.com" target="_blank">gounini.geekarea@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everyone,<br>
<br>
I didn't find any simple solution to send emails to alerte when rgmanager decides to relocate services.<br>
Do you know simple solution other than create a script ressource?<br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>You can parse cluster logs (if in debug mode) and send mail if something like: </div><div>"clurgmgrd[30752]: <debug> Sent remote-start request to 2"</div>
<div>or</div><div>"attempting to relocate"</div><div>happens on them.</div><div><br></div><div>I.e: you can use rsyslog ommail <a href="http://www.rsyslog.com/doc/ommail.html">http://www.rsyslog.com/doc/ommail.html</a></div>
<div><br></div><div>Greetings,</div><div>Juanra</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
<br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</font></span></blockquote></div><br>