简体   繁体   中英

Slack Sensu alert getting cut off

I am attempting to get some custom info in my Sensu Slack alerts via this plugin but it seems that adding the message_prefix is causing weirdness in the slack message formatting.

For example, I would like the entire message with extra message prefix stuff to be posted but the last line is getting cut off and the "Show more..." appears on the same line as the last part of the message

The message formats correctly if I don't include message_prefix , but doesn't include the additional info so I would like to find out a way to get everything working with the prefix.

图片

Here is an example of what I would like the message to look like by default.

在此处输入图片说明

Does anybody know what I can do to fix this?

I work for Slack and there's a few things that could be causing this. If you could write into https://slack.com/help/contact and give your permission to look at your team's Sensu messages we'll take look at the messages the plugin is posting. With this information we'll be able quickly narrow down the cause and hopefully fix this issue.

Afterwards, with your permission of course, we're happy to share what we learn back here for future Slack and Sensu users.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM