Skip to content

Some values are not being replaced when using custom alerting #1054

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

Open
aalmenar opened this issue Mar 31, 2025 · 0 comments
Open

Some values are not being replaced when using custom alerting #1054

aalmenar opened this issue Mar 31, 2025 · 0 comments
Labels
area/alerting Related to alerting bug Something isn't working

Comments

@aalmenar
Copy link
Contributor

aalmenar commented Mar 31, 2025

Describe the bug

i have the following configuration:

  custom:
    url: "https://myalertserver/postendpoint"
    method: "POST"
    body: |
      {
        "message": "[ALERT_TRIGGERED_OR_RESOLVED]: [ENDPOINT_GROUP] - [ENDPOINT_NAME] - [ALERT_DESCRIPTION] - [RESULT_ERRORS]"
      }

What do you see?

Im receiving the messages like this:

TRIGGERED: Group_Name - Endpoint_Name - -

or

RESOLVED: Group_Name - Endpoint_Name - -

what makes me think, ALERT_DESCRIPTION and RESULT_ERRORS are coming empty.

What do you expect to see?

TRIGGERED: Group_Name - Endpoint_Name - A description - [CONNECTED] (false) == true

List the steps that must be taken to reproduce this issue

No response

Version

Latest docker image, or HEAD from git at this time.

Additional information

No response

@aalmenar aalmenar added the bug Something isn't working label Mar 31, 2025
@github-actions github-actions bot added the area/alerting Related to alerting label Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/alerting Related to alerting bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant