Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Fix post notification logging #2196

Merged
merged 1 commit into from
Nov 28, 2017
Merged

Conversation

pradeepbbl
Copy link
Contributor

This will add alert key and notification name to HTTP notification failure log.

Current failure log:

2017/11/21 14:15:41 error: notify.go:48: sending http: bad response on notification POST: 400

With this change:

2017/11/28 15:17:18 error: notify.go:48: sending http: bad response on notification with name bosun_uptime for alert bosun_uptime{} method POST: 400

@pradeepbbl
Copy link
Contributor Author

looping @kylebrandt

@captncraig captncraig merged commit 68d0640 into bosun-monitor:master Nov 28, 2017
hermanschaaf pushed a commit to hermanschaaf/bosun that referenced this pull request Jan 5, 2018
dschneller added a commit to Rheinwerk/bosun that referenced this pull request Feb 26, 2018
* master:
  cmd/scollector: add systemd physical "predictable" linux net interface names (bosun-monitor#1985)
  cmd/bosun: add notification stats to /api/health (bosun-monitor#2222)
  cmd/bosun: native short links replace google (bosun-monitor#2210)
  docs: update system_configuration docs to reflect RedisDb configuration variable (bosun-monitor#2220)
  cmd/bosun/sched/views.go: added new incident filter `since` (bosun-monitor#2215)
  Bosun complaining about `actionBodyForceClose`, `actionBodyDelayedClose`, `actionBodyCancelClose` intermediately and causing crash with error `couldn't read rules: unknown key actionBodyDelayedClose` after looking at the code cmd/bosun/conf/rule/loaders.go#L442 we found strings.HasSuffix sometime getting matched with 'Close' rather then 'DelayedClose, ForceClose or CancelClose' and later it breaks the switch statement cmd/bosun/conf/rule/loaders.go#L462 due to invalid template type (bosun-monitor#2198)
  Update WMI to support int[] (bosun-monitor#2213)
  Add Scheme option to bosun toml (bosun-monitor#2209)
  Changed load sequence for `macros` to use in the notifications (bosun-monitor#2199)
  Fixed wrong nested ul in unknown notify (bosun-monitor#2208)
  travis: remove slack notification / go 1.9 (bosun-monitor#2203)
  Fix post notification logging (bosun-monitor#2196)
clinta pushed a commit to clinta/bosun that referenced this pull request Mar 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants