{"repo":"IamTheFij/minitor-go","free":true,"listed":false,"github":"https://github.com/IamTheFij/minitor-go","clone":"git clone https://github.com/IamTheFij/minitor-go.git","description":"A minimal monitoring tool (Mirror)","language":"Go","stars":40,"topics":["monitoring","monitoring-tool","docker"],"license":null,"category":"analytics","readme_excerpt":"minitor-go A minimal monitoring system What does it do? Minitor accepts an HCL configuration file with a set of commands to run and a set of alerts to execute when those commands fail. Minitor has a narow feature set and instead follows a principle to outsource to other command line tools when possible. Thus, it relies on other command line tools to do checks and issue alerts. To make getting started a bit easier, Minitor includes a few scripts to help with common tasks. But why? I'm running a few small services and found Sensu, Consul, Nagios, etc. to all be far too complicated for my usecase. So how do I use it? Running Install and execute with: If locally developing you can use: It will read the contents of sample-config.hcl and begin its loop. You could also run it directly and provide a new config file via the -config argument. Docker You can pull this repository directly from Docker: The Docker image uses a default config.hcl copied from sample-config.hcl . This won't really do anything for you, so when you run the Docker image, you should supply your own config.hcl file: Images are provided for amd64 , arm , and arm64 architechtures. You can configure the timezone for the container by passing a TZ env variable. Eg. TZ=America/Los Angeles . Configuring In this repo, you can explore the sample-config.hcl file for an example, but the general structure is as follows. If you are passing environment variables to your commands or alerts, you should be aware that ${VAR} syntax","default_branch":null,"files":null,"tree":[],"storefront":"/r/IamTheFij","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IamTheFij/minitor-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}