Commit graph

361 commits

Author SHA1 Message Date
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
Nils Schneider 88ea6ffc30 show node name in popup instead of macs 2012-09-04 18:39:58 +02:00
Nils Schneider 4161c8aab4 allow toggling of labels 2012-09-04 14:14:37 +02:00
Nils Schneider 15cb028583 fix 2012-09-04 11:49:58 +02:00
Nils Schneider 05039876ee simplify bounding box calculations 2012-09-04 11:44:43 +02:00
Nils Schneider 4c61221ccc fix typo 2012-09-04 11:35:37 +02:00
Nils Schneider 9dab401e39 link quality legend 2012-09-04 01:36:03 +02:00
Nils Schneider d748f917cb change threshholds for linkquality colors 2012-09-03 23:36:55 +02:00
Nils Schneider 1ed42ab9ee Nick -> Knotenname 2012-08-22 20:47:17 +02:00
Nils Schneider 51701dfde8 use copy of mac, not reference 2012-08-21 00:10:37 +02:00
Nils Schneider f67b8df1bc add wiki mac to macs 2012-08-20 23:45:35 +02:00
Nils Schneider a6d7e4e1f3 modulo 255 when incrementing macs 2012-08-20 23:44:31 +02:00
Nils Schneider 92b454f1cc much better mac matching 2012-08-20 23:00:39 +02:00