<?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 Webhooks action causing error (might be python related) in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Webhooks-action-causing-error-might-be-python-related/m-p/549588#M10448</link>
    <description>&lt;P&gt;Good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently using :&lt;/P&gt;&lt;P&gt;Splunk Enterprise&lt;/P&gt;&lt;P&gt;Version:8.1.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it seems there may be an issue with the urllibs library in python.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Currently we are not able to use the Jenkins Trigger action as it is no longer supported.&amp;nbsp;&lt;BR /&gt;So we are using a webhook method to trigger a Jenkins build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method we are using is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;url=http://&amp;lt;APIUSER&amp;gt;:&amp;lt;API token&amp;gt;@i&amp;lt;FQDN hostname&amp;gt;:8080/project/&amp;lt;Project&amp;gt;/&amp;lt;Folder&amp;gt;/&amp;lt;Job&amp;lt;/buildWithParameters&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;SPAN class="t"&gt;token=&amp;lt;job token&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;?&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Param&amp;gt;=&amp;lt;Value&amp;gt;&lt;BR /&gt;&lt;BR /&gt;the error we get is :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;urlopen error&lt;SPAN&gt; [&lt;/SPAN&gt;Errno -2&lt;SPAN&gt;] &lt;/SPAN&gt;Name or service not known&amp;gt;&lt;BR /&gt;&lt;BR /&gt;and we attempted to use the IP address instead of the FQDN, as well as the name of the server as it is in the hosts file.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not sure if this is an issue with our Python installation on the Splunk SE side ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any suggestons&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 10:41:53 GMT</pubDate>
    <dc:creator>csnicholas</dc:creator>
    <dc:date>2021-04-28T10:41:53Z</dc:date>
    <item>
      <title>Webhooks action causing error (might be python related)</title>
      <link>https://community.splunk.com/t5/Alerting/Webhooks-action-causing-error-might-be-python-related/m-p/549588#M10448</link>
      <description>&lt;P&gt;Good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently using :&lt;/P&gt;&lt;P&gt;Splunk Enterprise&lt;/P&gt;&lt;P&gt;Version:8.1.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it seems there may be an issue with the urllibs library in python.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Currently we are not able to use the Jenkins Trigger action as it is no longer supported.&amp;nbsp;&lt;BR /&gt;So we are using a webhook method to trigger a Jenkins build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method we are using is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;url=http://&amp;lt;APIUSER&amp;gt;:&amp;lt;API token&amp;gt;@i&amp;lt;FQDN hostname&amp;gt;:8080/project/&amp;lt;Project&amp;gt;/&amp;lt;Folder&amp;gt;/&amp;lt;Job&amp;lt;/buildWithParameters&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;SPAN class="t"&gt;token=&amp;lt;job token&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;?&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Param&amp;gt;=&amp;lt;Value&amp;gt;&lt;BR /&gt;&lt;BR /&gt;the error we get is :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;urlopen error&lt;SPAN&gt; [&lt;/SPAN&gt;Errno -2&lt;SPAN&gt;] &lt;/SPAN&gt;Name or service not known&amp;gt;&lt;BR /&gt;&lt;BR /&gt;and we attempted to use the IP address instead of the FQDN, as well as the name of the server as it is in the hosts file.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not sure if this is an issue with our Python installation on the Splunk SE side ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any suggestons&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 10:41:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Webhooks-action-causing-error-might-be-python-related/m-p/549588#M10448</guid>
      <dc:creator>csnicholas</dc:creator>
      <dc:date>2021-04-28T10:41:53Z</dc:date>
    </item>
  </channel>
</rss>

