alahaxe / healthcheck-system
System checks for alahaxe/healthcheck-bundle
Installs: 6 671
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: ^8.0
- alahaxe/healthcheck-contracts: ^1.0
Requires (Dev)
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']