Alerting

Webhooks action causing error (might be python related)

csnicholas
New Member

Good day, 

We are currently using :

Splunk Enterprise

Version:8.1.3

 

and it seems there may be an issue with the urllibs library in python.  
Currently we are not able to use the Jenkins Trigger action as it is no longer supported. 
So we are using a webhook method to trigger a Jenkins build

 

The method we are using is: 

url=http://<APIUSER>:<API token>@i<FQDN hostname>:8080/project/<Project>/<Folder>/<Job</buildWithParameters?token=<job token>?<Param>=<Value>

the error we get is : 

<urlopen error [Errno -2] Name or service not known>

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. 

Not sure if this is an issue with our Python installation on the Splunk SE side ? 

Any suggestons

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...