<?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 Cisco IPS Python Error in Security</title>
    <link>https://community.splunk.com/t5/Security/Cisco-IPS-Python-Error/m-p/148431#M14608</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm wondering if anyone could help - seem to be getting into real trouble with Cisco IPS feeds. I have the Splunk add-on for Cisco IPS 2.11 installed on my Search Head, two Indexers and a Heavy Forwarder. As per the configuration guide, no configuration has been performed within the app on the search head or indexers. I have set the app up via the GUI on the heavy forwarder entering the host, username, password and interval (default value of 15).&lt;/P&gt;

&lt;P&gt;I am seeing lots of erros from python in splunkd.log on the heavy forwarder, such as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15" IOError: [Errno 2] No such file or directory: 'C:\\Program Files\\Splunk\\etc\\apps\\Splunk_TA_cisco-ips\\var\\log\\ips_sdee.log.10.1.1.50'

12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15"     stream = open(self.baseFilename, self.mode)

12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15"   File "C:\Program Files\Splunk\Python-2.7\Lib\logging\__init__.py", line 925, in _open

12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15"     StreamHandler.__init__(self, self._open())
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would paste more errors, but after the first line they don't appear to be useful. This is happening at each interval (which in the inputs.conf seems to be every second).&lt;/P&gt;

&lt;P&gt;It is also very strange that there is only one entry in sdee_connection.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Wed Dec 10 16:52:21 2014 - Could not get IPS 10.1.1.50 credentials from splunk: ResponseNotReady
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have checked and the credentials are valid for the IPS that Splunk is connecting to.&lt;/P&gt;

&lt;P&gt;Why is the app not able to create a log file ips_sdee.log.10.1.1.50? &lt;/P&gt;

&lt;P&gt;Any help is apreciated as I don't know how to troubleshoot from here...&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
DS&lt;/P&gt;</description>
    <pubDate>Wed, 10 Dec 2014 17:33:24 GMT</pubDate>
    <dc:creator>darthsplunk</dc:creator>
    <dc:date>2014-12-10T17:33:24Z</dc:date>
    <item>
      <title>Cisco IPS Python Error</title>
      <link>https://community.splunk.com/t5/Security/Cisco-IPS-Python-Error/m-p/148431#M14608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm wondering if anyone could help - seem to be getting into real trouble with Cisco IPS feeds. I have the Splunk add-on for Cisco IPS 2.11 installed on my Search Head, two Indexers and a Heavy Forwarder. As per the configuration guide, no configuration has been performed within the app on the search head or indexers. I have set the app up via the GUI on the heavy forwarder entering the host, username, password and interval (default value of 15).&lt;/P&gt;

&lt;P&gt;I am seeing lots of erros from python in splunkd.log on the heavy forwarder, such as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15" IOError: [Errno 2] No such file or directory: 'C:\\Program Files\\Splunk\\etc\\apps\\Splunk_TA_cisco-ips\\var\\log\\ips_sdee.log.10.1.1.50'

12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15"     stream = open(self.baseFilename, self.mode)

12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15"   File "C:\Program Files\Splunk\Python-2.7\Lib\logging\__init__.py", line 925, in _open

12-10-2014 17:22:55.390 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\Splunk_TA_cisco-ips\bin\get_ips_feed.py" 10.1.1.50 15"     StreamHandler.__init__(self, self._open())
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would paste more errors, but after the first line they don't appear to be useful. This is happening at each interval (which in the inputs.conf seems to be every second).&lt;/P&gt;

&lt;P&gt;It is also very strange that there is only one entry in sdee_connection.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Wed Dec 10 16:52:21 2014 - Could not get IPS 10.1.1.50 credentials from splunk: ResponseNotReady
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have checked and the credentials are valid for the IPS that Splunk is connecting to.&lt;/P&gt;

&lt;P&gt;Why is the app not able to create a log file ips_sdee.log.10.1.1.50? &lt;/P&gt;

&lt;P&gt;Any help is apreciated as I don't know how to troubleshoot from here...&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
DS&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 17:33:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Cisco-IPS-Python-Error/m-p/148431#M14608</guid>
      <dc:creator>darthsplunk</dc:creator>
      <dc:date>2014-12-10T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco IPS Python Error</title>
      <link>https://community.splunk.com/t5/Security/Cisco-IPS-Python-Error/m-p/148432#M14609</link>
      <description>&lt;P&gt;Try to use a versión of splunk before 6.&lt;/P&gt;

&lt;P&gt;Its looks like there is a problem with the phyton version includen in versión 6.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 23:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Cisco-IPS-Python-Error/m-p/148432#M14609</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2014-12-10T23:39:23Z</dc:date>
    </item>
  </channel>
</rss>

