Load config from disk|url, create incidents
- Resolve incidents after the monitor is up - Example configuration - Updated readme
This commit is contained in:
@@ -6,9 +6,16 @@ This is a monitoring plugin for CachetHQ.
|
||||
How to run:
|
||||
-----------
|
||||
|
||||
Example:
|
||||
|
||||
1. Set up [Go](https://golang.org)
|
||||
2. `go install github.com/castawaylabs/cachet-monitor`
|
||||
3. `cachet-monitor`
|
||||
3. `cachet-monitor -c https://raw.githubusercontent.com/CastawayLabs/cachet-monitor/master/example.config.json`
|
||||
|
||||
Production:
|
||||
|
||||
1. Download the example config and save to `/etc/cachet-monitor.config.json`
|
||||
2. Run in background: `nohup cachet-monitor 2>&1 > /var/log/cachet-monitor.log &`
|
||||
|
||||
Environment variables:
|
||||
----------------------
|
||||
|
||||
Reference in New Issue
Block a user