Skip to main content

Cloud Foundry

Prerequisites​

Centreon Plugin​

Install this plugin on each needed poller:

yum install centreon-plugin-Cloud-Cloudfoundry-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 TemplatesCloud-Cloudfoundry-Api-custom

Click on the Save button.

Host Macro Configuration​

The following macros must be configured on host:

MacroDescriptionDefault value
CLOUDFOUNDRYAPIHOSTNAMEHostname of the Cloud Foundry API
CLOUDFOUNDRYAPIPATHURL of the API/v2
CLOUDFOUNDRYAPIPORTPort of the API443
CLOUDFOUNDRYAPIPROTOProtocol used by APIhttps
CLOUDFOUNDRYAPIUSERNAMEAPI username
CLOUDFOUNDRYAPIPASSWORDAPI password

Click on the Save button.