Healthchecks.io request body empty starting with version 2.X #1085
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#1085
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
I upgraded to borgmatic v2.X over the weekend and noticed that the request body (aka the logs) in the healthecks.io pings are empty. With v1.X the logs were definitely there and I didn't change anything in the configuration.
Steps to reproduce
To configure the healthcecks I simply use in the config:
Unfortunately the logs are empty as you can see in the screenshot.
Actual behavior
According to the borgmatic application logs, the hooks are called correctly:
Expected behavior
The logs should be available at healthchecks.io.
Other notes / implementation ideas
No response
borgmatic version
2.0.4
borgmatic installation method
pip install
Borg version
borg 1.4.1
Python version
Python 3.10.12
Database version (if applicable)
No response
Operating system and version
Ubuntu 22.04.5 LTS
Thanks for filing this and providing all the details. I realize that you didn't change anything in your configuration, but what's your monitoring verbosity set to?
My (sanitized) config looks like this:
My backups are executed using the following command:
So I think the
monitoring_verbositydefaults to1.Yup, you are correct! Except it looks like that default was regressed, probably in borgmatic 2.0. The good news is that I just tracked down the problem and fixed it in main. It'll be part of the next release. Thanks again for bringing this to my attention!
Released in borgmatic 2.0.5!