Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
4.5.0
-
None
-
Untriaged
-
Unknown
Description
Set up a single node and run the following commands:
curl http://127.0.0.1:9000/settings/alerts -X POST -u Administrator:password -d "enabled=true&recipients=root@couchbase.com&sender=user@couchbase.com&emailUser=username&emailPass=password&emailPort=25&emailHost=localhost&emailEncrypt=false&alerts=auto_failover_node"
curl http://127.0.0.1:9000/settings/alerts -u Administrator:password | jq .
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 203 100 203 0 0 195k 0 -::- -::- -::- 198k
{
"recipients": [
"root@couchbase.com"
],
"sender": "user@couchbase.com",
"enabled": true,
"emailServer":
,
"alerts": [
"auto_failover_node"
]
}
Note that the "pass" field is empty.
Attachments
Issue Links
- duplicates
-
MB-16245 couchbase-cli setting-alert --email-port and --email-password arguments not working in 3.0.3 and 3.1
- Closed