opsgenie-integration
opsgenie-integration copied to clipboard
Opsgenie Check_Mk integration not working
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 https://github.com/opsgenie/opsgenie-integration/issues/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?