Details
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!