Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-121

Ability to launch external scripts from Monitor Plugins

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Plugin
    • None

    Description

      All monitor plugin should have ability to launch external scripts upon trigger events.
      Example trigger events:

      • Master down
      • New Master found (A Slave has been promoted to a master)

      List of Events and Event Parameters here

      The script to be launched should be invoked with this command line format
      <script_name> --event <event_name> --initiator <initiating_node> --nodelist <server1> <server2> <server3>

      Where event_name is the name of the event, initiator is the node whose status change resulted in this event and nodelist is the list of nodes that the plugin is monitoring

      The script associated with the events should be configurable and admin user should be able to change the configured script name associated with an event during runtime without requireing MaxScale or Service to restart

      Each monitor plugin should also have configurable list of events for which a script will be launched

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              dshjoshi Dipti Joshi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.