Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-5721

Couchbase CLI lacks alerts-related commands

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 2.0
    • Fix Version/s: 2.1.0
    • Component/s: tools
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Linux
    • Sprint:
      PCI Team - Sprint 3

      Description

      Would be great to have commands related to 'alerts' added as parameters in the CLI.

      Something similar to what is available with the Couchbase Management REST API:

      "You will receive an email when certain events happen (currently only events cause by auto-failover are supported). Possible parameters are:

      enabled (true|false) (required): whether to enable or disable email notifications
      sender (string) (optional, default: couchbase@localhost): The sender address of the email
      recipients (string) (required): A comma separated list of recipients of the of the alert emails.
      emailHost (string) (optional, default: localhost): Host address of the SMTP server
      emailPort (integer) (optional, default: 25): Port of the SMTP server
      emailEncrypt (true|false) (optional, default: false): Whether you'd like to use TLS or not
      emailUser (string) (optional, default: ""): Username for the SMTP server
      emailPass (string) (optional, default: ""): Password for the SMTP server
      alerts (string) (optional, default: auto_failover_node, auto_failover_maximum_reached, auto_failover_other_nodes_down, auto_failover_cluster_too_small): Comma separated list of alerts that should cause an email to be sent. Possible values are: auto_failover_node, auto_failover_maximum_reached, auto_failover_other_nodes_down, auto_failover_cluster_too_small."

      Thanks in advance!

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        gvarisco Gianluca Varisco added a comment -

        @Bin, any chance to have this feature included in the next version?

        Show
        gvarisco Gianluca Varisco added a comment - @Bin, any chance to have this feature included in the next version?
        Hide
        bcui Bin Cui added a comment -

        it will be part of 2.0.2 release. Thx.

        Show
        bcui Bin Cui added a comment - it will be part of 2.0.2 release. Thx.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        moving to 2.1. given other high prio tasks in the tools area, we can't get to this in 2.0.2.

        Show
        maria Maria McDuff (Inactive) added a comment - moving to 2.1. given other high prio tasks in the tools area, we can't get to this in 2.0.2.
        Hide
        gvarisco Gianluca Varisco added a comment -

        Bin, has been fixed?

        Show
        gvarisco Gianluca Varisco added a comment - Bin, has been fixed?
        Hide
        bcui Bin Cui added a comment -
        Show
        bcui Bin Cui added a comment - It is fixed as http://review.couchbase.org/#/c/25047/
        Hide
        anil Anil Kumar added a comment -

        Confirmed with Bin this is Fixed and will be merged in 2.0.2.

        Show
        anil Anil Kumar added a comment - Confirmed with Bin this is Fixed and will be merged in 2.0.2.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        pls verify in latest 2.0.2 build.

        Show
        maria Maria McDuff (Inactive) added a comment - pls verify in latest 2.0.2 build.
        Hide
        shashank Shashank Gupta added a comment -

        verified with the build 2.0.2-769-rel

        Show
        shashank Shashank Gupta added a comment - verified with the build 2.0.2-769-rel

          People

          • Assignee:
            shashank Shashank Gupta
            Reporter:
            gvarisco Gianluca Varisco
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Gerrit Reviews

                There are no open Gerrit changes