Skip to content
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

Ability to disable HARVESTER checks #93

Open
miketweaver opened this issue May 7, 2021 · 8 comments
Open

Ability to disable HARVESTER checks #93

miketweaver opened this issue May 7, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@miketweaver
Copy link

I have a Node with ChiaDog, with no harvester or farmer. I wanted to check on Signage points.

As it stands, I get a huge amount of notifications about "Your harvester appears to be offline", which is an "of course" because it isn't a harvester.

Can you add something in the config to disable harvester checks?

@miketweaver
Copy link
Author

In the meantime, I have removed HarvesterActivityHandler() from this file:

self._handlers = [HarvesterActivityHandler(), FinishedSignagePointHandler()]

And that has turned off the notifications.

@martomi
Copy link
Owner

martomi commented May 7, 2021

You'll probably want to remove it from here as well

self._last_keep_alive = {EventService.HARVESTER: datetime.now()}

otherwise the keep-alive is still going to notify you

@miketweaver
Copy link
Author

Thanks. I was looking for that just now.

@martomi martomi added the enhancement New feature or request label May 8, 2021
@tmaier
Copy link

tmaier commented May 17, 2021

I farm using the chia-docker image.
It starts the farmer only.
See https://github.com/Chia-Network/chia-docker/blob/main/entrypoint.sh#L33

Therefore, it seems the harvester checks do not make much sense...

Would be great to disable them

@Chardmw
Copy link

Chardmw commented May 26, 2021

Being able to enable/disable specific types of notifications was the original intent of #77. This would include all the INFO items being reported in the CHIADOG log but not currently sent as a notification.

@InvaderDolan
Copy link

You'll probably want to remove it from here as well

self._last_keep_alive = {EventService.HARVESTER: datetime.now()}

otherwise the keep-alive is still going to notify you

It would be nice to disable in config. It always sends me million of harvester warnings, even after I completely terminate the process. Harvester is offline warning disappears for few minutes after restart of chiadog and then starts.
Is there any update incoming to fix it?

@InvaderDolan
Copy link

Also, it's almost impossible to turn off the chiadog. I killed all the processes, terminated the process in terminal but still I get these annoying warnings. Even after change of the 2 scripts above.

@golden-guy
Copy link

golden-guy commented Sep 5, 2021

FYI: If you are using chiadog to monitor a local node and farmer, but have a remote harvester, you can append the log entries from the harvester node using netcat to the main machine's log file. That way, you need only one chiadog instance running on the main node/farmer, that keeps an eye on both local (node/farmer) and remote (harvester) services. Apart from getting rid of the wrong harvester error messages on the main machine, it saves you from having to run multiple chiadog instances (and from getting multiple daily charts, consequently)

Still, for node-only setups (w/o harvester), suppressing of harvester related notifications is the only way to go for now afaik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants