Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.05 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.05 KB

Sauron

CLI watcher that periodically checks if a given endpoint is reachable and sends latency stats to StatsD. Sauron is only able to watch after http(s) services.

HTTP service health watcher

USAGE:
    sauron <SUBCOMMAND>

OPTIONS:
    -h, --help    Print help information

SUBCOMMANDS:
    add       Add thing
    help      Print this message or the help of the given subcommand(s)
    list      List things
    remove    Remove thing
    run       Run a one-off check
    setup     
    watch     Watch

Example usage

List target on Sauron's watchlist:

> ./sauron list
Monitoring:
---
Target: https://podcasti.si/health/
Metric: podcasti
---
Target: https://example.com
Metric: example
---

Remove target from Sauron's watchlist:

> ./sauron remove https://example.com 
https://example.com removed successfully.

Add target to Sauron's watchlist:

> ./sauron add https://example.com example 
https://example.com added successfully.

Requirements

StatsD server is required in order to collect data.