Nodes have:
last_seenattribute: timestamp of last answer to respondd multicasts (updates minutely)last_updatedattribute: timestamp of last update from nodes.json
Node states:
ok:(now() - last_seen) < 60minand(now() - last_updated) < 5 minproblem:(now() - last_seen) >= 60minand(now() - last_updated) < 5 minunknown:(now() - last_updated) > 5 min
apt install python3 python3-venv composercd /opt
git clone https://github.com/lemoer/keepitup
cd keepitup
cp config.py.example config.py
# edit your config file now
bash setup.sh --systemwide
systemctl start keepitup.target
systemctl start keepitup-update-nodes.serviceThere is a shell command to help with translation workflows:
(venv) lemoer@orange ~/d/f/g/keepitup (main)> ./translate.sh
This small script helps in doing the translation workflows.
Suppose you have added new _('...') or gettext() calls to your *.py or templates/:
./translate.sh update
# edit translations/de/LC_MESSAGES/messages.po
./translate.sh compile