-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate configuration handling to the confuse lib #363
Commits on Apr 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3c3c1b5 - Browse repository at this point
Copy the full SHA 3c3c1b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f84591 - Browse repository at this point
Copy the full SHA 1f84591View commit details
Commits on Apr 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8d4bb98 - Browse repository at this point
Copy the full SHA 8d4bb98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f0f80 - Browse repository at this point
Copy the full SHA 60f0f80View commit details -
Configuration menu - View commit details
-
Copy full SHA for f660d2a - Browse repository at this point
Copy the full SHA f660d2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6605056 - Browse repository at this point
Copy the full SHA 6605056View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2cb13c - Browse repository at this point
Copy the full SHA b2cb13cView commit details
Commits on Apr 5, 2021
-
Add finished signage point checks
Check that the full node doesn't skip any signage points. If it does, send a normal priority notification.
Configuration menu - View commit details
-
Copy full SHA for f1df38b - Browse repository at this point
Copy the full SHA f1df38bView commit details -
Increase threshold for time since last farming event
The 30 second threshold is violated multiple times per day in the current network. It's not exactly clear to me why but further analysis of the logs shows that no signage points are skipped which indicates that the farmer can still participate in all challenges. Chiadog is now monitoring signage points so we can safely increase the threshold here and rely more on other checks.
Configuration menu - View commit details
-
Copy full SHA for e7cac7e - Browse repository at this point
Copy the full SHA e7cac7eView commit details -
Add more verbose logs for better insights
Logs indicating what checks and services are active to help provide confidence that everything is running. Also add warning log in case no notification service was enabled in the config and info log for every keep-alive check.
Configuration menu - View commit details
-
Copy full SHA for ea48bfc - Browse repository at this point
Copy the full SHA ea48bfcView commit details -
Subscribe to log consumer after initializing the handlers
There's a race condition and it can happen that the log consumer tries to call the log handler before it is fully initialized.
Configuration menu - View commit details
-
Copy full SHA for c782059 - Browse repository at this point
Copy the full SHA c782059View commit details -
LogConsumer: Add network log consumer over SSH
This will enable monitoring remote harvester(s). Pre-requisite is having setup key-based SSH authentication with your harvester machine.
Configuration menu - View commit details
-
Copy full SHA for 5304b4a - Browse repository at this point
Copy the full SHA 5304b4aView commit details -
Configuration: Add title prefix for notifications
This will help to distinguish notifications when running multiple instances of chiadog to monitor more than 1 remote harvester. Just create multiple configs for each harvester with unique prefix and correct IP configuration and execute: python3 main.py --config config-1.yaml python3 main.py --config config-2.yaml python3 main.py --config config-3.yaml
Configuration menu - View commit details
-
Copy full SHA for a53a879 - Browse repository at this point
Copy the full SHA a53a879View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f6112b - Browse repository at this point
Copy the full SHA 3f6112bView commit details -
Small tweaks on logs and notifications
* Downgrade keep-alive logs to DEBUG * Make notification texts more consistent with <Problem> <Reason> format
Configuration menu - View commit details
-
Copy full SHA for 5340cd5 - Browse repository at this point
Copy the full SHA 5340cd5View commit details -
Signage Points Check: Handle network scramble scenario
This is scenario observed on actual network. Seems unrelated to local node because it's observable from multiple nodes at the same time. Add some handling to ignore these type of events and reduce the resulting false alarms.
Configuration menu - View commit details
-
Copy full SHA for 44eaafd - Browse repository at this point
Copy the full SHA 44eaafdView commit details -
TimeSinceLastFarmEvent: Add info threshold for transparency
Might be a good idea to have these visible at least as INFO logs to understand how the network behaves over time.
Configuration menu - View commit details
-
Copy full SHA for 6086395 - Browse repository at this point
Copy the full SHA 6086395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05962e1 - Browse repository at this point
Copy the full SHA 05962e1View commit details
Commits on Apr 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 39aa526 - Browse repository at this point
Copy the full SHA 39aa526View commit details -
Configuration menu - View commit details
-
Copy full SHA for d00bf88 - Browse repository at this point
Copy the full SHA d00bf88View commit details -
Demo: Add conditional tests for demo notifications
Export SHOWCASE_NOTIFICATIONS=1 on top of API token and user key and run tests to generate presentable notifications: python3 -m unittest tests.notifier.test_pushover_notifier.TestPushoverNotifier.testShowcaseGoodNotifications python3 -m unittest tests.notifier.test_pushover_notifier.TestPushoverNotifier.testShowcaseBadNotifications
Configuration menu - View commit details
-
Copy full SHA for db0c42a - Browse repository at this point
Copy the full SHA db0c42aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99490e1 - Browse repository at this point
Copy the full SHA 99490e1View commit details -
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) - [Commits](yaml/pyyaml@5.3.1...5.4) Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 742e41f - Browse repository at this point
Copy the full SHA 742e41fView commit details -
Implements notifications through the Telegram API: https://core.telegram.org/bots/api
Configuration menu - View commit details
-
Copy full SHA for 99f6258 - Browse repository at this point
Copy the full SHA 99f6258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a1d006 - Browse repository at this point
Copy the full SHA 6a1d006View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1e06c6 - Browse repository at this point
Copy the full SHA a1e06c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c6679b - Browse repository at this point
Copy the full SHA 3c6679bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8c0fcc - Browse repository at this point
Copy the full SHA a8c0fccView commit details -
Tests: Make integration tests optional
Run notifier integration tests only if environment variables are provided. This makes it easier for anyone to run the full-suite of tests without needing to register for tokens for all integrations.
Configuration menu - View commit details
-
Copy full SHA for 44c1144 - Browse repository at this point
Copy the full SHA 44c1144View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c74b02 - Browse repository at this point
Copy the full SHA 3c74b02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d1a42 - Browse repository at this point
Copy the full SHA 61d1a42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e5d98b - Browse repository at this point
Copy the full SHA 4e5d98bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c4a6ed - Browse repository at this point
Copy the full SHA 4c4a6edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82d59f1 - Browse repository at this point
Copy the full SHA 82d59f1View commit details
Commits on Apr 15, 2021
-
README: Clarify how integrations are used
There was confusion that chiadog is somehow reliant on Telegram API.
Configuration menu - View commit details
-
Copy full SHA for b3d486e - Browse repository at this point
Copy the full SHA b3d486eView commit details
Commits on Apr 19, 2021
-
Simple Discord notifier using [webhooks](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
Configuration menu - View commit details
-
Copy full SHA for ecf6a96 - Browse repository at this point
Copy the full SHA ecf6a96View commit details
Commits on Apr 20, 2021
-
Add SMTP Notifier for Email Support
* Trying to re-use the SMTP server connection if it is still available. * Tested using AWS SES, but any SMTP relay should work. * Include SMTP details in README Co-authored-by: Martin Mihaylov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a7e789 - Browse repository at this point
Copy the full SHA 4a7e789View commit details
Commits on Apr 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4a2ce7c - Browse repository at this point
Copy the full SHA 4a2ce7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1acf3be - Browse repository at this point
Copy the full SHA 1acf3beView commit details -
NotifierManager: Report time taken for sending events
Would be useful to now if any of the notifiers are taking too long to execute so we can potentially address the issues in the future.
Configuration menu - View commit details
-
Copy full SHA for b809ccc - Browse repository at this point
Copy the full SHA b809cccView commit details -
Tests: Reduce repetetive code for notifier tests
Also reducing number of events per category to 1 (except for low priority). Otherwise tests are sometimes failing due to making too many consequetive requests to some services.
Configuration menu - View commit details
-
Copy full SHA for bfea88a - Browse repository at this point
Copy the full SHA bfea88aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee89bde - Browse repository at this point
Copy the full SHA ee89bdeView commit details -
Notifier: Fix uncaught exceptions and set timeouts
If the internet connection is interrupted and a notifier attempts to send a notification to the user, it'll fail with uncaught exception which prevents the watchdog process from further attempts. This applies a critical fix that will prevent that. Also add explicit timeouts for all network requests and switch to a less confusing return value. True = Success instead of True == Failure.
Configuration menu - View commit details
-
Copy full SHA for a81a660 - Browse repository at this point
Copy the full SHA a81a660View commit details -
Add capability for remote watchdog to chiadog
Provides a second layer of redundancy for the use-cases when chiadog is unable to notify you.
Configuration menu - View commit details
-
Copy full SHA for ec52842 - Browse repository at this point
Copy the full SHA ec52842View commit details -
README: Move integrations into separate page
Declutter the main README page by providing shorter summary overview of available integrations and move detailed instructions outside.
Configuration menu - View commit details
-
Copy full SHA for 2e41fe2 - Browse repository at this point
Copy the full SHA 2e41fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15adb45 - Browse repository at this point
Copy the full SHA 15adb45View commit details
Commits on Apr 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4725715 - Browse repository at this point
Copy the full SHA 4725715View commit details -
Configuration menu - View commit details
-
Copy full SHA for a12a4b4 - Browse repository at this point
Copy the full SHA a12a4b4View commit details -
Signage Points: Don't send notifications for individual skips
To reduce noise from chiadog, individual skips that are very infrequent and happen only a few times per day will no longer be reported through immediate notifications. All skips will be included in the daily summary however, and they'll also be still visible in the logs. If there are more than 1 single skip within 60 minutes, that will be considered an issue and reported via notification. Same for larger gaps in signage points. The exact gap will also be reported now.
Configuration menu - View commit details
-
Copy full SHA for 101d246 - Browse repository at this point
Copy the full SHA 101d246View commit details -
Handlers: Add wallet log handler for added coins
This will replace the notifications for found proof because finding a proof is not a guarantee for a farmer reward. The found proofs will still be tracked and reported in the daily summary. This also has the side-effect that it'll probably also work with transactions and not only farmer rewards.
Configuration menu - View commit details
-
Copy full SHA for 02c3442 - Browse repository at this point
Copy the full SHA 02c3442View commit details
Commits on Apr 24, 2021
-
Add option to send out daily stats summary
* New notification type DAILY_STATS * StatsManager that collects stats and sends out daily * Configurable time of day when the summary is sent out * Follow similar pattern to condition checkers for stat accumulators
Configuration menu - View commit details
-
Copy full SHA for 908f1e8 - Browse repository at this point
Copy the full SHA 908f1e8View commit details -
SMTP Notifier: Send message in email body
This is now necessary because daily summary notifications are longer and don't fit in the email subject.
Configuration menu - View commit details
-
Copy full SHA for acf083a - Browse repository at this point
Copy the full SHA acf083aView commit details -
Notifier: Add configurable notification categories
* It's now possible to enable / disable daily summary notification individually for each integration. E.g. only receive daily summaries over E-mail and use Pushover only for alarms. * Same for wallet notifications which are only informatve
Configuration menu - View commit details
-
Copy full SHA for a836c27 - Browse repository at this point
Copy the full SHA a836c27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 858f69f - Browse repository at this point
Copy the full SHA 858f69fView commit details -
Notifier: Add emoji for low priority events
For consistency and also fixes a bug that prevents * markdown style to work because of empty space following after that without icon.
Configuration menu - View commit details
-
Copy full SHA for ef6b819 - Browse repository at this point
Copy the full SHA ef6b819View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0200630 - Browse repository at this point
Copy the full SHA 0200630View commit details -
Configuration menu - View commit details
-
Copy full SHA for c996990 - Browse repository at this point
Copy the full SHA c996990View commit details -
Configuration menu - View commit details
-
Copy full SHA for db71620 - Browse repository at this point
Copy the full SHA db71620View commit details
Commits on Apr 25, 2021
-
Remove wallet events and added coins parser / handlers
This log has been removed from chia in the most recent versions so it serves no purpose to have the logic here. I've submitted a PR to re-add the log back, if that happens we can revert this change. Chia-Network/chia-blockchain#2720
Configuration menu - View commit details
-
Copy full SHA for 55446ed - Browse repository at this point
Copy the full SHA 55446edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89ae7f3 - Browse repository at this point
Copy the full SHA 89ae7f3View commit details -
Ammend: Added notes about dropped wallet feature: martomi#40
Configuration menu - View commit details
-
Copy full SHA for c278243 - Browse repository at this point
Copy the full SHA c278243View commit details
Commits on Apr 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b3942b9 - Browse repository at this point
Copy the full SHA b3942b9View commit details -
Add Windows support (martomi#43)
* Add Windows support for file read and interrupt. * Add install/start scripts for Windows and Linux
Configuration menu - View commit details
-
Copy full SHA for 7527a08 - Browse repository at this point
Copy the full SHA 7527a08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54bbd45 - Browse repository at this point
Copy the full SHA 54bbd45View commit details -
Configuration menu - View commit details
-
Copy full SHA for d700154 - Browse repository at this point
Copy the full SHA d700154View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57a3ed4 - Browse repository at this point
Copy the full SHA 57a3ed4View commit details -
Remove experimental windows instructions
Not yet ready for release. Needs more testing and better instructions.
Configuration menu - View commit details
-
Copy full SHA for c9ac091 - Browse repository at this point
Copy the full SHA c9ac091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30ea377 - Browse repository at this point
Copy the full SHA 30ea377View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3733030 - Browse repository at this point
Copy the full SHA 3733030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26099e1 - Browse repository at this point
Copy the full SHA 26099e1View commit details -
Add Windows Support for Network Log Consumer (martomi#47)
* Remote host discovery through uname
Configuration menu - View commit details
-
Copy full SHA for 2f63f68 - Browse repository at this point
Copy the full SHA 2f63f68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82a300a - Browse repository at this point
Copy the full SHA 82a300aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d382135 - Browse repository at this point
Copy the full SHA d382135View commit details
Commits on Apr 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cd5c2be - Browse repository at this point
Copy the full SHA cd5c2beView commit details
Commits on May 2, 2021
-
Improve cross-platform implementation (martomi#68)
Made the following changes to fix a Pathlib bug where the log file could not be found in the event of a Windows-run chiadog connecting to a remote Linux harvester: - Renamed `_get_remote_platform()` to `get_host_info()` and made it static. - Moved `get_host_info()` from class initializer to `create_log_consumer_from_config()` - Replaced `Path` with either `PosixPurePath` or `WindowsPurePath` depending on remote host OS info - Added line to `.gitignore` to allow multi-remote testing - Updated `util.py` (code formatter output)
Configuration menu - View commit details
-
Copy full SHA for 5653063 - Browse repository at this point
Copy the full SHA 5653063View commit details
Commits on May 5, 2021
-
Hotfix WindowsPath (martomi#81)
Expanded path needed to be passed to Popen as a string. Closes martomi#80
Configuration menu - View commit details
-
Copy full SHA for 4c8b5ad - Browse repository at this point
Copy the full SHA 4c8b5adView commit details -
Added Python check to verify python version is 3.7 or above before proceeding with installation
Configuration menu - View commit details
-
Copy full SHA for c3b47ef - Browse repository at this point
Copy the full SHA c3b47efView commit details
Commits on May 8, 2021
-
Revert "Remove wallet events and added coins parser / handlers"
This reverts commit 3a6cbe2. As of Chia 1.1.3, the log for added coins is active again so we can restore that feature.
Configuration menu - View commit details
-
Copy full SHA for 417d27c - Browse repository at this point
Copy the full SHA 417d27cView commit details -
Tests: Add UTF-8 when opening files
This is required for Windows to correctly read the files.
Configuration menu - View commit details
-
Copy full SHA for f30799c - Browse repository at this point
Copy the full SHA f30799cView commit details
Commits on May 9, 2021
-
Add Total Searches to Daily Stats (martomi#95)
Add overall total number of searches. Also add percentage of total searches for 5s/15 measurements
Configuration menu - View commit details
-
Copy full SHA for e90648e - Browse repository at this point
Copy the full SHA e90648eView commit details
Commits on May 11, 2021
-
Add MQTT Notifier (martomi#94)
Added support for an optional MQTT notifier. The notifier supports optional username/password authentication Added MQTT instructions to INTEGRATIONS.md.
Configuration menu - View commit details
-
Copy full SHA for ab5f819 - Browse repository at this point
Copy the full SHA ab5f819View commit details -
Custom SSH port - issue 89 (martomi#101)
Custom SSH port for remote logs can now be specified in config.yaml (issue martomi#89)
Configuration menu - View commit details
-
Copy full SHA for 85cd2af - Browse repository at this point
Copy the full SHA 85cd2afView commit details
Commits on May 13, 2021
-
Skipped SPs: Improve handling of out-of-order events
* Dowgrade log output about out-of-order events to debug log level to reduce questions and concerns about this (expected) phenomenon * Add clarification to the comment explaining when it happens * Add validity flag in the return that allows the users of the function to clear their state from wrong previous SP records. Thus preventing incorrect signage point skip notifications.
Configuration menu - View commit details
-
Copy full SHA for d50f041 - Browse repository at this point
Copy the full SHA d50f041View commit details -
Configuration menu - View commit details
-
Copy full SHA for 784b922 - Browse repository at this point
Copy the full SHA 784b922View commit details -
WINDOWS: Add experimental note and link to known bugs
There are still unresolved known issues on Windows so add a note about that to reduce repeated reports and questions.
Configuration menu - View commit details
-
Copy full SHA for ad6ecbd - Browse repository at this point
Copy the full SHA ad6ecbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f089cc5 - Browse repository at this point
Copy the full SHA f089cc5View commit details
Commits on May 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 42c5054 - Browse repository at this point
Copy the full SHA 42c5054View commit details
Commits on May 15, 2021
-
amount in debug.log is no longer quoted
Configuration menu - View commit details
-
Copy full SHA for dcee7fc - Browse repository at this point
Copy the full SHA dcee7fcView commit details -
* Run black, flake8 and mypy tests on creating a pull request. * Use typing.Dict instead of dict to resolve mypy issue
Configuration menu - View commit details
-
Copy full SHA for eccaeb8 - Browse repository at this point
Copy the full SHA eccaeb8View commit details
Commits on May 17, 2021
-
HarvesterActivityParser: Correctly parse multi-digit number of plots (m…
…artomi#133) Without this change, logs like this one were not correctly parsed: harvester chia.harvester.harvester: INFO 10 plots were eligible for farming c599f64427... Found 0 proofs. Time: 0.45573 s. Total X plots
Configuration menu - View commit details
-
Copy full SHA for 4897322 - Browse repository at this point
Copy the full SHA 4897322View commit details -
SignagePoints: Fix wrong handling of fork events
* Add test case for network fork * Fix logic to handle this case properly Fixes: martomi#116 Should result in less false alarms.
Configuration menu - View commit details
-
Copy full SHA for d9b7a34 - Browse repository at this point
Copy the full SHA d9b7a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for b60b00c - Browse repository at this point
Copy the full SHA b60b00cView commit details
Commits on May 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 75527c6 - Browse repository at this point
Copy the full SHA 75527c6View commit details
Commits on May 23, 2021
-
Improve multi-platform log rotation handling (martomi#164)
* Add `pygtail` to enable better log rotation handling. It writes an artefact file (`debug.log.offset`) to the `chiadog` folder. * Add `retry` to catch Pygtail errors and retry * Add `has_rotated` method which reads log filesize over SSH using Powershell * Removed `paranoid` option from `Pygtail` - might not be required and requires considerable writes to disk. Should we still see 'harvester offline' false positives, this might be good to re-enable. * Remove OS-specific implementations of Local FileLogConsumer
Configuration menu - View commit details
-
Copy full SHA for 7cc8a90 - Browse repository at this point
Copy the full SHA 7cc8a90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2105440 - Browse repository at this point
Copy the full SHA 2105440View commit details
Commits on May 24, 2021
-
NonDecreasingPlots: Increase tolerance threshold to 2
Closes martomi#147 Closes martomi#58 I see little value in making refactors and adding additional configuration parameters for this. A threshold of 2 should resolve all issues that are experienced during copying of plots. Note that 2 is an instantenous threshold since the max value gets reset after that. Meaning that plot count may drop by 10 without a notification as long as its dropping in steps of 1. For transparency of what is happening, I've added an info log that is always triggered, regardless of the threshold. The test case is adjusted to contain a scenario with decreasing plot count by 1 which is expected not to trigger a notification.
Configuration menu - View commit details
-
Copy full SHA for ea0420f - Browse repository at this point
Copy the full SHA ea0420fView commit details -
CI Workflow: Fix black error (martomi#168)
When running an unsuccessful `black` format check the script automatically runs the formatter and commits the altered source code. This currently results in an error: ``` Run black src tests reformatted src/chia_log/log_consumer.py All done! ✨ 🍰 ✨ 1 file reformatted, 62 files left unchanged. error: pathspec 'feature/improve-harvester-offline' did not match any file(s) known to git Error: Process completed with exit code 1. ``` Moved the black format check to the back of the queue, as it can be automatically fixed, while the others require manual intervention. Also removed the `black --check` since we want to make the changes anyhow
Configuration menu - View commit details
-
Copy full SHA for c6cad54 - Browse repository at this point
Copy the full SHA c6cad54View commit details -
Configuration menu - View commit details
-
Copy full SHA for c15835b - Browse repository at this point
Copy the full SHA c15835bView commit details -
FileLogConsumer: Throttle log polling
Currently the loop isn't throttled which creates busy-wait and maxes out one of the CPU cores to 100%. This is because Pygtail exits its own loop every time it reaches the end of the debug.log file. This also makes WARNING logs about non-existing debug.log file during log rotation statistically improbable.
Configuration menu - View commit details
-
Copy full SHA for aca2308 - Browse repository at this point
Copy the full SHA aca2308View commit details -
Configuration menu - View commit details
-
Copy full SHA for a78add4 - Browse repository at this point
Copy the full SHA a78add4View commit details -
Add --version switch (martomi#131)
Add a new log line at startup that mentions the version number
Configuration menu - View commit details
-
Copy full SHA for 808bde4 - Browse repository at this point
Copy the full SHA 808bde4View commit details -
LastFarmEvent: Increase warn threshold and improve message
Since the network experiences delays up to 70-80 seconds occasionally, increase warning threshold to 90 to prevent false alarms. Also change text of info text to avoid frequent questions and concerns.
Configuration menu - View commit details
-
Copy full SHA for d4a5ed2 - Browse repository at this point
Copy the full SHA d4a5ed2View commit details -
Events: Bring back the found proof notifications
closes martomi#167 closes martomi#182 The wallet events that were supposed to replace these notifications do not work in many of the scenarious that chiadog operates in. This commit reverses the removal of the found proof notifications.
Configuration menu - View commit details
-
Copy full SHA for ae00448 - Browse repository at this point
Copy the full SHA ae00448View commit details -
README: Improvements based on some FAQ
- Apply formatting to both WINDOWS.md and README.md - Add link from README to new Status Reference wiki page - Add clarifications about multi-harvester setup monitoring - Add link to disappearing harvester issue on WINDOWS (log rotation)
Configuration menu - View commit details
-
Copy full SHA for 691d766 - Browse repository at this point
Copy the full SHA 691d766View commit details -
DailyStats: Add configurable frequency
Closes martomi#69 Add option to have daily notifications with higher frequency than every 24 hours.
Configuration menu - View commit details
-
Copy full SHA for 9e84ef2 - Browse repository at this point
Copy the full SHA 9e84ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 450c277 - Browse repository at this point
Copy the full SHA 450c277View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff4c2e3 - Browse repository at this point
Copy the full SHA ff4c2e3View commit details -
SkippedSignagePoints: Handle repeated reception of same SP
Fixes to pass tests submitted in martomi#169 Closes martomi#170 This is also backwards compatible with all existing tests. Do not reset previous SP so that we can keep track of the latest valid SP and correctly ignore any duplicates.
Configuration menu - View commit details
-
Copy full SHA for 0ab05c6 - Browse repository at this point
Copy the full SHA 0ab05c6View commit details -
SkippedSignagePoints: No notifications for individual skips
Closes: martomi#145 Fully remove notifications for individual skips. These are going to be shown in the logs and in the daily summaries. Bigger gaps in signage points are still going to trigger immediate notifications.
Configuration menu - View commit details
-
Copy full SHA for 5a7d9aa - Browse repository at this point
Copy the full SHA 5a7d9aaView commit details
Commits on May 25, 2021
-
CI Workflow: Simplify black check (martomi#188)
The auto-black functionality doesn't work when opening a PR from a fork.
Configuration menu - View commit details
-
Copy full SHA for cb32324 - Browse repository at this point
Copy the full SHA cb32324View commit details -
Add automated launching for Windows (martomi#91)
* Add convenient launch script for Windows * move platform-specific files to separate dir and automate pathing
Configuration menu - View commit details
-
Copy full SHA for ef14eeb - Browse repository at this point
Copy the full SHA ef14eebView commit details -
Version: Catch possible exceptions
Exception might happen if chiadog was installed without using git.
Configuration menu - View commit details
-
Copy full SHA for 25d4c87 - Browse repository at this point
Copy the full SHA 25d4c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for e80b572 - Browse repository at this point
Copy the full SHA e80b572View commit details
Commits on May 26, 2021
-
Fix install script package checks
Removes the return statement that always causes the packages check to fail. Recognises removed packages should be installed again.
Configuration menu - View commit details
-
Copy full SHA for ec73a98 - Browse repository at this point
Copy the full SHA ec73a98View commit details
Commits on May 27, 2021
-
Version: Fix zombie process resulting from Popen
See [Stackoverflow](https://stackoverflow.com/questions/2760652/how-to-kill-or-avoid-zombie-processes-with-subprocess-module/2761237#2761237) for detailed solution
Configuration menu - View commit details
-
Copy full SHA for 51e1b5e - Browse repository at this point
Copy the full SHA 51e1b5eView commit details
Commits on Jun 1, 2021
-
Bugfix: Remove corrupt pygtail offset (martomi#214)
* Fix corrupt offset file
Configuration menu - View commit details
-
Copy full SHA for 6096c75 - Browse repository at this point
Copy the full SHA 6096c75View commit details
Commits on Jun 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e72a7ec - Browse repository at this point
Copy the full SHA e72a7ecView commit details
Commits on Jun 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9fb7934 - Browse repository at this point
Copy the full SHA 9fb7934View commit details
Commits on Jun 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4cbeae8 - Browse repository at this point
Copy the full SHA 4cbeae8View commit details
Commits on Jul 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 92fea7b - Browse repository at this point
Copy the full SHA 92fea7bView commit details
Commits on Jul 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5eb8dcf - Browse repository at this point
Copy the full SHA 5eb8dcfView commit details -
Fix formatting and typing errors
Introduced from some PRs to dev branch which didn't pass the checks.
Configuration menu - View commit details
-
Copy full SHA for 7266bee - Browse repository at this point
Copy the full SHA 7266beeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd9a66b - Browse repository at this point
Copy the full SHA fd9a66bView commit details
Commits on Jul 15, 2021
-
Update log offset unlink for compatibility with Python 3.7 (martomi#265)
missing_ok was added in Python 3.8. Replaced with path.exists() check prior to removal https://docs.python.org/3/library/pathlib.html#pathlib.Path.unlink
Configuration menu - View commit details
-
Copy full SHA for f866fd4 - Browse repository at this point
Copy the full SHA f866fd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eae548 - Browse repository at this point
Copy the full SHA 6eae548View commit details -
Configuration menu - View commit details
-
Copy full SHA for e327b41 - Browse repository at this point
Copy the full SHA e327b41View commit details
Commits on Jul 16, 2021
-
Integration: Grafana Annotations API (martomi#244)
Also removed daily_stats and wallet_events check and set these variables to False if not present.
Configuration menu - View commit details
-
Copy full SHA for 9f03b20 - Browse repository at this point
Copy the full SHA 9f03b20View commit details
Commits on Jul 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ed67030 - Browse repository at this point
Copy the full SHA ed67030View commit details
Commits on Jul 29, 2021
-
Remove unused imports & unnecessary f-string
These are found by running flake8 as explained in CONTRIBUTING.md
Configuration menu - View commit details
-
Copy full SHA for 9bca66e - Browse repository at this point
Copy the full SHA 9bca66eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1964d4 - Browse repository at this point
Copy the full SHA d1964d4View commit details
Commits on Jan 13, 2022
-
Automated docker image builds (martomi#323)
* Inhouse Dockerfile and entrypoint from ajacobson/chiadog-docker This brings over only only drop dead simple bits that really should live with the tool itself. Major benefits: - Can easily build any state of the repo regardless of branch or mid-development into a functional image without mucking about with an external repo. - Faster builds when the source code is already present without an extra clone Minor fixes added as well: - entrypoint.sh was missing a shebang - Simplified entrypoint running now that the script has a proper shabang - Simplified logic by switching WORKDIR earlier - Add a .dockerignore file to prune dirty state and useless weight from the container. Does not include: - Any documentation. Docker is an advanced option in any case but this should be added as a followup. - Automated Docker builds. Those come in the next commit. * Automate building of Docker images. - Images based on the `main` branch will update the `latest` tag. - Other branches will be tagged with the branch name and first 6 chars of commit hash. - Any git tags will tag images as-is, say `v0.7.0` would become: `ghcr.io/martomi/chiadog:v0.7.0` * Simplify & improve Docker image, change config env to CHIADOG_CONFIG_DIR - Breaking change for anyone coming from ajacobson/chiadog-docker: The config dir env variable is now called CHIADOG_CONFIG_DIR - Switch base image to python:3.10-slim, reduced image size significantly - Dropped manual TZ handling at the container system level, just setting env TZ is enough - Dropped manual PyNaCL install, requirements pull in the binary wheel just fine - Simplify entrypoint and use sh for security.
Configuration menu - View commit details
-
Copy full SHA for 16b91bb - Browse repository at this point
Copy the full SHA 16b91bbView commit details
Commits on Jul 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f7056cb - Browse repository at this point
Copy the full SHA f7056cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67300ad - Browse repository at this point
Copy the full SHA 67300adView commit details -
Configuration menu - View commit details
-
Copy full SHA for c806d1b - Browse repository at this point
Copy the full SHA c806d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for db9f64a - Browse repository at this point
Copy the full SHA db9f64aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c0e52a - Browse repository at this point
Copy the full SHA 4c0e52aView commit details -
Config: Toggle notifications for plot increases and decreases (martom…
…i#307) This commits adds new notification for plot increases (e.g connecting HDD) and makes the notifications for increases/decreases configurable via the config for every integration.
Configuration menu - View commit details
-
Copy full SHA for bc87fdf - Browse repository at this point
Copy the full SHA bc87fdfView commit details -
Add a sandboxed systemd service
* Add a scripts/linux/chiadog.service systemd example that attempts to run chiadog in a more isolated environment. Create a new limited user each run (making much of the filesystem readonly), and set `.chia/mainnet` folders other than `log` to inaccessible. * Move the offset file - previously, the `debug.log.offset` file was kept in the chiadog directory, but when running in a read only filesystem we can't write there. Create a temporary directory when running, and store the offset file there. This also means we no longer need to delete the offset file on startup.
Configuration menu - View commit details
-
Copy full SHA for 5c92cfe - Browse repository at this point
Copy the full SHA 5c92cfeView commit details -
Add ~/.chia_keys to list of InaccessiblePaths in systemd
Chia is [migrating their keyfiles](https://github.com/Chia-Network/chia-blockchain/wiki/Passphrase-Protected-Chia-Keys-and-Key-Storage-Migration) to `~/.chia_keys`. Block this folder from access in the systemd service.
Configuration menu - View commit details
-
Copy full SHA for 24ebb7c - Browse repository at this point
Copy the full SHA 24ebb7cView commit details -
Add config option to disable SMTP auth for basic postfix setup (marto…
…mi#314) Sometimes it is useful to disable SMTP authentication for sending emails. For example, if someone is using a local postfix server, the default install doesn't require/enable auth. When this new config option is set to enable_smtp_auth: false, the username_smtp and password_smtp config options are ignored.
Configuration menu - View commit details
-
Copy full SHA for c7682b4 - Browse repository at this point
Copy the full SHA c7682b4View commit details -
Bump paramiko from 2.7.2 to 2.10.1 (martomi#333)
Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.7.2 to 2.10.1. - [Release notes](https://github.com/paramiko/paramiko/releases) - [Changelog](https://github.com/paramiko/paramiko/blob/main/NEWS) - [Commits](paramiko/paramiko@2.7.2...2.10.1) --- updated-dependencies: - dependency-name: paramiko dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2ec48c8 - Browse repository at this point
Copy the full SHA 2ec48c8View commit details -
Add config for filtering small wallet transactions (martomi#336)
Co-authored-by: egeedot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e28f5ef - Browse repository at this point
Copy the full SHA e28f5efView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef1784b - Browse repository at this point
Copy the full SHA ef1784bView commit details -
Prepare release 0.7.1 (martomi#338)
* README: Use official docker image * CONTRIBUTING: Start using main instead of dev * CHANGELOG: Add version 0.7.1 * README: Section about systemd service
Configuration menu - View commit details
-
Copy full SHA for 088fb86 - Browse repository at this point
Copy the full SHA 088fb86View commit details
Commits on Jul 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d445f9e - Browse repository at this point
Copy the full SHA d445f9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fb7b13 - Browse repository at this point
Copy the full SHA 3fb7b13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1da0256 - Browse repository at this point
Copy the full SHA 1da0256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eafc65 - Browse repository at this point
Copy the full SHA 6eafc65View commit details
Commits on Aug 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 682026e - Browse repository at this point
Copy the full SHA 682026eView commit details
Commits on Aug 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3e93a75 - Browse repository at this point
Copy the full SHA 3e93a75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28a4dd4 - Browse repository at this point
Copy the full SHA 28a4dd4View commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 17cdf1b - Browse repository at this point
Copy the full SHA 17cdf1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3c7a9e - Browse repository at this point
Copy the full SHA a3c7a9eView commit details
Commits on Nov 7, 2022
-
Support wallet notification for Chia 1.6.1 (martomi#356)
* Support wallet notification for Chia 1.6.1 * Reformat list in test_wallet_added_coin_parser.py
Configuration menu - View commit details
-
Copy full SHA for 8dbdc60 - Browse repository at this point
Copy the full SHA 8dbdc60View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6d105 - Browse repository at this point
Copy the full SHA fb6d105View commit details
Commits on Jan 18, 2023
-
Wallet: Omit debug logging of zero mojo transactions. (martomi#362)
* Omit debug logging of zero mojo transactions. Since the flow of transactions is constant, logging zero transactions makes debug logs very hard to read. Non-zero mojo transactions under the set limit are still debug logged. * Fix typing in keep_alive_monitor init
Configuration menu - View commit details
-
Copy full SHA for 207c506 - Browse repository at this point
Copy the full SHA 207c506View commit details
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 73594e1 - Browse repository at this point
Copy the full SHA 73594e1View commit details
Commits on Feb 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c7d9d2a - Browse repository at this point
Copy the full SHA c7d9d2aView commit details -
Implement the confuse library handling in notifiers
I've tested and verified the following to function: - Telegram - Pushover
Configuration menu - View commit details
-
Copy full SHA for 17617a0 - Browse repository at this point
Copy the full SHA 17617a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a9a89 - Browse repository at this point
Copy the full SHA 04a9a89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5047645 - Browse repository at this point
Copy the full SHA 5047645View commit details
Commits on Feb 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 63feb53 - Browse repository at this point
Copy the full SHA 63feb53View commit details -
Configuration menu - View commit details
-
Copy full SHA for faf590d - Browse repository at this point
Copy the full SHA faf590dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 334e3de - Browse repository at this point
Copy the full SHA 334e3deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58c5d3e - Browse repository at this point
Copy the full SHA 58c5d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0d4979 - Browse repository at this point
Copy the full SHA e0d4979View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceedc4e - Browse repository at this point
Copy the full SHA ceedc4eView commit details
Commits on Feb 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ee8d4d - Browse repository at this point
Copy the full SHA 7ee8d4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d133b8 - Browse repository at this point
Copy the full SHA 0d133b8View commit details -
This ensures the backwards compatibility is still carried forward of enabling misconfigured handlers.
Configuration menu - View commit details
-
Copy full SHA for d12b99a - Browse repository at this point
Copy the full SHA d12b99aView commit details