alahaxe/healthcheck-curl

System checks for alahaxe/healthcheck-bundle

v1.0.4 2022-02-13 21:56 UTC

This package is auto-updated.

Last update: 2024-12-15 22:16:31 UTC


README

Installation

Install checker:

    composer require alahaxe/healthcheck-curl

Register service in your app:

    Alahaxe\HealthCheckBundle\Checks\Curl\CurlCheck:
        # optional arguments
        arguments:
            $url: "https://httpbin.org/get"
            $name: "curlHttpBin"
            # optionals arguments
            $connectTimeout: 2
            $timeout: 5
            $warningOnTimeout: false # default is to report incident
            $warningOnFail: false # default is to report incident
            $trustCertificate: false # self signed ssl cert ?
        tags: ['lahaxearnaud.healthcheck.check']