You can enable HTTP checks by creating a file /etc/atatus-infra-agent/conf.d/http_check.d/http_check.yml. For your convenience, we have placed a file called http_check.yml.template in the location /etc/atatus-infra-agent/conf.d/http_check.d/. You can just copy the file as follows:

copy
icon/buttons/copy
cd /etc/atatus-infra-agent/conf.d/http_check.d/
cp http_check.yml.template http_check.yml

Once it is copied, you can update the name and URLs of the checks as follows.

copy
icon/buttons/copy
checks:
  - type: http
    name: api
    urls: ["http://localhost:8080/health"]

  - type: http
    name: elasticsearch
    urls: ["http://localhost:9200"]