Nils Schneider
8ee4cbcf24
rrd.py: create output directory if it does not exist yet
2013-11-23 22:16:35 +01:00
Nils Schneider
4f889b102f
create nodedb/ directory
2013-11-23 22:11:46 +01:00
Nils Schneider
b722639f1f
more merge fixes
2013-11-23 22:10:46 +01:00
Nils Schneider
573d32c29d
write nodes.json directly without creating nodes.json.new first
2013-11-23 22:09:27 +01:00
Nils Schneider
d38670a5a1
fix mkmap.sh
2013-11-23 22:08:26 +01:00
Nils Schneider
7b36d62c64
Merge branch 'toppoint-rrdstats'
2013-11-23 22:06:56 +01:00
Nils Schneider
ccf0a753fb
Merge branch 'rrdstats' of https://github.com/toppoint/ffmap-backend into toppoint-rrdstats
...
Conflicts:
bat2nodes.py
mkmap.sh
2013-11-23 22:05:52 +01:00
Nils Schneider
e0f1fa2b01
Merge pull request #8 from toppoint/utf8-fix
...
Fix utf-8 enforcing hack.
2013-11-23 13:03:31 -08:00
Daniel Ehlers
44c92ff65f
Refactor batctl calls into python class.
...
This drastically reduces the logic implement in mkmap.sh and also
supports multiple batman mesh interfaces.
2013-11-21 01:27:13 +01:00
Daniel Ehlers
ca3c436813
Reduce clientCounter for every node.
...
We have an ghost client for every node, we don't want them in the global
client measurement.
2013-11-21 01:25:22 +01:00
Wilfried Klaebe
94dba3399c
Beautify node stats.
...
Also display both rrdb fields in one graph.
2013-11-21 01:25:01 +01:00
Daniel Ehlers
b878028671
Fix link handling.
...
Accidental the LinkConnector object was used for checking the nodes,
this patch fixes this behaviour.
2013-11-21 01:24:44 +01:00
Daniel Ehlers
62413d81f3
Generate node stats with rrd.
...
We have an rrd for every active node. On every run we update
stats about client count and node state from nodes.json to the rrd
databases. After updating the rrds we are able to generate a stat
graph (image) for every node.
The rrds are stored in subdirectory "nodedb" of the scripts location and
the generated images in subdirectory "nodes" of the destination directory.
Both directorys must exist bevor starting the script.
2013-11-21 01:24:12 +01:00
Daniel Ehlers
1b0e830e16
Add destination directory argument and write content instead of piping.
2013-11-21 01:21:46 +01:00
Daniel Ehlers
9a85fd0c97
Fix utf-8 enforcing hack.
...
The function getdefaultlocale takes one optional argument,
so the replace should behave the same.
2013-11-21 01:17:44 +01:00
Nils Schneider
e58d0baec3
fix
2013-03-12 20:54:14 +01:00
Nils Schneider
0a1bd6ab8d
do not use microseconds
2013-03-12 20:52:20 +01:00
Nils Schneider
36c852b7bb
add meta.timestamp
2013-03-12 20:09:48 +01:00
Nils Schneider
9eb7da519b
do not repoen stdin, stderr, stdout
2013-03-11 09:24:57 +01:00
Nils Schneider
ec03ffe810
use fuzzy mac matching when importing aliases
2013-02-02 02:44:49 +01:00
Nils Schneider
d9a9927ecb
remove debug print
2013-02-02 01:29:11 +01:00
Nils Schneider
db4dec7270
handle aliases without names
2013-02-02 01:27:49 +01:00
Nils Schneider
3893963553
fix file format generated by ffhlwiki.py
2013-02-02 01:25:02 +01:00
Nils Schneider
46879f7caf
use batctl -n
2013-02-02 01:22:40 +01:00
Nils Schneider
3ffbac8136
remove wikiimport from nodedb, move to ffhlwiki.py and call it from mkmap.sh
2013-02-02 01:21:29 +01:00
Nils Schneider
9b236c462b
allow parsing of multiple aliases-files
2013-02-02 00:44:46 +01:00
Nils Schneider
78e8d4f6ff
output geo as floats, not strings
2013-01-17 22:13:20 +01:00
Nils Schneider
828b68ab34
add hostid module with mac_to_hostid function
2012-12-23 23:08:58 +01:00
Nils Schneider
5613fa2f61
include offline nodes from aliases.json in output
2012-11-22 02:35:14 +01:00
Nils Schneider
8e62ca2f37
Revert "add nodes2bathosts script"
...
This reverts commit 2ebf716ca9
.
2012-10-02 22:24:03 +02:00
Nils Schneider
be7b04234e
add aliases.json to .gitignore
2012-10-02 20:28:29 +02:00
Nils Schneider
32eb2da6eb
fix wiki url
2012-10-02 18:04:07 +02:00
Nils Schneider
bbf9b599fe
remove unused vpn flag
2012-09-21 02:49:27 +02:00
Nils Schneider
2ebf716ca9
add nodes2bathosts script
2012-09-19 11:28:24 +02:00
Nils Schneider
ec7b89c670
split backend from ffmap-d3
2012-09-14 01:48:23 +02:00
Nils Schneider
8e518a3a85
add refresh button
2012-09-13 03:40:14 +02:00
Nils Schneider
cee7805e26
show vpn links in infobox
2012-09-13 03:35:57 +02:00
Nils Schneider
484f2bef20
position nodes according to the geographic position initially and skip the early force ticks
2012-09-13 02:48:58 +02:00
Nils Schneider
c7479774df
update flags for existing nodes
2012-09-12 20:39:52 +02:00
Nils Schneider
018b6d162b
reduce link strength
2012-09-12 20:33:37 +02:00
Nils Schneider
5c0cc33e34
improve contrast when highlighting nodes
2012-09-12 19:07:40 +02:00
Nils Schneider
90940c8f21
label below nodes, simplify node highlighting
2012-09-12 07:40:19 +02:00
Nils Schneider
76e9ad1595
swap lon/lat in alert
2012-09-06 20:13:49 +02:00
Nils Schneider
961e4b92ec
koordinaten via click herausfinden
2012-09-06 20:13:09 +02:00
Nils Schneider
52b6aa8804
tweak force paramameters for work better with large meshes
2012-09-06 19:28:35 +02:00
Nils Schneider
51eadf12c0
brighter link colors, shaded map layer
2012-09-05 03:47:22 +02:00
Nils Schneider
205d4f4d10
linkquality colors in geomap
2012-09-05 03:34:39 +02:00
Nils Schneider
4d98854ce3
add dragging-state
2012-09-05 03:18:25 +02:00
Nils Schneider
c8a4882f38
fix handling of wiki entries with multiple nodes
2012-09-05 00:59:13 +02:00
Nils Schneider
ba866a65ce
add 20px virtual "margin"
2012-09-05 00:36:17 +02:00