<?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: How to troubleshoot why my alert action Python script does not run? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229633#M4219</link>
    <description>&lt;P&gt;Yes, this is checked and working&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 05:07:23 GMT</pubDate>
    <dc:creator>yAlff</dc:creator>
    <dc:date>2016-06-28T05:07:23Z</dc:date>
    <item>
      <title>How to troubleshoot why my alert action Python script does not run?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229631#M4217</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I just created a script, which will reload a Splunk Add-On. Unfortunately, my savedsearch cannot run the script.&lt;BR /&gt;
Its location is &lt;CODE&gt;/bin/scripts/restart_amqp.py&lt;/CODE&gt;, so it's a python script. I also introduced some logging to see when it is started. If I run it with &lt;CODE&gt;splunk cmd python scripts/restart_amqp.py&lt;/CODE&gt; it works fine and does what it should do.&lt;/P&gt;

&lt;P&gt;My Splunk is running on Windows server 2008.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 15:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229631#M4217</guid>
      <dc:creator>yAlff</dc:creator>
      <dc:date>2016-06-27T15:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why my alert action Python script does not run?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229632#M4218</link>
      <description>&lt;P&gt;Do you know if your saved search meets the condition to trigger the script? You can test this by selecting the option send email, so that you know the condition has been met.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 20:49:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229632#M4218</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2016-06-27T20:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why my alert action Python script does not run?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229633#M4219</link>
      <description>&lt;P&gt;Yes, this is checked and working&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 05:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229633#M4219</guid>
      <dc:creator>yAlff</dc:creator>
      <dc:date>2016-06-28T05:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why my alert action Python script does not run?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229634#M4220</link>
      <description>&lt;P&gt;Did you check the windows event log for errors? There are some special things to consider if you try to run scripted inputs from a universal forwarder on windows, this my perhaps apply here as well. I would also check the logs from Splunk in ../var/log/splunk&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 08:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-troubleshoot-why-my-alert-action-Python-script-does-not/m-p/229634#M4220</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2016-06-28T08:00:42Z</dc:date>
    </item>
  </channel>
</rss>

