alahaxe/healthcheck-system

System checks for alahaxe/healthcheck-bundle

v1.0.2 2022-01-05 22:58 UTC

This package is auto-updated.

Last update: 2024-11-15 22:20:41 UTC


README

Installation

Install checker:

    composer require alahaxe/healthcheck-system

Register service in your app:

    Alahaxe\HealthCheckBundle\Checks\System\FreeSpaceCheck:
        # optional arguments
        arguments:
            $partition: "/"
            # must be different for each Alahaxe\HealthCheckBundle\Checks\Doctrine\FreeSpaceCheck instance
            $partitionName: "root-free-space"
            $warningLevelPercentage: 0.2
            $incidentLevelPercentage: 0.1
        tags: ['lahaxearnaud.healthcheck.check']

    Alahaxe\HealthCheckBundle\Checks\System\LoadCheck:
        # optional arguments
        arguments:
            $warningLevelPercentageByCore: 0.7
            $incidentLevelPercentageByCore: 0.9
        tags: ['lahaxearnaud.healthcheck.check']