Merge branch 'monitor_interval' of https://github.com/Soulou/cachet-monitor into Soulou-monitor_interval
* 'monitor_interval' of https://github.com/Soulou/cachet-monitor: update readme Implement 'inteval' config parameter -> number of seconds between checks # Conflicts: # cachet/config.go # main.go # monitor.go # readme.md
This commit is contained in:
@@ -9,7 +9,7 @@ Features
|
||||
--------
|
||||
|
||||
- [x] Creates & Resolves Incidents
|
||||
- [x] Posts monitor lag every second * config.Interval
|
||||
- [x] Posts monitor lag (interval configurable)
|
||||
- [x] Updates Component to Partial Outage
|
||||
- [x] Updates Component to Major Outage if in Partial Outage
|
||||
- [x] Can be run on multiple servers and geo regions
|
||||
@@ -30,7 +30,8 @@ Configuration
|
||||
"component_id": <component id from cachet>,
|
||||
"threshold": 80,
|
||||
"expected_status_code": 200,
|
||||
"strict_tls": true
|
||||
"strict_tls": true,
|
||||
"interval": 5
|
||||
}
|
||||
],
|
||||
"insecure_api": false
|
||||
@@ -45,6 +46,7 @@ Configuration
|
||||
- `component_id` is optional
|
||||
- `threshold` is a percentage
|
||||
- `expected_status_code` is a http response code
|
||||
- `interval` is the duration in seconds between two checks.
|
||||
- GET request will be performed on the `url`
|
||||
|
||||
Installation
|
||||
|
||||
Reference in New Issue
Block a user