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

fix_irc_notification: Remove line break from message #7243

Merged
merged 4 commits into from Nov 7, 2019

Conversation

thiagoftsm
Copy link
Contributor

@thiagoftsm thiagoftsm commented Nov 4, 2019

Summary

Fixes #7233

When Netdata is sending messages to IRC channels, the messages are generating the error 421, because our default message is not according RFC1459(https://tools.ietf.org/html/rfc1459#section-2.3.1 ), this PR replaces the line break with commas to fix the problem.

Component Name

Alarms

Additional Information

I used the server ircd-hybrid to develop, because I wanted to have messages from both sides, but it is possible to do a simpler test, this PR must avoid the error.log to have error messages 421 when we send an alarm.

The line break present on netdata alarms are creating 421 errors on the server,
this is happening because according RFC1459 this is the end of the message
@squash-labs
Copy link

squash-labs bot commented Nov 4, 2019

Manage this branch in Squash

Test this branch here: https://thiagoftsmfix-irc-notification-wytca.squash.io

the script 'alarm-notify.sh' is not following our default format,
this commit returns to old format the newest line brought
@cakrit cakrit merged commit e3ba4c1 into netdata:master Nov 7, 2019
@thiagoftsm thiagoftsm deleted the fix_irc_notification branch November 13, 2019 12:05
jackyhuang85 pushed a commit to jackyhuang85/netdata that referenced this pull request Jan 1, 2020
* fix_irc_notification: Remove line break from message

The line break present on netdata alarms are creating 421 errors on the server,
this is happening because according RFC1459 this is the end of the message

* fix_irc_notification: Adjust tabulatin

the script 'alarm-notify.sh' is not following our default format,
this commit returns to old format the newest line brought
Saruspete pushed a commit to Saruspete/netdata that referenced this pull request May 21, 2020
* fix_irc_notification: Remove line break from message

The line break present on netdata alarms are creating 421 errors on the server,
this is happening because according RFC1459 this is the end of the message

* fix_irc_notification: Adjust tabulatin

the script 'alarm-notify.sh' is not following our default format,
this commit returns to old format the newest line brought
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.

alarm.sh - IRC notifications false error 421
3 participants