Skip to content
/ sauron Public

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

License

Notifications You must be signed in to change notification settings

roks0n/sauron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published