Aller au contenu

Alert Receiver Configuration and Payload Validation#

The different steps are :

  1. Retrieve the client's internal API key from Vault
  2. Retrieve the client's Payload
  3. Go to the MIT site (proxy)

These steps are detailed below.

Retrieval from Vault#

Go to Vault in secret/applications/nginx-alertreceiver here.

Example for the client "test04"#

You retrieve the internal API key.

Retrieve the client's Payload#

Go to Grafana here

add to your request |="<customer_name>" # exemple |="test04"

go to request_body (1) copy request_body (2)

MIT site#

Payload validation#

  1. Go to MIT site, Alert receiver Payload Validation menu.

    Warning

    To use MIT, you must enter the following proxy: http://proxypac.si.francetelecom.fr:8080/

    Example with Chromium:

    chromium --proxy-pac-url="http://proxypac.si.francetelecom.fr:8080/" "https://mit.equant.com/MIT/consultation_alert_receiver_payload_validation.php"
    

  2. Get internal API key from Vault stored at /secrets/secret/list/applications/nginx-alertreceiver/${client}/ location (exemple: client=gv).

  3. GET request_body from Grafana by using the following expression:

    {namespace="nginx-alertreceiver"}| json | cc_client=$client
    

    The result must be:

Alertreceiver configuration#

It is also possible to check Alertreceiver configuration.

  1. Go to MIT site Alert receiver Configuration menu.

  2. Get internal API key from Vault stored at /secrets/secret/list/applications/nginx-alertreceiver/${client}/ location (exemple: client=gv) and copy it in the Api Key search bar in order to visualise the dictionary definition on Alertreceiver site.

    The result will have the next format: