<?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: Alerting on a Linux shell script in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98263#M651</link>
    <description>&lt;P&gt;Apart from the API &lt;A rel="user" href="https://answers.dynatrace.com/users/27977/view.html" nodeid="27977"&gt;@ACKERMANN M.&lt;/A&gt; mentions, there is the option to write your own plugin that is executed by OneAgent. However, just for parsing 1/0 value from a single script, this is quite a big effort. If it's feasible for you, you can also use this generic execution template for that:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Dynatrace/Dynatrace-Generic-Execution-Plugin"&gt;https://github.com/Dynatrace/Dynatrace-Generic-Exe...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Dynatrace has no option to execute arbitrary scripts or commands on monitored systems, except for oneagents/activegate plugins for security reasons.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 19 Oct 2018 06:28:08 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2018-10-19T06:28:08Z</dc:date>
    <item>
      <title>Alerting on a Linux shell script</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98260#M648</link>
      <description>&lt;P&gt;Hi. I am wondering what the best approach is to plug a shell script in to Dynatrace.&lt;/P&gt;
&lt;P&gt;Our Linux sys admin is writing a shell script that returns a value (1 or 0). If the value is 1, then I would like to generate a problem within Dynatrace and raise a custom error alert. Is this possible and, if so, what series of steps would I need to implement?&lt;/P&gt;
&lt;P&gt;Many thanks, Cam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 14:32:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98260#M648</guid>
      <dc:creator>campbell_purvis</dc:creator>
      <dc:date>2021-05-19T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting on a Linux shell script</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98261#M649</link>
      <description>&lt;P&gt;Hello, it is possible to send an event to Dynatrace via the API. I recommend you this link : &lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://www.dynatrace.com/news/blog/trigger-dynatrace-problem-alerts-from-external-sources-using-events-api/"&gt;https://www.dynatrace.com/news/blog/trigger-dynatrace-problem-alerts-from-external-sources-using-events-api/&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2018 15:42:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98261#M649</guid>
      <dc:creator>Matthieu_Acker1</dc:creator>
      <dc:date>2018-10-18T15:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting on a Linux shell script</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98262#M650</link>
      <description>&lt;P&gt;Hiya. I shoudl have added - the shell script already exists (in fact there are many). It has no HTTP client provision to call in to APIs.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2018 16:05:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98262#M650</guid>
      <dc:creator>campbell_purvis</dc:creator>
      <dc:date>2018-10-18T16:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting on a Linux shell script</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98263#M651</link>
      <description>&lt;P&gt;Apart from the API &lt;A rel="user" href="https://answers.dynatrace.com/users/27977/view.html" nodeid="27977"&gt;@ACKERMANN M.&lt;/A&gt; mentions, there is the option to write your own plugin that is executed by OneAgent. However, just for parsing 1/0 value from a single script, this is quite a big effort. If it's feasible for you, you can also use this generic execution template for that:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Dynatrace/Dynatrace-Generic-Execution-Plugin"&gt;https://github.com/Dynatrace/Dynatrace-Generic-Exe...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Dynatrace has no option to execute arbitrary scripts or commands on monitored systems, except for oneagents/activegate plugins for security reasons.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Oct 2018 06:28:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98263#M651</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2018-10-19T06:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting on a Linux shell script</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98264#M652</link>
      <description>&lt;P&gt;Hi Julius, I think this can certainly act a s a good starting point. Thank you so much for the github url.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Oct 2018 12:52:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-on-a-Linux-shell-script/m-p/98264#M652</guid>
      <dc:creator>campbell_purvis</dc:creator>
      <dc:date>2018-10-19T12:52:33Z</dc:date>
    </item>
  </channel>
</rss>

