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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...