Aller au contenu principal

Github

Prerequisites​

Centreon Plugin​

Install this plugin on each needed poller:

yum install centreon-plugin-Applications-Github-Restapi

Centreon Configuration​

Create a new host​

Go to Configuration > Hosts and click Add. Then, fill the form as shown by the following table:

FieldValue
Host nameName of the host
AliasHost description
IPHost IP Address
Monitored fromMonitoring Poller to use
Host Multiple TemplatesApp-Github-Restapi-custom

Click on the Save button.

Checks​

Please deploy manually modes issues/commits/stats... because you need to specify your repository path for URLPATH macro (/repo/OWNER/REPONAME)

Also do not forget to set GITHUBUSERNAME AND GITHUBPASSWORD macro value at the host level