HTTP integration
This integration allow to automatically update ProdManager monitors based on the status of a HTTP response to a GET query.
Configuration
Environment variables
| Name | description |
|---|---|
HTTP_PROXY |
Proxy URL used to verify monitors with HTTP URL |
HTTPS_PROXY |
Proxy URL used to verify monitors with HTTPS URL |
HTTP_TIMEOUT |
HTTP Timeout (default : 5 seconds |
HTTP_VERIFY_CERT |
Toggle TLS cert verification (default : True) |
HTTP_ALLOW_REDIRECT |
Toggle forward HTTP redirection (default : True) |
Monitors
ProdManager monitors should be created with :
integrationfield populated with the valuehttp(orhttp_<PM_INTEGRATION_SUFFIX>)external_linkfield with the URL to check
Status convertion table
| HTTP response code | ProdManager status |
|---|---|
200 to 399 |
OK |
| Any other | ALERT |
Usage
Run the command :