Thema
Runbook: BMS watchdog
Bestanden
text
/home/yuma/bms-watchdog.py
/tmp/bms-watchdog.logCrontab
text
*/5 * * * * /home/yuma/bms-watchdog.pyVerifiëren
bash
ssh -i ~/.ssh/yuma_pi yuma@100.104.151.112 \
'python3 -m py_compile /home/yuma/bms-watchdog.py && crontab -l | grep bms-watchdog && tail -5 /tmp/bms-watchdog.log'Laatste gezonde output kan zijn:
text
OK: all BMS sensors healthy