Make update status optional

This commit is contained in:
Jacek Szubert
2017-02-10 14:50:07 +11:00
parent a147adda35
commit 740f726b48
4 changed files with 12 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ cachet:
token: my_token
component_id: 1
metric_id: 1
update_status: true
frequency: 30
```
@@ -49,6 +50,7 @@ frequency: 30
- **token**, the API token.
- **component_id**, the id of the component we're monitoring. This will be used to update the status of the component.
- **metric_id**, this will be used to store the latency of the API. If this is not set, it will be ignored.
- **update_status**, boolean to decide if the component status should be changed in case of a check failure.
- **frequency**, how often we'll send a request to the given URL. The unit is in seconds.
## Setting up