bosun-monitor / bosun

Time Series Alerting Framework
http://bosun.org
MIT License
3.4k stars 495 forks source link

Default unknown template is used despite unknownTemplate being specified #2446

Closed rstonkus closed 3 years ago

rstonkus commented 4 years ago

Looks like after 27ed4e522d8e085447408419806fff5e3101933d global unknownTemplate configuration option is not working anymore. Unknown template validated and assigned to https://github.com/bosun-monitor/bosun/blob/81e993e07efb7cf610b9101bca90db7244b7dff2/cmd/bosun/conf/rule/rule.go#L46, but it seems not used anywhere during the notification. As a result default notification is sent instead of the one specified in the global unknownTemplate. Either docs/configuration.md should be updated and reference to unknownTemplate should be removed or global unknownTemplate should be reintroduced.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.