Announcement

Announcement Module
Collapse
No announcement yet.

Handy wsrep_notify_cmd email script

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Handy wsrep_notify_cmd email script

    I wrote a python script to notify me via e-mail whenever something noteworthy is happening in the cluster. You can set up it up on as many of your cluster nodes as you like (with the minimum, of course, being 1), but be aware that it can get a bit chatty when something happens. I also threw in an selinux rule (which only works if your mail server uses port 25) just for kicks.

    I'm not recommending that this be your primary means of cluster health information, but I have found it quite useful for when I am performing maintenance and also serves as a secondary emergency notification system.

    Feel free to use or modify it in any form.

    EDIT: Added to GitHub: https://github.com/gguillen/galeranotify

    Gabe
    Last edited by gabeguillen; 09-26-2013, 01:35 PM. Reason: Added GitHub repo link

  • #2
    Edit: Original script was posted here. Please visit the GitHub in the original post to get the latest version.
    Last edited by gabeguillen; 10-03-2013, 05:32 PM.

    Comment


    • #3
      OK, file attachment and formatted script file posting failed. If you want me to send you the zip, send me an email: gguillen@gesa.com

      Comment


      • #4
        Added to GitHub: https://github.com/gguillen/galeranotify

        Will edit original post to reflect this.

        Comment

        Working...
        X