Skip to content

The KeepItUp service pings Freifunk nodes and notifies users if their nodes are down. Live here: https://keepitup.ffh.zone/

Notifications You must be signed in to change notification settings

lemoer/keepitup

Repository files navigation

KeepItUp

New Concept (Notes)

Nodes have:

  • last_seen attribute: timestamp of last answer to respondd multicasts (updates minutely)
  • last_updated attribute: timestamp of last update from nodes.json

Node states:

  • ok: (now() - last_seen) < 60min and (now() - last_updated) < 5 min
  • problem: (now() - last_seen) >= 60min and (now() - last_updated) < 5 min
  • unknown: (now() - last_updated) > 5 min

Debian Dependencies

apt install python3 python3-venv composer

Install

cd /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.service

Translations

There 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

About

The KeepItUp service pings Freifunk nodes and notifies users if their nodes are down. Live here: https://keepitup.ffh.zone/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published