diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-09 16:07:01 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-09 16:07:01 +0200 |
commit | 0e5797c291d29587d5ea5beebe6430cb041903bd (patch) | |
tree | 1e7d6a833d983f27de0b0f0b426ca070825ed301 /src/DabMux.cpp | |
parent | ebc799479b15f420702bdfc43f1e6f71160c5977 (diff) | |
download | dabmux-0e5797c291d29587d5ea5beebe6430cb041903bd.tar.gz dabmux-0e5797c291d29587d5ea5beebe6430cb041903bd.tar.bz2 dabmux-0e5797c291d29587d5ea5beebe6430cb041903bd.zip |
Add input state monitoring, change munin graphs
StatsServer now determines the input states.
Also, the underruns and overruns are counters in munin now, they
are not reset anymore.
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r-- | src/DabMux.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index c090738..e698e89 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -1896,6 +1896,13 @@ int main(int argc, char *argv[]) etiLog.level(warn) << "Detected Remote Control fault, restarting it"; rc->restart(); } + + /* Same for statistics server */ + if (global_stats && fc->FCT == 249 && global_stats->fault_detected()) { + etiLog.level(warn) << + "Detected Statistics Server fault, restarting it"; + global_stats->restart(); + } } EXIT: |