I tried to start up pymonitor and received the following error:
Code/root/src/pymonitor/./pymonitor.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import os, re, imp
So what is the correct way to get this up and running?
Sorry for the late reply, totally slipped my attention. Not sure if you still need help, but I'll just put this here just in case:
The original pymonitor implementation uses deprecated parts and also doesn't report RAID status correctly anymore. This fork works better:
GitHub - asquelt/pymonitor: Implemented in python. A daemon to monitor the raid status in the Thecus N5500 and display updates on the lcd screen
Implemented in python. A daemon to monitor the raid status in the Thecus N5500 and display updates on the lcd screen - GitHub - asquelt/pymonitor: Implemented…
github.com
You can demonize it so it will auto-start. Check the help for howto: python3 pymonitor.py --help