line / promgen

Promgen is a configuration file generator for Prometheus
https://line.github.io/promgen/
MIT License
1.04k stars 150 forks source link

[Question]How can I receive an alert message? #421

Open x18638798341 opened 1 year ago

x18638798341 commented 1 year ago

Hello,I am currently running PromGen using the Release-v0.56.0 version of the code.

Ran a promgen web application using the following command. docker run --rm --network host -v ~/.config/promgen:/etc/promgen/ line/promgen:local-v0.56.0

Ran a celery worker using the following command. docker run -it -u 1000:1000 --rm --name promgen-work --network host -v ~/.config/promgen/:/etc/promgen/ -v /opt/install/prometheus-2.43.0-rc.0.linux-amd64/promgen:/etc/prometheus line/promgen:local worker -l info -E --queues xxx

Now, I have added a service and a project. Currently, PromGen is able to update the Prometheus configuration and alert rule files successfully. I can also see the forwarded alerts from Alertmanager on the PromGen web page. However, I am not receiving any alert notifications. (I am able to receive test alert emails successfully via the test button.)

This is the information of the service. image This is the information of the project. image This is the test email I received. image

PromGen is already receiving alert notifications from Alertmanager. What should I do to receive alert notifications sent out by PromGen?