You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adrian Schmutzler 36e99bec52 Changelog: Update 3 years ago
alfred-monitoring-proxy Handle even larger requests 6 years ago
contrib Rename net_if from router_neighbor table to netif 4 years ago
ffmap Changelog: Update 3 years ago
gwinfo gwinfo: Fix IPv4/IPv6 sed (leading space in match pattern, v1.4.6) 3 years ago
scripts Remove hoodsv1 table and corresponding interface with KeyXchangeV1 3 years ago
.gitignore gitignore: Add mysqlconfig 4 years ago Put git branch logic explanation into 3 years ago map: Remove V1 hood layer 3 years ago Add,, 4 years ago Update link to GitHub for service 3 years ago Add,, 4 years ago Add,, 4 years ago

Git Repository Logic

  • Frequent updates are made to the testing branch, which is considered "dirty". Commits appearing here may be quickly written, untested, incomplete, etc. This is where the development happens.
  • In unspecified intervals, the piled-up changes in the testing branch are reviewed, ordered and squashed to a smaller set of tidy commits. Those are then pushed to the master branch.
  • The tidy-up is marked by an empty commit "Realign with master" in the testing branch. This is roughly equivalent to a merge, although for an actual merge the commits would remain unaltered.
  • Development happens in the testing branch. Thus, testing is more up-to-date, but master is better to understand.
  • The Monitoring web server uses the testing branch.

Debian Dependencies

apt-get install mysql-server python3-mysqldb python python3 python3-requests python3-lxml python3-pip python3-flask python3-dateutil python3-numpy python3-scipy python3-mapnik python3-pip uwsgi-plugin-python3 nginx
pip3 install wheel pymongo pillow modestmaps simplejson werkzeug

When updating

apt-get install mysql-server python3-mysqldb python3-mapnik
apt-get uninstall mongodb python-mapnik uwsgi-plugin-python tilestache
pip3 install wheel pillow modestmaps simplejson werkzeug
pip3 uninstall uuid


  • Datenbank in MySQL anlegen
  • Git vorbereiten:
git clone
git clone
cd fff-monitoring
cp ffmap/ ffmap/
  • MySQL Zugangsdaten in eintragen


systemctl daemon-reload
systemctl enable uwsgi-ffmap
systemctl enable uwsgi-tiles
systemctl start uwsgi-ffmap
systemctl start uwsgi-tiles
cd ffmap/db/
# Then apply NGINX Config
cd ../.. # go back to fff-monitoring root directory

NGINX Config

server {
	listen 443 ssl default_server;
	listen [::]:443 ssl default_server;


	location / {
		include uwsgi_params;
		client_max_body_size 30M;

	location /tiles {
		include uwsgi_params;
	location /static/ {
		root /usr/share/ffmap/;
		expires max;
		add_header Cache-Control "public";



Admin anlegen

  • User über WebUI anlegen
  • Dann über z.B. phpmyadmin in der Tabelle users 'admin' auf 1 setzen