Skip to content

Commit

Permalink
remove backslosh from coeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Dec 12, 2024
1 parent 5279617 commit 42ef5f3
Show file tree
Hide file tree
Showing 27 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ winrm quickconfig
Activez la méthode d'authentification "Basic" :

``` bash
winrm s winrm/config/service/auth '@\{Basic="true"\}'
winrm s winrm/config/service/auth '@{Basic="true"}'
```

### Configuration du firewall
Expand Down Expand Up @@ -73,7 +73,7 @@ Copiez le **Thumbprint** pour l'étape suivante :
Créez le port WinRM HTTPS en remplaçant les valeurs @HOSTNAME@ et @THUMBPRINT@ par les valeurs correctes.

``` bash
winrm create winrm/config/Listener?Address=*+Transport=HTTPS '@\{Hostname="@HOSTNAME@";CertificateThumbprint="@THUMBPRINT@"\}'
winrm create winrm/config/Listener?Address=*+Transport=HTTPS '@{Hostname="@HOSTNAME@";CertificateThumbprint="@THUMBPRINT@"}'
```

À partir d'ici, vous pouvez superviser votre serveur Windows en utilisant le compte administrateur local.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Body {
}
```

- Dans le résultat, récupérez le \{jwtToken\}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :
- Dans le résultat, récupérez le {jwtToken}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $3, ...). Pour cela, utilisez l’OID complet de l’argument.
Voici un exemple :

```shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Utiliser une variable externe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Body {
}
```

- Dans le résultat, récupérez le \{jwtToken\}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :
- Dans le résultat, récupérez le {jwtToken}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $3, ...). Pour cela, utilisez l’OID complet de l’argument.
Voici un exemple :

```shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Utiliser une variable externe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Body {
}
```

- Dans le résultat, récupérez le \{jwtToken\}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :
- Dans le résultat, récupérez le {jwtToken}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $3, ...). Pour cela, utilisez l’OID complet de l’argument.
Voici un exemple :

```shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Utiliser une variable externe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Body {
}
```

- Dans le résultat, récupérez le \{jwtToken\}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :
- Dans le résultat, récupérez le {jwtToken}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $3, ...). Pour cela, utilisez l’OID complet de l’argument.
Voici un exemple :

```shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Utiliser une variable externe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Body {
}
```

- Dans le résultat, récupérez le \{jwtToken\}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :
- Dans le résultat, récupérez le {jwtToken}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $3, ...). Pour cela, utilisez l’OID complet de l’argument.
Voici un exemple :

```shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Utiliser une variable externe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Body {
}
```

- Dans le résultat, récupérez le \{jwtToken\}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :
- Dans le résultat, récupérez le {jwtToken}. Vous devrez l'utiliser pour tous vos appels à l'API. Les headers ressembleront à ceci :

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $3, ...). Pour cela, utilisez l’OID complet de l’argument.
Voici un exemple :

```shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Utiliser une variable externe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ as a parameter will automatically override the hardcoded default code value
- `--verbose` will display the long output and the details for each `type => 1` counters
```bash
perl centreon_plugins.pl --plugin=apps::myawesomeapp::api::plugin --mode=app-metrics --hostname=run.mocky.io --warning-health='%\{health\} eq "care"' --verbose
perl centreon_plugins.pl --plugin=apps::myawesomeapp::api::plugin --mode=app-metrics --hostname=run.mocky.io --warning-health='%{health} eq "care"' --verbose
```
Here is the expected output:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ winrm quickconfig
Enable basic authentication:

``` bash
winrm s winrm/config/service/auth '@\{Basic="true"\}'
winrm s winrm/config/service/auth '@{Basic="true"}'
```

### Firewall configuration
Expand Down Expand Up @@ -73,7 +73,7 @@ Copy the **Thumbprint** for the next step:
Create the WinRM HTTPS listener by replacing the values @HOSTNAME@ and @THUMBPRINT@ with the correct values.

``` bash
winrm create winrm/config/Listener?Address=*+Transport=HTTPS '@\{Hostname="@HOSTNAME@";CertificateThumbprint="@THUMBPRINT@"\}'
winrm create winrm/config/Listener?Address=*+Transport=HTTPS '@{Hostname="@HOSTNAME@";CertificateThumbprint="@THUMBPRINT@"}'
```

From here, you can monitor your Windows server by using the local administrator account.
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-22.10/api/graph-views-map-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Body {
}
```

- In the result, retrieve the \{jwtToken\}. You will need to use it for all your API calls. The headers will look like this:
- In the result, retrieve the {jwtToken}. You will need to use it for all your API calls. The headers will look like this:

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use the complete OID number of needed arguments.
For example:

``` shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Use an external variable
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-23.04/api/graph-views-map-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Body {
}
```

- In the result, retrieve the \{jwtToken\}. You will need to use it for all your API calls. The headers will look like this:
- In the result, retrieve the {jwtToken}. You will need to use it for all your API calls. The headers will look like this:

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use the complete OID number of needed arguments.
For example:

``` shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Use an external variable
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-23.10/api/graph-views-map-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Body {
}
```

- In the result, retrieve the \{jwtToken\}. You will need to use it for all your API calls. The headers will look like this:
- In the result, retrieve the {jwtToken}. You will need to use it for all your API calls. The headers will look like this:

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use the complete OID number of the arguments you need.
For example:

``` shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Use an external variable
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-24.04/api/graph-views-map-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Body {
}
```

- In the result, retrieve the \{jwtToken\}. You will need to use it for all your API calls. The headers will look like this:
- In the result, retrieve the {jwtToken}. You will need to use it for all your API calls. The headers will look like this:

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use the complete OID number of the arguments you need.
For example:

``` shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Use an external variable
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-24.10/api/graph-views-map-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Body {
}
```

- In the result, retrieve the \{jwtToken\}. You will need to use it for all your API calls. The headers will look like this:
- In the result, retrieve the {jwtToken}. You will need to use it for all your API calls. The headers will look like this:

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use the complete OID number of the arguments you need.
For example:

``` shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Use an external variable
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-25.10/api/graph-views-map-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Body {
}
```

- In the result, retrieve the \{jwtToken\}. You will need to use it for all your API calls. The headers will look like this:
- In the result, retrieve the {jwtToken}. You will need to use it for all your API calls. The headers will look like this:

```
Headers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use the complete OID number of the arguments you need.
For example:

``` shell
Link down on interface: @\{.1.3.6.1.2.1.2.2.1.2\} (index: @\{.1.3.6.1.2.1.2.2.1.1\}). Operational state: @\{.1.3.6.1.2.1.2.2.1.8\}, Administration state: @\{.1.3.6.1.2.1.2.2.1.7\}
Link down on interface: @{.1.3.6.1.2.1.2.2.1.2} (index: @{.1.3.6.1.2.1.2.2.1.1}). Operational state: @{.1.3.6.1.2.1.2.2.1.8}, Administration state: @{.1.3.6.1.2.1.2.2.1.7}
```

#### Use an external variable
Expand Down

0 comments on commit 42ef5f3

Please sign in to comment.