<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Integrating Dynatrace notification with Telegram in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/184468#M427</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40722"&gt;@erh_inetum&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;actually ,you need to get familiar with how the bots work in telegram. This was always quite challenging to setup, but you can find guides for it. I don't use telegram anymore, but this one below works for me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;URL is: &lt;A href="https://api.telegram.org/bot" target="_blank"&gt;https://api.telegram.org/bot&lt;/A&gt;&lt;STRONG&gt;&amp;lt;your_bot_token&amp;gt;&lt;/STRONG&gt;/sendMessage&lt;BR /&gt;POST Method&lt;BR /&gt;JSON notification payload:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{ "chat_id": &amp;lt;your_chat_id&amp;gt;, "text": "&amp;lt;text_message&amp;gt;" }&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Just replace:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;lt;your_bot_token&amp;gt; with bot token&lt;/LI&gt;&lt;LI&gt;&amp;lt;chat_id&amp;gt; with the chat ID where you are about to send message to&lt;/LI&gt;&lt;LI&gt;&amp;lt;message&amp;gt; with the message text&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Optionally you can send also markdown or HTML formatted messages, see &lt;A href="https://core.telegram.org/bots/api#sendmessage" target="_self"&gt;telegram API docs.&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 09:06:51 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2022-04-11T09:06:51Z</dc:date>
    <item>
      <title>Integrating Dynatrace notification with Telegram</title>
      <link>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/184315#M426</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We want to integrate Dynatrace notifications with Telegram.&lt;/P&gt;
&lt;P&gt;I think this can be done via Webhook.&lt;/P&gt;
&lt;P&gt;I've seen this link &lt;A href="https://hevodata.com/learn/telegram-webhooks/#s7" target="_blank" rel="noopener"&gt;https://hevodata.com/learn/telegram-webhooks/#s7&lt;/A&gt; in which it seems it's possible to do that. But I have some questions about the implementation.&lt;/P&gt;
&lt;P&gt;1.- On "Step1" on the link, it says that the first step in setting up Telegram Webhooks Integration is to obtain the Authorization Token.&lt;/P&gt;
&lt;P&gt;So I guess we have to input that token clicking on "Creating basic authorization header". Am I right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erh_inetum_1-1649337603089.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/5230i5C1D8AC419912515/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erh_inetum_1-1649337603089.png" alt="erh_inetum_1-1649337603089.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.- I have doubts about what is the Webhook URL that we have to configure.&lt;/P&gt;
&lt;P&gt;Reading the link, on step 4 it seems we have to put the Telegram Bot API URL. And a Telegram Bot API must be created to send notifications. So I guess we have to put Telegram Bot API URL on Webhook URL field in Dynatrace. Is that the case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.- And about the payload,&amp;nbsp; I think it is clear this part for me: we should send the fields we want to be notified via Telegram. So, I have no doubts about this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has someone implemented that? Could someone help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Elena.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:22:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/184315#M426</guid>
      <dc:creator>erh_inetum</dc:creator>
      <dc:date>2022-04-08T08:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Dynatrace notification with Telegram</title>
      <link>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/184468#M427</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40722"&gt;@erh_inetum&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;actually ,you need to get familiar with how the bots work in telegram. This was always quite challenging to setup, but you can find guides for it. I don't use telegram anymore, but this one below works for me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;URL is: &lt;A href="https://api.telegram.org/bot" target="_blank"&gt;https://api.telegram.org/bot&lt;/A&gt;&lt;STRONG&gt;&amp;lt;your_bot_token&amp;gt;&lt;/STRONG&gt;/sendMessage&lt;BR /&gt;POST Method&lt;BR /&gt;JSON notification payload:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{ "chat_id": &amp;lt;your_chat_id&amp;gt;, "text": "&amp;lt;text_message&amp;gt;" }&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Just replace:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;lt;your_bot_token&amp;gt; with bot token&lt;/LI&gt;&lt;LI&gt;&amp;lt;chat_id&amp;gt; with the chat ID where you are about to send message to&lt;/LI&gt;&lt;LI&gt;&amp;lt;message&amp;gt; with the message text&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Optionally you can send also markdown or HTML formatted messages, see &lt;A href="https://core.telegram.org/bots/api#sendmessage" target="_self"&gt;telegram API docs.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 09:06:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/184468#M427</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-04-11T09:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Dynatrace notification with Telegram</title>
      <link>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/192110#M428</link>
      <description>&lt;P&gt;I keep receiving an error, shown below... I am not sure what the issue is here... i have followed the above correctly and confirmed i have the correct token... and suggestions on how to resolve this?&amp;nbsp;&lt;/P&gt;&lt;H3&gt;"Custom Integration test failed&lt;/H3&gt;&lt;P&gt;&lt;STRONG&gt;Reason:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Could not connect to the specified URL"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kishan&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 10:21:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/192110#M428</guid>
      <dc:creator>Kishan</dc:creator>
      <dc:date>2022-08-05T10:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Dynatrace notification with Telegram</title>
      <link>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/192250#M429</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/42576"&gt;@Kishan&lt;/a&gt;&amp;nbsp;are you using Dyntrace Managed or SaaS? With Managed most likely your outbound connections from the cluster nodes to the URL are not allowed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 19:52:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/192250#M429</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-08-08T19:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating Dynatrace notification with Telegram</title>
      <link>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/192416#M430</link>
      <description>&lt;P&gt;It is a managed solution thank you... I have confirmed the firewall wasnt opened when requested.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 06:51:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Integrating-Dynatrace-notification-with-Telegram/m-p/192416#M430</guid>
      <dc:creator>Kishan</dc:creator>
      <dc:date>2022-08-10T06:51:20Z</dc:date>
    </item>
  </channel>
</rss>

