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

PAGERDUTY_SUMMARY_TEMPLATE directive appears to be ignored #55

Closed
zenmetsu opened this issue Apr 14, 2023 · 2 comments
Closed

PAGERDUTY_SUMMARY_TEMPLATE directive appears to be ignored #55

zenmetsu opened this issue Apr 14, 2023 · 2 comments

Comments

@zenmetsu
Copy link

Within the yaml file defining the pagerduty handler, I am unable to see any effect when setting the PAGERDUTY_SUMMARY_TEMPLATE variable under the env_vars section. It seems that when notification is received via pagerduty, the default value of "{{.Entity.Name}}/{{.Check.Name}} : {{.Check.Output}}" is always used instead.

@zenmetsu
Copy link
Author

Additionally, if the handler commandline is updated to include --summary-template "VALUE" no notification is ever received via the PagerDuty API...

@zenmetsu
Copy link
Author

Closing. Seems that the backend was using a prior release of the handler. After updating to 2.4.0 by removing the old version, everything works.

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

1 participant