Commit Graph

95 Commits (master)
 

Author SHA1 Message Date
IamTheFij a1e0e9698b Add dig and nslookup
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/tag Build is passing Details
1 month ago
IamTheFij ded4e129a1 Switch from deprecated ioutil
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2 months ago
IamTheFij 95cb24ac04 Upgrade golangci-lint pre-commit hook 2 months ago
IamTheFij e6447b615f Upgrade some dependencies
continuous-integration/drone/push Build is failing Details
2 months ago
IamTheFij 2680eabd40 Rebuild when mod files change 2 months ago
IamTheFij 23340e823f Update go version in go.mod
continuous-integration/drone/push Build is failing Details
2 months ago
IamTheFij 99b8723abc Add curl script to simplify http healthchecks 2 months ago
IamTheFij 7d87c3d036 Add default values for AlertEvery
There is also a test error corrected in TestMonitorFailureAlertEvery
where the same test conditions were repeated twice.
6 months ago
IamTheFij deec04bf0d Allow setting of global defaults for some values
This helps with reducing redundant config.

Note: There is no default for `alert_every` because the zero value has a
meaning and cannot be interpreted as an omission.
6 months ago
IamTheFij 958446050f Update linters 6 months ago
IamTheFij 88e94642d9 Remove some hooks included in golangci-lint and upgrade existing
continuous-integration/drone/push Build is passing Details
1 year ago
IamTheFij bc83a51907 Switch pre-commit url for golang
continuous-integration/drone/push Build is passing Details
1 year ago
IamTheFij 08b8932331 Update curl version
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
1 year ago
IamTheFij 9072d97bb8 Make linters happy
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/tag Build is failing Details
1 year ago
IamTheFij cdd8a69669 Update go version
continuous-integration/drone/push Build is failing Details
2 years ago
IamTheFij 3c14a02770 Continue checking all monitors after sending alert
Previously this was mistakenly returning after sending an alert. Now
all alerts will be sent unless there is an exception on one of them.
2 years ago
IamTheFij 328ea83c25 Some linting cleanup 2 years ago
IamTheFij ce986e8d1d Roll back to alpine:3.12
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Looks like there is a clock issue with raspbian

https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements
2 years ago
IamTheFij 31a4b484bf Merge branch 'duration-intervals'
continuous-integration/drone/push Build is passing Details
2 years ago
IamTheFij 49e3635819 Add backwards compatility explanation in Readme
continuous-integration/drone/push Build is passing Details
2 years ago
IamTheFij 444d060736 Remove qemu-user-static from Dockerfile and update alpine
continuous-integration/drone/push Build is passing Details
My build machine now has proper qemu support added, so this is not needed
2 years ago
IamTheFij 860c2cdf43 Add custom type to parse out seconds as int and durations as strings
continuous-integration/drone/push Build is passing Details
2 years ago
IamTheFij befea7375f Add check runtime metric
continuous-integration/drone/push Build is failing Details
2 years ago
IamTheFij 04395fa693 Add duration parsing tests 2 years ago
IamTheFij bdf7355fa7 Add duration parsing for intervals 2 years ago
IamTheFij 30c2c7d6b2 Add Dockerfile linting back in 2 years ago
IamTheFij 5f250f17a8 Add more liniting and update to pass 2 years ago
IamTheFij fda9e1bfc3 Replace log with slog 2 years ago
IamTheFij f0e179851f Update linting and a test case
continuous-integration/drone/push Build is passing Details
2 years ago
IamTheFij 9e124803da Add release uploads
continuous-integration/drone/push Build is passing Details
2 years ago
IamTheFij 2c4543a7bc Update go version to 1.15 2 years ago
IamTheFij a1b906b94a Update for go 1.15 3 years ago
IamTheFij 0a5be250b5 Scripts: Add echoing log lines to helper scripts
Rather than only returning the status of whether or not a container is
healhthy, the helper scripts will now optionally echo some of the latest
log lines.
3 years ago
IamTheFij 88f77aa27c Fix Makefile comment 3 years ago
IamTheFij 67c2375bba Remove docker linting for now
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Drone check doesn't pass. Need to install docker there
3 years ago
IamTheFij aad9eaa32f Update exported status metric to properly reflect alerting status of a monitor
continuous-integration/drone/push Build is failing Details
It was using the result of the individual check and not the monitor as a whole
3 years ago
IamTheFij 5dc5ba5257 Add docker linting 3 years ago
IamTheFij 4aff294739 Set overrided version in drone config
continuous-integration/drone/push Build is passing Details
3 years ago
IamTheFij 0684b15a44 Update logic for setting version
continuous-integration/drone/push Build is passing Details
I noticed that versions were not being properly dervied from the git
tags. This fixes that in a simpler way by allowing git to describe the
current commit with tags, commits, shas, and a dirty maker.
3 years ago
IamTheFij d3826dacde Update drone to use new linux only target
continuous-integration/drone/push Build is passing Details
3 years ago
IamTheFij f8e40c643c Move static binaries to dist/ for easier publishing
continuous-integration/drone/push Build is passing Details
This will make it easier to publish them to Github or Gitea releases later.

To avoid making the Makefile super complex, this patch also makes use of
variables to simplify the Makefile as well.
3 years ago
IamTheFij cffbbd734a Make default log alert conditional
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Allow using the default `log` alert for both up and down alerts using
Go's templating conditionals. Following this example can do away with
the need for an up and down version of every alert.
3 years ago
IamTheFij ad6f3be6ec Update README with more detailed running instructions from prior project
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
3 years ago
IamTheFij ae30f477f7 Add ability to customize metrics port 3 years ago
IamTheFij 9dcd8ebf12 Update README to correct differences between py and go versions
continuous-integration/drone/push Build is passing Details
3 years ago
IamTheFij 11af700618 Merge branch 'minitor-py-compat-rebase'
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
3 years ago
IamTheFij 00029a6327 Make Python compatability a flag
continuous-integration/drone/push Build is passing Details
3 years ago
IamTheFij 9c21880efa Add a default log alert 3 years ago
IamTheFij 8b0d3b65cf Try to allow parsing of Minitor-py templates
This will make transition easier for an interim period. Will remove at
version 1.0
3 years ago
IamTheFij 25c5179d3d Switch to a single key for command and command shell
continuous-integration/drone/push Build is passing Details
This makes the configuration more similar to Minitor-py and
docker-compose. If a string is passed, it will be executed in a shell.
If an array is passed, it will be executed in as a command directly.

This breaks compatiblity with previous versions of Minitor-go, but
closer to compatiblity with Minitor-py.
3 years ago