Skip to content

Tripwire is an async healthcheck runner which notifies you of your system health

Notifications You must be signed in to change notification settings

go-bridget/tripwire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

go get -u github.com/go-bridget/tripwire

Configure

Create a tripwire.json:

[
  {
    "command": "./tripwire/connection.php", "arguments": ["..."]
  }
]

Run tripwire from the same folder.

Writing tripwire checks

Any tripwire check must return an array of results, with the keys key and value for each result. The results must contain at least one result.

Features

  • Set config path with -f' (default to tripwire.json`)
  • Set work dir path with -w (default to . - current folder)
  • Set a healthcheck timeout for running a check
  • Check exit code from a check (non-zero = error?)
  • Run checks in parallel to be faster
  • Customize check key prefix over ENV

About

Tripwire is an async healthcheck runner which notifies you of your system health

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published