Skip to content

Opsgenie Check_Mk integration not working #84

@akhilthomas03

Description

@akhilthomas03

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions