Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: cg-tw <[email protected]>
  • Loading branch information
lucie-dubrunfaut and cg-tw authored Dec 11, 2024
1 parent 2ca0bf9 commit 1d19f7f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import TabItem from '@theme/TabItem';

## Dépendances du connecteur de supervision

Les connecteurs de supervision suivants sont automatiquement installés lors de l'installation du connecteur **Cloud Foundry**
Les connecteurs de supervision suivants sont automatiquement installés lors de l'installation du connecteur **Cloud Foundry API**
depuis la page **Configuration > Gestionnaire de connecteurs de supervision** :
* [Base Pack](./base-generic.md)

## Contenu du pack

### Modèles

Le connecteur de supervision **Cloud Foundry** apporte un modèle d'hôte :
Le connecteur de supervision **Cloud Foundry API** apporte un modèle d'hôte :

* **Cloud-Cloudfoundry-Api-custom**

Expand Down Expand Up @@ -69,12 +69,12 @@ Voici le tableau des services pour ce connecteur, détaillant les métriques et

## Prérequis

Votre collecteur Centreon doit être en mesure d'accéder à votre instance Cloud Foundry (disposer de son url d'hébergement).
Vous devez disposer d'un compte utilisateur Cloud Foundry ayant les permissions nécessaires pour accéder aux données supervisées via l'API (applications, etc.).
Assurez-vous que le serveur Centreon peut communiquer avec l’API Cloud Foundry via le réseau.
Autorisez l'accès sortant vers l'URL de l'API (https://api./<domain/>) via les ports nécessaires (généralement 443 pour HTTPS).
Vérifiez que le certificat SSL de l’API Cloud Foundry est valide et, si nécessaire, ajoutez-le aux certificats approuvés du collecteur Centreon.
Pour plus d'information, référez-vous à la [documentation officielle](https://docs.cloudfoundry.org/)
* Votre collecteur Centreon doit être en mesure d'accéder à votre instance Cloud Foundry (vous devez disposer de son URL d'hébergement).
* Vous devez également disposer d'un compte utilisateur Cloud Foundry ayant les permissions nécessaires pour accéder aux données supervisées via l'API (applications, etc.).
* Assurez-vous que le serveur Centreon peut communiquer avec l’API Cloud Foundry via le réseau.
* Autorisez l'accès sortant vers l'URL de l'API (https://api./<domain/>) via les ports nécessaires (généralement 443 pour HTTPS).
* Vérifiez que le certificat SSL de l’API Cloud Foundry est valide et, si nécessaire, ajoutez-le aux certificats approuvés du collecteur Centreon.
* Pour plus d'information, référez-vous à la [documentation officielle Cloud Foundry](https://docs.cloudfoundry.org/).

## Installer le connecteur de supervision

Expand Down Expand Up @@ -240,10 +240,10 @@ telle que celle-ci (remplacez les valeurs d'exemple par les vôtres) :
--plugin=cloud::cloudfoundry::restapi::plugin \
--mode=apps-state \
--custommode='restapi' \
--hostname='' \
--hostname='10.0.0.1' \
--api-path='/v2' \
--api-username='' \
--api-password='' \
--api-username='XXXX' \
--api-password='XXXX' \
--port='443' \
--proto='https' \
--organization-guid='.*' \
Expand Down
26 changes: 13 additions & 13 deletions pp/integrations/plugin-packs/procedures/cloud-cloudfoundry-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import TabItem from '@theme/TabItem';

## Connector dependencies

The following monitoring connectors will be installed when you install the **Cloud Foundry** connector through the
The following monitoring connectors will be installed when you install the **Cloud Foundry API** connector through the
**Configuration > Monitoring Connector Manager** menu:
* [Base Pack](./base-generic.md)

## Pack assets

### Templates

The Monitoring Connector **Cloud Foundry** brings a host template:
The Monitoring Connector **Cloud Foundry API** brings a host template:

* **Cloud-Cloudfoundry-Api-custom**

Expand All @@ -26,8 +26,8 @@ The connector brings the following service templates (sorted by the host templat

| Service Alias | Service Template | Service Description |
|:----------------|:----------------------------------------------|:-------------------------|
| Apps-State | Cloud-Cloudfoundry-Apps-State-Api-custom | Check applications state |
| Instances-State | Cloud-Cloudfoundry-Instances-State-Api-custom | Check instances state |
| Apps-State | Cloud-Cloudfoundry-Apps-State-Api-custom | Check the state of applications |
| Instances-State | Cloud-Cloudfoundry-Instances-State-Api-custom | Check the state of instances |

> The services listed above are created automatically when the **Cloud-Cloudfoundry-Api-custom** host template is used.
Expand Down Expand Up @@ -68,12 +68,12 @@ Here is the list of services for this connector, detailing all metrics and statu

## Prerequisites

Your Centreon poller must be able to access your Cloud Foundry instance (have its hosting URL).
You must have a Cloud Foundry user account with the necessary permissions to access the data monitored via the API (applications, etc.).
Ensure that the Centreon server can communicate with the Cloud Foundry API over the network.
Allow outbound access to the API URL (https://api./<domain/>) through the required ports (typically 443 for HTTPS).
Verify that the Cloud Foundry API's SSL certificate is valid and, if necessary, add it to the trusted certificates of the Centreon poller.
For more informations, refers to the [official documentation](https://docs.cloudfoundry.org/)
* Your Centreon poller must be able to access your Cloud Foundry instance (have its hosting URL ready).
* You must have a Cloud Foundry user account with the necessary permissions to access the data monitored via the API (applications, etc.).
* Ensure that the Centreon server can communicate with the Cloud Foundry API over the network.
* Allow outbound access to the API URL (https://api./<domain/>) through the required ports (typically 443 for HTTPS).
* Check that the Cloud Foundry API's SSL certificate is valid and, if necessary, add it to the trusted certificates of the Centreon poller.
* For more information, refer to the [official Cloud Foundry documentation](https://docs.cloudfoundry.org/)

## Installing the monitoring connector

Expand Down Expand Up @@ -239,10 +239,10 @@ is able to monitor a resource using a command like this one (replace the sample
--plugin=cloud::cloudfoundry::restapi::plugin \
--mode=apps-state \
--custommode='restapi' \
--hostname='' \
--hostname='10.0.0.1' \
--api-path='/v2' \
--api-username='' \
--api-password='' \
--api-username='XXXX' \
--api-password='XXXX' \
--port='443' \
--proto='https' \
--organization-guid='.*' \
Expand Down

0 comments on commit 1d19f7f

Please sign in to comment.