Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opsgenie Check_Mk integration not working #84

Open
akhilthomas03 opened this issue Jun 1, 2022 · 0 comments
Open

Opsgenie Check_Mk integration not working #84

akhilthomas03 opened this issue Jun 1, 2022 · 0 comments

Comments

@akhilthomas03
Copy link

akhilthomas03 commented Jun 1, 2022

I followed the below document to integrate Opsgenie with checkMk. https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-checkmk/
I downloaded the plugin and put the plugin under /omd/sites/[site name]/local/share/check_mk/notifications/
Changed the first line to #!/usr/bin/env python as per #24
The relevant logs from /var/log/notify.log

2022-05-26 08:36:36 Got raw notification (xxxxxxxxxxxx) context with 71 variables
2022-05-26 08:36:36 Global rule 'Opsgenie'...
2022-05-26 08:36:36  -> matches!
2022-05-26 08:36:36    - adding notification of <xxxxxxx> via opsgenie

2022-05-26 08:36:36   * notifying <xxxxxxx>  via opsgenie, parameters: https://api.eu.opsgenie.com/v1/json/checkmk?apiKey=<xxxxxxxxxxxxxx>, bulk: no
2022-05-26 08:36:36 Creating spoolfile: /omd/sites/xxxxxx/var/check_mk/notify/spool/6aa3bdef-xxxxxxxxxxxxxxxxxx

2022-05-26 08:36:40 Got spool file 6aa3bdef (xxxxxxxxxxxxxxxxxxx) for local delivery via opsgenie
2022-05-26 08:36:40      executing /omd/sites/xxxxx/local/share/check_mk/notifications/opsgenie

Can someone help me to identify the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant