question

Sharyl K. avatar image
Sharyl K. asked ·

Communicate to Slack from APM server

How can I set up APM server to forward incident alert action to Slack? APM version 7.1

pluginsservicesserver
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sharyl K. avatar image
Sharyl K. answered ·

com.Slack.Chat.action log showing:

2018-08-02 19:46:52 UTC SEVERE [SlackChat@com.Slack.Chat.action] Exception thrown whilst getting output stream...

2018-08-02 19:46:52 UTC SEVERE [SlackChat@com.Slack.Chat.action] java.net.SocketException: Connection reset

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

So looks like your AppMon server can't communicate with Slack. I would start here first. Does your server have the ability to communicate to services outside your internal network?

0 Likes 0 · ·
Sharyl K. avatar image
Sharyl K. answered ·

Will you check and let me know? or how do I check from my side?

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

You would have to check from your AppMon server. The instructions are on the plugin doc (Step 2 for checking connection)

0 Likes 0 · ·
Sharyl K. avatar image
Sharyl K. answered ·

yes. plugin is installed in onPrem APM server already

The Slack channel was set up when the app was on SaaS. The app now moved to onPrem (APM server) . Do we need to create another channel for APM server?

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Dynatrace SaaS has built-in integration with Slack and it isnt really the same for AppMon.

I would check if your AppMon server can still connect to the Slack URL and then edit the specific incident actions since you already have the plugin installed.

Thanks,

Ari

0 Likes 0 · ·
Ari P. avatar image
Ari P. answered ·

Hello Sharyl,

Have you tried implementing this plugin? https://community.dynatrace.com/community/display/...

Thanks,

Ari

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.