Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PRTG integration (Python script)

Hi community,
I am trying to get acknowledgement of alerts in Opsgenie to trigger (via HTTP API) acknowledgement in PRTG of the initial alert.  
I have everything else in terms of the HTTP PRTG Opsgenie integration functional.

The issue I seem to be having revolves around the local OEC service on the PRTG server having issues running the python script.  The script in use is the one referred to from the Atlassian PRTG integration article and available from Github.


The error I am getting is pasted below and seems that certain parts of the ActionExecutor script are not understood.
I am not a python coder so there is every chance I have completely misunderstood what manipulation I need to do with the script.

Any insight would be great





Python errors:

DEBUG[2021-03-24T13:42:13.199198Z] Job[a658b2e9-7884-41b8-a631-fbc3982971df] has been processed by worker[d15b95b2-b14e-448b-8a83-1e34eeb67723].
DEBUG[2021-03-24T13:42:13.3519763Z] Message[289159ad-e8f5-4456-88c6-3d158e31d534] is deleted from the queue[us-west-2].
DEBUG[2021-03-24T13:42:13.3880999Z] Successfully sent result of message[a658b2e9-7884-41b8-a631-fbc3982971df] to OpsGenie and it took 0.188902 seconds.
DEBUG[2021-03-24T13:42:13.4901267Z] Action[acknowledgeSensor] execution of message[289159ad-e8f5-4456-88c6-3d158e31d534] with entityId[5f8b3b61-70a1-45bc-af3f-b636af93e590-1616592719477] failed: exit status 1 Stderr: Traceback (most recent call last):
File "C:\opsgenie\scripts\", line 6, in <module>
import requests
ModuleNotFoundError: No module named 'requests'

1 answer

0 votes
Connor Eyles Atlassian Team Mar 29, 2021

Hi Richard,

Would also like to inform you that I am not a python coder but can help with pointing you in the right direction in getting this working :)

The error message you are receiving is 'ModuleNotFoundError: No module named 'requests' 

To resolve this you will need to install the 'requests' module in your environment, check out this document here

This should help you with running the right command to install this module, let me know how you go!


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Opsgenie

Investigate deployment-related incidents with Bamboo and Opsgenie together

Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...

1,392 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you