An open API service indexing awesome lists of open source software.

https://github.com/getevo/watchdog

Watchdog for everything!
https://github.com/getevo/watchdog

Last synced: about 2 months ago
JSON representation

Watchdog for everything!

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"
```