<?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: splunk failing to fire a scripted alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99589#M1422</link>
    <description>&lt;P&gt;Is the user that runs Splunk the same user you're using to manually execute the script?&lt;/P&gt;

&lt;P&gt;You may not have the same environment variables for each user which might allow you to execute the bmail executable.&lt;/P&gt;

&lt;P&gt;Just curious.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2011 20:29:05 GMT</pubDate>
    <dc:creator>Lamar</dc:creator>
    <dc:date>2011-10-27T20:29:05Z</dc:date>
    <item>
      <title>splunk failing to fire a scripted alert</title>
      <link>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99586#M1419</link>
      <description>&lt;P&gt;Hi, I am using a windows batch file to launch a program called bmail to connect to a server to send an email when the alert is triggered. The script is in the correct directory ( splunk\ bin\ scripts). When the program is run manually it works fine. Something I am missing?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2011 17:55:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99586#M1419</guid>
      <dc:creator>tympaniplayer</dc:creator>
      <dc:date>2011-10-27T17:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: splunk failing to fire a scripted alert</title>
      <link>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99587#M1420</link>
      <description>&lt;P&gt;A couple of questions:&lt;/P&gt;

&lt;P&gt;Are the criteria for the action you expect to be executed happening in the results?&lt;/P&gt;

&lt;P&gt;Did you check your secheduler.log to ensure that the script actually did fire when you expected it to fire? &lt;/P&gt;

&lt;P&gt;The log is in $SPLUNK_HOME/var/log/splunk/. I usually check here to see if the script was actually fired. If it was, the firing of the script is performed by python, so you may way to check the python.log to see if anything interesting pops up there. &lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2011 19:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99587#M1420</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-10-27T19:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: splunk failing to fire a scripted alert</title>
      <link>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99588#M1421</link>
      <description>&lt;P&gt;in splunkd.log i get this &lt;BR /&gt;
  'bmail' is not recognized as an internal or external   command.&lt;/P&gt;

&lt;P&gt;why would it work when i do it manually, but not work when splunk shoots it off?&lt;/P&gt;

&lt;P&gt;they python log says it is firing it is as well. No luck&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2011 19:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99588#M1421</guid>
      <dc:creator>tympaniplayer</dc:creator>
      <dc:date>2011-10-27T19:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: splunk failing to fire a scripted alert</title>
      <link>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99589#M1422</link>
      <description>&lt;P&gt;Is the user that runs Splunk the same user you're using to manually execute the script?&lt;/P&gt;

&lt;P&gt;You may not have the same environment variables for each user which might allow you to execute the bmail executable.&lt;/P&gt;

&lt;P&gt;Just curious.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2011 20:29:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99589#M1422</guid>
      <dc:creator>Lamar</dc:creator>
      <dc:date>2011-10-27T20:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: splunk failing to fire a scripted alert</title>
      <link>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99590#M1423</link>
      <description>&lt;P&gt;Same user executing manually as is running splunk. Checked scheduler.log, everything is firing like it is supposed to. nothing interesting in python.log it says its fired in there as well.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2011 18:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/splunk-failing-to-fire-a-scripted-alert/m-p/99590#M1423</guid>
      <dc:creator>tympaniplayer</dc:creator>
      <dc:date>2011-10-28T18:48:00Z</dc:date>
    </item>
  </channel>
</rss>

