annotate dash.conf @ 19:be6a1aaec717

added the post listener, write logs if someone sends a post
author sean
date Tue, 11 Aug 2015 14:18:09 +0200
parents 3a9cb396905f
children 1a13a4ecf931
rev   line source
3
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
1 ### bottledash default configuration
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
2 ### created by sean engelhardt >sean.engelhardt@intevation.de
4
3e66e2f92770 added LICENSE and license headers in the sourcecode. Added readme
sean
parents: 3
diff changeset
3 ### license: GNU GPL >= v2. See LICENSE for details
3
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
4 ###
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
5 ### Usage:
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
6 ### define the tiles for the dashboard in sections
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
7
7
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
8 # Settings:
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
9 # example:
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
10 # --------------------
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
11 # [settings]
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
12 # show_top_bar=True
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
13 # --------------------
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
14 # options:
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
15 # show_top_bar (True / False) [optional]
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
16 # If True, the dashboard will show the current date and the time on the top
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
17 # if False, the dashboard will not show a top-bar
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
18 # default: True
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
19 # hint: the top-bar has got a height of 5%!
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
20
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
21 [settings]
14
3a9cb396905f made a template how to use the web_view module
sean
parents: 13
diff changeset
22 show_top_bar=False
19
be6a1aaec717 added the post listener, write logs if someone sends a post
sean
parents: 14
diff changeset
23 rows=2
be6a1aaec717 added the post listener, write logs if someone sends a post
sean
parents: 14
diff changeset
24 check_interval=5
7
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
25
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
26 # Tiles:
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
27 # example:
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
28 # --------------------
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
29 # [tile1]
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
30 # type=mon
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
31 # source=192.168.0.2
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
32 # status=up
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
33 # --------------------
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
34 # options:
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
35 # type (mon / d3js) [required]
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
36 # tells the program what kind of tile you need.
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
37 # a "mon" tile can be used for IT infrastructure monitoring purposes
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
38 # a d3js tile can be used to display a chart
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
39 # default: -
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
40 #
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
41 # source (<IP> or <FQDN>) [required for mon-types]
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
42 # ONLY FOR MON-Type tiles!
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
43 # tells the tile which resource to watch
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
44 # default: none
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
45 #
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
46 # status: (up / down) [required]
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
47 # ONLY FOR DEBUGGING PURPOSE - WILL BE REMOVED LATER
c8cb2aa0b72c fixed default condifuration
sean
parents: 5
diff changeset
48 # simulates up and down events for mon-type-tiles
13
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
49 #
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
50 # div_name: (identifier) [required for d3js-types]
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
51 #
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
52 # script: (name of a script without extension) [required for d3js-types0]
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
53 #
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
54
3
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
55
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
56 [tile1]
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
57 type=mon
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
58 source=192.168.0.2
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
59 status=down
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
60
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
61 [tile2]
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
62 type=mon
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
63 source=192.168.2.3
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
64 status=up
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
65
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
66 [tile3]
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
67 type=mon
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
68 source=192.168.4.3
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
69 status=up
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
70
3f5bcad45756 pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents: 0
diff changeset
71 [tile4]
11
7a573ec679a6 added more files, can now display charts a bit
sean
parents: 7
diff changeset
72 type=d3js
13
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
73 div_name=techintern
63b9f41c3008 made the charts a bit more modular - can now define the div_name and the script name in the .conf data
sean
parents: 12
diff changeset
74 script=display_issues_techintern
14
3a9cb396905f made a template how to use the web_view module
sean
parents: 13
diff changeset
75
19
be6a1aaec717 added the post listener, write logs if someone sends a post
sean
parents: 14
diff changeset
76 #[tile5]
be6a1aaec717 added the post listener, write logs if someone sends a post
sean
parents: 14
diff changeset
77 #type=d3js
be6a1aaec717 added the post listener, write logs if someone sends a post
sean
parents: 14
diff changeset
78 #div_name=webview_test
be6a1aaec717 added the post listener, write logs if someone sends a post
sean
parents: 14
diff changeset
79 #script=webview_template
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)