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

Don't send alert events without wc->host #12547

Merged
merged 3 commits into from Mar 30, 2022

Conversation

MrZammler
Copy link
Contributor

Summary

Don't try to send alert events if wc->host is not yet connected. If that happens, it is better to wait for the next iteration of the function (when eventually wc->host will be ok... ?) instead of sending an event with missing timezone data.

Fixes #12539

Test Plan

Since it's hard to reproduce, basic testing of alerts still going to the cloud after this change should be ok.

Additional Information

@MrZammler MrZammler merged commit dcf9679 into netdata:master Mar 30, 2022
maneamarius pushed a commit to maneamarius/netdata that referenced this pull request Apr 4, 2022
* if wc->host is null dont send events

* we will always have wc->host

* free claim_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Agent crashes during ACLK sync
3 participants