roks0n / sauron

CLI watcher that periodically checks if a given endpoint is reachable and sends latency stats to StatsD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

CLI watcher that periodically checks if a given endpoint is reachable and sends latency stats to StatsD.

License:GNU General Public License v3.0


Languages

Language:Rust 99.7%Language:Makefile 0.3%