Skip to content

Soontao/cachet-monitor

 
 

Repository files navigation

Enhanced Cachet Monitor

CircleCI codecov GitHub GitHub tag (latest SemVer)

Features

  • Create & Resolve Incidents
  • Posts monitor lag to cachet graphs
  • HTTP Checks (body/status code)
  • DNS Checks
  • DISABLE Updates Component to Partial Outage
  • DISABLE Updates Component to Major Outage if already in Partial Outage (works with distributed monitors)
  • Can be run on multiple servers and geo regions
  • NEW TCP Checks
  • NEW SAP Cloud Application Status Checks
  • NEW Configuration schema file
  • NEW Auto configuration from cachet server
  • NEW Reload configuration from cachet server
  • REFACTOR cli
  • REFACTOR threshold removed

Example Configuration

Note: configuration can be in json or yaml format. example.config.json, example.config.yaml files.

Installation

Not support windows platform.

  1. Download binary
  2. Add the binary to an executable path (/usr/bin, etc.)
  3. Create a configuration following provided examples
  4. cachet-monitor -c /etc/cachet-monitor.yaml
NAME:
   Cachet Monitor - A Command Line Tool for Cachet Monitor

USAGE:
   cli [global options] command [command options] [arguments...]

VERSION:
   SNAPSHOT

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config value, -c value  Path to configuration file (default: "./config.json") [$CONFIG_FILE]
   --log value, -l value     Path to log file [$LOG_FILE]
   --name value, -n value    System name [$SYSTEM_NAME]
   --help, -h                show help
   --version, -v             print the version

About

Enhanced Cachet Monitor

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 91.7%
  • Shell 6.9%
  • Dockerfile 1.4%