<?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: Telegram Config in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735634#M9480</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;Trying that now&lt;/P&gt;&lt;P&gt;Nar&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 09:43:40 GMT</pubDate>
    <dc:creator>Nardus_Geldenhu</dc:creator>
    <dc:date>2020-07-30T09:43:40Z</dc:date>
    <item>
      <title>Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735632#M9478</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Hope you are well. Try to get telegram notifications going. So I did create a HTTP Request Template and it is working, but I can not get rid of the html formatting when I receive messages from telegram. Anyone got this working.&lt;/P&gt;&lt;P&gt;Example of telegram messages:&lt;/P&gt;&lt;P&gt;AppDynamics has detected a problem with DB Server &amp;lt;b&amp;gt;dbserver:3333&amp;lt;/b&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Databases Health&amp;lt;/b&amp;gt; continues&lt;BR /&gt;to violate with &amp;lt;b&amp;gt;critical&amp;lt;/b&amp;gt;.&amp;lt;br&amp;gt;All of the following conditions were&lt;BR /&gt;found to be violating&amp;lt;br&amp;gt;For DB Server &amp;lt;b&amp;gt;dbserver:3333&amp;lt;/b&amp;gt;:&amp;lt;br&amp;gt;1) Condition 3&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Slave_IO_Running's&amp;lt;/b&amp;gt;&lt;BR /&gt;value &amp;lt;b&amp;gt;1.00&amp;lt;/b&amp;gt; was &amp;lt;b&amp;gt;within&amp;lt;/b&amp;gt; baseline-based calculated value&lt;BR /&gt;&amp;lt;b&amp;gt;1.00&amp;lt;/b&amp;gt; by &amp;lt;b&amp;gt;1.00&amp;lt;/b&amp;gt; standard deviation(s) &amp;lt;b&amp;gt;0.00&amp;lt;/b&amp;gt; for the last&lt;BR /&gt;&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt; minutes.&amp;lt;br&amp;gt; Baseline used here is '&amp;lt;b&amp;gt;Daily Trend - Last 30&lt;BR /&gt;days&amp;lt;/b&amp;gt;'. 11:24&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nar&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 09:28:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735632#M9478</guid>
      <dc:creator>Nardus_Geldenhu</dc:creator>
      <dc:date>2020-07-30T09:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735633#M9479</link>
      <description>&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;Are you using the text/plain MIME type encoding for the POST?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 09:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735633#M9479</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-30T09:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735634#M9480</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;Trying that now&lt;/P&gt;&lt;P&gt;Nar&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 09:43:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735634#M9480</guid>
      <dc:creator>Nardus_Geldenhu</dc:creator>
      <dc:date>2020-07-30T09:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735635#M9481</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Changing it did not help, I need to do a application/json payload.&lt;/P&gt;&lt;P&gt;#set( $sm = $!{latestEvent.summaryMessage.replace('"',"*")} )&lt;BR /&gt;#set( $sm = $sm.replace("&amp;lt;b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm = $sm.replace("&amp;lt;/b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm = $sm.replace("&amp;lt;br&amp;gt;", " ") )&lt;BR /&gt;#set( $sm = $sm.replace("null"," ") )&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"chat_id":"-24143434398",&lt;BR /&gt;"text":"${latestEvent.displayName}:\n\n${latestEvent.eventMessage}"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nar&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 13:22:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735635#M9481</guid>
      <dc:creator>Nardus_Geldenhu</dc:creator>
      <dc:date>2020-07-30T13:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735636#M9482</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Can you advise how you have set up Telegram to post messages to it?&lt;/P&gt;&lt;P&gt;I assume you created a Channel &amp;amp; Bot, added the Bot to the Channel and using the following type of URL&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.telegram.org/bot1346170414:AAFeH7D1Idjtw_pfH1-6ZwhHNtDE8JZ7_t4/sendMessage?chat_id=41551111&amp;amp;text=test" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.telegram.org/bot1346170414:AAFeH7D1Idjtw_pfH1-6ZwhHNtDE8JZ7_t4/sendMessage?chat_id=41551111&amp;amp;text=test&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you share the HTTP request Template configuration(Method, URl etc) of how you are posting to telegram, to better assist and is there a reason you are posting it in json format, if telegram accepts text?&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 14:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735636#M9482</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-30T14:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735637#M9483</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;Look at screenshots.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot-2020-07-30-160742-980x260.png" style="width: 980px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35294iB61B5616DA6900DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot-2020-07-30-160620-869x410.png" style="width: 869px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35297i96E33AA03E73DD06/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nardus&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 14:08:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735637#M9483</guid>
      <dc:creator>Nardus_Geldenhu</dc:creator>
      <dc:date>2020-07-30T14:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735638#M9484</link>
      <description>&lt;P&gt;Awesome&lt;/P&gt;&lt;P&gt;Ok you only strip out the HTML in the first section(latestEvent.summaryMessage), not for the last 2 values of&amp;nbsp;&lt;/P&gt;&lt;P&gt;latestEvent.displayName&lt;/P&gt;&lt;P&gt;latestEvent.eventMessage&lt;/P&gt;&lt;P&gt;#set( $sm = $!{latestEvent.summaryMessage.replace('"',"*")} )&lt;BR /&gt;#set( $sm = $sm.replace("&amp;lt;b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm = $sm.replace("&amp;lt;/b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm = $sm.replace("&amp;lt;br&amp;gt;", " ") )&lt;BR /&gt;#set( $sm = $sm.replace("null"," ") )&lt;/P&gt;&lt;P&gt;#set( $sm1 = $!{latestEvent.displayName.replace('"',"*")} )&lt;BR /&gt;#set( $sm1 = $sm1.replace("&amp;lt;b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm1 = $sm1.replace("&amp;lt;/b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm1 = $sm1.replace("&amp;lt;br&amp;gt;", " ") )&lt;BR /&gt;#set( $sm1 = $sm1.replace("null"," ") )&lt;/P&gt;&lt;P&gt;#set( $sm2 = $!{latestEvent.eventMessage.replace('"',"*")} )&lt;BR /&gt;#set( $sm2 = $sm2.replace("&amp;lt;b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm2 = $sm2.replace("&amp;lt;/b&amp;gt;", "*") )&lt;BR /&gt;#set( $sm2 = $sm2.replace("&amp;lt;br&amp;gt;", " ") )&lt;BR /&gt;#set( $sm2 = $sm2.replace("null"," ") )&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"chat_id":"535514651",&lt;BR /&gt;"text":"$sm1:\n\n$sm2"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I tested and no html in my telegram message&lt;/P&gt;&lt;P&gt;It's not the cleanest way, so you can clean it up as best as you wish:)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 14:35:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735638#M9484</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-30T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Telegram Config</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735639#M9485</link>
      <description>&lt;P&gt;Testing, thanks&lt;/P&gt;&lt;P&gt;Will let know&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 14:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Telegram-Config/m-p/735639#M9485</guid>
      <dc:creator>Nardus_Geldenhu</dc:creator>
      <dc:date>2020-07-30T14:46:42Z</dc:date>
    </item>
  </channel>
</rss>

