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

Couchbase CLI lacks alerts-related commands

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.1.0
    • 1.8.1, 2.0
    • tools
    • Security Level: Public
    • None
    • Linux
    • 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!

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty