antonioribeiro / health

Laravel Health Panel
BSD 3-Clause "New" or "Revised" License
1.95k stars 197 forks source link

Add support for varying degrees of health (OK, WARNING, CRITICAL, UNKNOWN) - NPRE format #240

Closed keevan closed 2 years ago

keevan commented 3 years ago

Related to #239

Having varying degrees of health allows for more fine turned conditional configuration. An example would be checking disk usage. You might want a CRITICAL to appear when there is less than X amount of disk space remaining, but you might want to be WARNED well in advanced before it reaches that state where it might cause service interruptions/degradation.

https://nagios-plugins.org/doc/guidelines.html#AEN78

Correct me if I'm mistaken, but it appears currently that the health checks are quite binary, so it currently outputs as either OK or FAIL only.

antonioribeiro commented 2 years ago

Will be fixed on the new version.