From 6525e843832e058cb3097fc4fbe0166071bb4136 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 11 May 2014 18:16:19 +0200 Subject: First version of monit tool --- templates/index.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 templates/index.html (limited to 'templates') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..78a4696 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,33 @@ + + + + ODR-DabMux Monitoring + + + +

Statistics for ODR-DabMux running on '{{ name }}'

+ + + {% for inp in inputs %} + + {% endfor %} +
Input NameState
{{ inp.name }}: + {% if inp.state == "NoData" %} + No Date + No Data + {% elif inp.state == "Unstable" %} + Unstable + Unstable + {% elif inp.state == "Silent" %} + Unstable + No audio + {% elif inp.state == "Streaming" %} + Unstable + {% else %} + Unknown state {{ inp.state }} ! + {% endif %} +
+

generated on {{ date }}

+ + + -- cgit v1.2.3