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

Ability to launch external scripts from Monitor Plugins

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Plugin
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: