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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...