Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22208

Allow "alert" script to be executed when errors or warnings are logged

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Fix Version/s: 10.1.0
    • Component/s: OTHER
    • Labels:
      None

      Description

      It would be a very useful feature if MaxScale could allow an "alert" script to be executed anytime errors or warnings are logged.

      The more granular this would be, the better (perhaps it could be a comma-delimited list of error/warning code values).

      To give an example, someone wants to be able to be notified immediately, via a script from MaxScale, when they see the following error ("Too many connections"):

      2020-04-01 10:00:01 error : Unable to write to backend 'server1' due to authentication failure. Server in state RUNNING SLAVE.
      2020-04-01 10:00:01 error : (661327) Invalid authentication message from backend 'server1'. Error code: 1040, Msg : #08004Too many connections
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ccalender Chris Calender
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: