IamTheFij
bc83a51907
Switch pre-commit url for golang
2 months ago
IamTheFij
08b8932331
Update curl version
4 months ago
IamTheFij
9072d97bb8
Make linters happy
4 months ago
IamTheFij
cdd8a69669
Update go version
6 months 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.
9 months ago
IamTheFij
328ea83c25
Some linting cleanup
9 months ago
IamTheFij
ce986e8d1d
Roll back to alpine:3.12
...
Looks like there is a clock issue with raspbian
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements
1 year ago
IamTheFij
31a4b484bf
Merge branch 'duration-intervals'
1 year ago
IamTheFij
49e3635819
Add backwards compatility explanation in Readme
1 year ago
IamTheFij
444d060736
Remove qemu-user-static from Dockerfile and update alpine
...
My build machine now has proper qemu support added, so this is not needed
1 year ago
IamTheFij
860c2cdf43
Add custom type to parse out seconds as int and durations as strings
1 year ago
IamTheFij
befea7375f
Add check runtime metric
1 year ago
IamTheFij
04395fa693
Add duration parsing tests
1 year ago
IamTheFij
bdf7355fa7
Add duration parsing for intervals
1 year ago
IamTheFij
30c2c7d6b2
Add Dockerfile linting back in
1 year ago
IamTheFij
5f250f17a8
Add more liniting and update to pass
1 year ago
IamTheFij
fda9e1bfc3
Replace log with slog
1 year ago
IamTheFij
f0e179851f
Update linting and a test case
1 year ago
IamTheFij
9e124803da
Add release uploads
1 year ago
IamTheFij
2c4543a7bc
Update go version to 1.15
1 year ago
IamTheFij
a1b906b94a
Update for go 1.15
2 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.
2 years ago
IamTheFij
88f77aa27c
Fix Makefile comment
2 years ago
IamTheFij
67c2375bba
Remove docker linting for now
...
Drone check doesn't pass. Need to install docker there
2 years ago
IamTheFij
aad9eaa32f
Update exported status metric to properly reflect alerting status of a monitor
...
It was using the result of the individual check and not the monitor as a whole
2 years ago
IamTheFij
5dc5ba5257
Add docker linting
2 years ago
IamTheFij
4aff294739
Set overrided version in drone config
2 years ago
IamTheFij
0684b15a44
Update logic for setting version
...
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.
2 years ago
IamTheFij
d3826dacde
Update drone to use new linux only target
2 years ago
IamTheFij
f8e40c643c
Move static binaries to dist/ for easier publishing
...
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.
2 years ago
IamTheFij
cffbbd734a
Make default log alert conditional
...
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.
2 years ago
IamTheFij
ad6f3be6ec
Update README with more detailed running instructions from prior project
2 years ago
IamTheFij
ae30f477f7
Add ability to customize metrics port
2 years ago
IamTheFij
9dcd8ebf12
Update README to correct differences between py and go versions
2 years ago
IamTheFij
11af700618
Merge branch 'minitor-py-compat-rebase'
2 years ago
IamTheFij
00029a6327
Make Python compatability a flag
2 years ago
IamTheFij
9c21880efa
Add a default log alert
2 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
2 years ago
IamTheFij
25c5179d3d
Switch to a single key for command and command shell
...
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.
2 years ago
IamTheFij
eb7ad0b25e
Allow specifying config path as an argument
2 years ago
IamTheFij
3b963f420f
Remove underscore var name
2 years ago
IamTheFij
162e8618cb
Revert "Don't copy extra qemu files"
...
This reverts commit 5b69eacdd5
.
2 years ago
IamTheFij
c67fe1f4c7
Go back to copying all files because drone doesn't like this
2 years ago
IamTheFij
5b69eacdd5
Don't copy extra qemu files
2 years ago
IamTheFij
d6b979f06e
Update README to correct typo and checklist
2 years ago
IamTheFij
f4a972747f
Add notify after docker builds
2 years ago
IamTheFij
c7c82fabe8
Add qemu binaries
2 years ago
IamTheFij
f807caa1ad
Add multi-arch builds
2 years ago
IamTheFij
3226be69e7
Fix issue with shell commands containing "<>" and unecessary (and poor) escaping
2 years ago
IamTheFij
0269ad3512
Add new test for multi-line YAML strings
2 years ago