summaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-17 18:42:32 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-17 18:42:32 +0100
commite8d55df0c08992521b303b689338c48ddfa307ce (patch)
treeb78229c8f040aca3b4bf85ba2ea0b83e524437d7 /src/DabMux.cpp
parentedb874717f758475d8fa1b433b71b601d1774e84 (diff)
downloaddabmux-e8d55df0c08992521b303b689338c48ddfa307ce.tar.gz
dabmux-e8d55df0c08992521b303b689338c48ddfa307ce.tar.bz2
dabmux-e8d55df0c08992521b303b689338c48ddfa307ce.zip
Make inputZMQ use the statistics, add munin script
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index bd8e685..b735cf7 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -117,11 +117,14 @@ typedef DWORD32 uint32_t;
#include "utils.h"
#include "ParserCmdline.h"
#include "ParserConfigfile.h"
-
+#include "StatsServer.h"
#include "Log.h"
using namespace std;
+/* Global stats server */
+StatsServer global_stats(12720); //TODO define port
+
static unsigned char Padding_FIB[] = {
0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,