1
0
mirror of https://github.com/pcvolkmer/checkbar.git synced 2025-07-02 06:22:53 +00:00

Add color configuration

This commit is contained in:
2022-03-07 12:16:22 +01:00
parent 188d06d27f
commit 300e2cc2b6
2 changed files with 40 additions and 7 deletions

View File

@ -33,6 +33,21 @@ You can optionally specify `check_type`:
* `Html`: Default value, checks if a request is succeessful and returns HTTP OK - 200.
* `Actuator`: Like `Html`, but checks if _Actuator_ shows that the application is up and running.
=== Colors
To change the colors, use the following configuration. As an example the colors of the default configuration are shown.
----
...
[colors]
up = "#00FF00"
warn = "#FFFF00"
down = "#FF0000"
...
----
The color configuration is optional. If used, all colors must be specified.
=== Execute commands
_This feature is still experimental._