Aller au contenu principal

cAdvisor

Prerequisites​

Centreon Plugin​

Install this plugin on each needed poller:

yum install centreon-plugin-Cloud-Prometheus-cAdvisor-Api

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-Prometheus-cAdvisor-Api-custom

Click on the Save button.

Host Macro Configuration​

The following macros must be configured on host:

MacroDescriptionDefault value
PROMETHEUSAPIHOSTNAMEHostname of the Prometheus Server
PROMETHEUSAPIURLURL of the API/api/v1
PROMETHEUSAPIPORTPort of the API9090
PROMETHEUSAPIPROTOProtocol used by APIhttp

Click on the Save button.