alerting
alerting copied to clipboard
[BUG] No existing channels. but i have a channel
Hi,
First, I create a monitor and try to get notified via the trigger's action, but it says the channel doesn't exist.
but i have 1 channel.
So I tried recreating the channel, but it still says it doesn't exist.
and im running in a Docker Compose environment. Below is the docker-compose file I am using:
services:
opensearch:
image: opensearchproject/opensearch:latest
container_name: opensearch_container
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true # Disable JVM heap memory swapping
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # Set min and max JVM heap sizes to at least 50% of system RAM
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD}
ulimits:
memlock:
soft: -1 # Set memlock to unlimited (no soft or hard limit)
hard: -1
nofile:
soft: 65536 # Maximum number of open files for the opensearch user - set to at least 65536
hard: 65536
networks:
- efk_network
volumes:
- "./opensearch-data:/usr/share/opensearch/data"
ports:
- "9200:9200"
expose:
- 9200
restart: always
opensearch-dashboard:
image: opensearchproject/opensearch-dashboards:latest
container_name: opensearch_dashboard_container
networks:
- efk_network
ports:
- "5601:5601"
expose:
- "5601"
environment:
- 'OPENSEARCH_HOSTS="https://opensearch:9200/"'
restart: always
networks:
efk_network:
driver: bridge
If I've missed something, please let me know. Thanks!
same here
Replicated. I Was checking Opensearch out specifically because of these channels. Does this happen on v2.13.0 as well?
I can only confirm this with v2.14.0. Once upon a time it did work, but I have not validated 2.13.x
Same issue here.
I've managed to fix this by downgrading the dashboards package to 2.13.0
$ sudo apt list --installed | grep opensearch
opensearch-dashboards/now 2.13.0 amd64 [installed,local]
opensearch/now 2.14.0 amd64 [installed,local]
Confirmed here as well, OpenSearch & Opensearch-Dashboards 2.14.0
Might be fixed already Backport 2.x Refactored code to account for notifications server features API change