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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...