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

Group based notifications #248

Closed
sashkab opened this issue Feb 7, 2022 · 3 comments
Closed

Group based notifications #248

sashkab opened this issue Feb 7, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@sashkab
Copy link

sashkab commented Feb 7, 2022

Describe the feature request

I have a lot of endpoints monitored by gatus.

I have multiple channels for notifications, but each device should have at least these lines per endpoint.

    alerts:
      - type: slack
        enabled: true
        failure-threshold: 3
        send-on-resolved: true

Would be nice if I can define this once per group, making adding new notification channel, or updating easier.

Why do you personally want this feature to be implemented?

Simplify alerts configuration. Usually group of devices share notification settings.

...or point me into right way for documentation explaining how to avoid a lot of config duplication. I just literally spent 30 minutes copy and pasting different alerting configs between endpoints and then figuring out why some does not send alerts (skipped during pasting portion)...

How long have you been using this project?

No response

Additional information

No response

@TwiN
Copy link
Owner

TwiN commented Feb 7, 2022

Hello @sashkab, did you know that you can set a default alert at the alerting provider configuration?

For instance, if you had the following alerting provider configuration:

alerting:
  slack:
    webhook-url: "..."
    default-alert:
      enabled: true
      failure-threshold: 3
      send-on-resolved: true

You'd be able to omit the other parameters in the endpoint's alert configuration, e.g.:

    alerts:
      - type: slack

That being said, there's already a request for the feature you're asking: #96, as such, I'm going to close this.

To show your support for the feature in the aforementioned issue, please react with 👍 -- this is how I decide what I prioritize when I have time.

@TwiN TwiN closed this as completed Feb 7, 2022
@TwiN TwiN added the duplicate This issue or pull request already exists label Feb 7, 2022
@sashkab
Copy link
Author

sashkab commented Feb 7, 2022

@TwiN I was not aware of default-alert, perhaps I missed it while reading the documentation. Thanks for the quick response!

@TwiN
Copy link
Owner

TwiN commented Feb 7, 2022

No worries :) Good luck configuring Gatus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants