Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test alert receivers in Alert Manager #3086

Closed
SandhyaSaravana opened this issue Sep 30, 2022 · 1 comment
Closed

Test alert receivers in Alert Manager #3086

SandhyaSaravana opened this issue Sep 30, 2022 · 1 comment

Comments

@SandhyaSaravana
Copy link

I would like to implement some automated testing to validate my alert receivers are working or not. Sometimes the password for email receiver will change, so the alerts will not come.

I want to validate whether my alert reciver is working or not in a programmatic way.
I found we can use the API to create an alert. But it just creating an alert and returns the status as success even the SMTP password is wrong.

Any better way to test it?

@SandhyaSaravana SandhyaSaravana changed the title Test alert using Alert Manager Test alert receivers in Alert Manager Sep 30, 2022
@gotjosh
Copy link
Member

gotjosh commented Nov 1, 2022

I believe this is a duplicate of #2845, let's keep the conversation focus there as I believe that should solve your use-case.

@gotjosh gotjosh closed this as completed Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants