Skip to content

Disabling harvester_activity_handler does not disable harvester checks #361

Description

@jinnatar

Even if the handler harvester_activity_handler is set to enable: false, a harvester is still expected: Your harvester appears to be offline! No events for the past 600 seconds.

  • For context, this instance of chiadog is monitoring a full_node that has been started with services="node farmer-only wallet", i.e. it's not running a harvester on purpose since there are no local plots.
  • Issue repeats with Chia log level set to DEBUG or INFO, have not tested other levels.
[2023-01-16 15:29:28] [    INFO] --- Starting Chiadog (unknown) (main.py:54)
[2023-01-16 15:29:28] [    INFO] --- Enabled local file log consumer. (log_consumer.py:60)
[2023-01-16 15:29:28] [    INFO] --- Using temporary directory /tmp/tmpwt8e5db5/debug.log.offset (log_consumer.py:63)
[2023-01-16 15:29:28] [    INFO] --- Enabled remote pinging to https://hc-ping.com/xxxxx (keep_alive_monitor.py:36)
[2023-01-16 15:29:28] [    INFO] --- Keep-alive check period: 300 seconds (keep_alive_monitor.py:45)
[2023-01-16 15:29:28] [    INFO] --- Initializing Pushover notifier. (pushover_notifier.py:13)
[2023-01-16 15:29:28] [    INFO] --- Enabled stats for daily notifications (stats_manager.py:48)
[2023-01-16 15:29:28] [    INFO] --- Summary notifications will be sent out every 24 hours starting from 12:00 (stats_manager.py:61)
[2023-01-16 15:29:28] [    INFO] --- Disabled handler: harvester_activity_handler (log_handler.py:63)
[2023-01-16 15:29:28] [    INFO] --- Initializing handler: partial_handler (__init__.py:28)
[2023-01-16 15:29:28] [    INFO] --- Enabled parser for partial submitting stats. (partial_parser.py:28)
[2023-01-16 15:29:28] [    INFO] --- Initializing handler: block_handler (__init__.py:28)
[2023-01-16 15:29:28] [    INFO] --- Enabled parser for block found stats. (block_parser.py:28)
[2023-01-16 15:29:28] [    INFO] --- Enabled check for found blocks. (found_blocks.py:15)
[2023-01-16 15:29:28] [    INFO] --- Initializing handler: finished_signage_point_handler (__init__.py:28)
[2023-01-16 15:29:28] [    INFO] --- Enabled parser for finished signage points. (finished_signage_point_parser.py:28)
[2023-01-16 15:29:28] [    INFO] --- Enabled check for finished signage points. (non_skipped_signage_points.py:19)
[2023-01-16 15:29:28] [    INFO] --- Initializing handler: wallet_added_coin_handler (__init__.py:28)
[2023-01-16 15:29:28] [    INFO] --- Enabled parser for wallet activity - added coins. (wallet_added_coin_parser.py:26)
[2023-01-16 15:29:28] [    INFO] --- Filtering transaction with mojos less than 5 (wallet_added_coin_handler.py:26)
[2023-01-16 15:39:29] [ WARNING] --- Your harvester appears to be offline! No events for the past 600 seconds. (keep_alive_monitor.py:83)
[2023-01-16 15:44:29] [ WARNING] --- Your harvester appears to be offline! No events for the past 901 seconds. (keep_alive_monitor.py:83)

Relevant config sections:

keep_alive_monitor:                                                                                                             
    enable_remote_ping: true
    ping_url: 'https://hc-ping.com/xxxxx'

handlers:
  wallet_added_coin_handler:
    enable: true
    min_mojos_amount:  5
  finished_signage_point_handler:
    enable: true
  block_handler:
    enable: true
  partial_handler:
    enable: true
  harvester_activity_handler:
    enable: false

Environment:

  • OS: ghcr.io/chia-network/chia:latest
  • Python version: N/A
  • PIP version: N/A
  • Chia version: 1.6.2
  • Chiadog version: v0.7.5 as present in sha256:4c19849657d2fc78c91257f1c18c8a18ac6a99d094e4d6c3e530300d3905a291
  • Harvester: No local harvester, connected to two remote harvesters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions