https://github.com/getevo/watchdog
Watchdog for everything!
https://github.com/getevo/watchdog
Last synced: about 2 months ago
JSON representation
Watchdog for everything!
- Host: GitHub
- URL: https://github.com/getevo/watchdog
- Owner: getevo
- Created: 2020-12-14T13:47:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-19T20:26:59.000Z (over 5 years ago)
- Last Synced: 2025-01-01T16:52:51.037Z (over 1 year ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Whatchdog
Usage:
```bash
go get github.com/getevo/watchdog
cd $GOPATH/src/github.com/getevo/watchdog
go build
sudo ./watchdog install
sudo service watchdog status
```
For each service to check put your command like this example:
```yaml
#Sample YML
name: "lvf-api"
command: "service myservice status | grep Active:"
contains: "active (running)"
#regex: ".*"
#onmatch: "echo hi"
else: "service myservice restart"
interval: "3s"
debug: "false"
```