You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yzl 93958d0fb0
zabbix6.0
1 year ago
..
images zabbix6.0 1 year ago
README.md zabbix6.0 1 year ago
media_github.yaml zabbix6.0 1 year ago

README.md

Github webhook

This guide describes how to integrate your Zabbix installation with Github issues using the Zabbix webhook feature. This guide will provide instructions on setting up a media type, a user and an action in Zabbix.

In Github

1. Create or use existing user in Github with permission to create issues and issue comments in desired repositories.

2. Please create a personal access token according to the original instruction.

Example of permissions for private repository.

3. Copy the personal access token of your new integration to use it in Zabbix.

In Zabbix

The configuration consists of a media type in Zabbix, which will invoke the webhook to send alerts to Github issues through the Github Rest API.

1. Import the Github media type from file media_github.yaml.

2. Change in the imported media the values of the variable github_token.

Change github_url only for integrations with Github Enterprise.

For more information about the Zabbix Webhook configuration, please see the documentation.

3. Create user and add Github media type to it. In field "Send to" use your full repo name (<owner>/<project name>) e.g. johndoe/example-project.

4. Set up a global macro {$ZABBIX.URL} with URL of current zabbix. Please notice that HTTPS will be used by default if HTTP/HTTPS schema is not present in the URL.

For more information, please see Zabbix and Github documentation.

Supported Versions

Zabbix 7.0, Github RestApi v3