Skip to main content

Jenkins

Prerequisites​

Centreon Plugins​

Install this plugin on each needed poller:

yum install centreon-plugin-Applications-Jenkins

Create a host using the appropriate template​

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-Jenkins-custom

Click on the Save button.

Optionnal ServiceDescription
job-stateMonitor job status

Host Macro Configuration​

The following macros must be configured on host (* means mandatory options):

MacroDescriptionDefault valueExample
JENKINSPROTO*Protocol to connect to web interfacehttphttp
JENKINSPORT*Port to connect to web interface8080
JENKINSEXTRAOPTIONSExtra options to connect to web interface

Service Macro Configuration​

The following macros must be configured on service (* means mandatory options):

MacroDescriptionDefault valueExample
URLPATHPath to connect to web inteface/jenkins/jenkins
JOBNAMEthe imap user's passwordIMAPPASSWORDbar
WARNINGWarning Thresold60:60:
CRITICALCritical Thresold30:30: