Page 1 of 1

phone notifications when folding fails?

Posted: Thu Jul 16, 2020 3:26 am
by hamshanky
Hi all

How can I set up my android 8 phone to receive a notification when:
  • Failed 5 attempts to upload a work unit
  • Failed 5 attempts to download a work unit
  • Uploading creates an error, dumps work
  • Error is encountered and progress is lost
  • etc
If it is not possible to send notifications to my android 8 phone, how about to my gmail?

Re: phone notifications when folding fails?

Posted: Thu Jul 16, 2020 4:10 am
by ChristianVirtual
You could write your own script, analyze the log file or remote API and react in a way you need. To my knowledge there is no standard way of doing it. Raising an enhancement might be a good idea to trigger a system shell script in case of specific events. Not much scientific value out of it so don’t hold your breath. But try to enter in GitHub and enhancement request. https://github.com/FoldingAtHome/fah-issues/issues

Re: phone notifications when folding fails?

Posted: Thu Jul 16, 2020 4:22 am
by hamshanky
I see

This is something I will put on my to-do list for the far future then.

Thanks

Re: phone notifications when folding fails?

Posted: Sun Jul 19, 2020 1:42 am
by MeeLee
There is a way you can see remotely from the FAH servers, if your last WU uploaded successfully.
You can also view your log file.

As far as WU's not uploading due to network issues, that'll be a hard one.
Especially if the network issues are on your end.
You'd have to run a script that will poll the log file for certain patterns.
Not something an average person can do, unless he persistently spends weeks (or months) over the issue.
It may be a simple thing to do, but there are a lot of complications to successfully get something like that to work.

Re: phone notifications when folding fails?

Posted: Sun Jul 19, 2020 12:57 pm
by ChristianVirtual
In my early years I used Zabbix to monitor my FAH systems. It included also the GPU and Disk temps; it could also send email/notifications; but a bit of a learning curve to get it done.