Mercurial > bottledash
annotate dash.conf @ 26:d7856a645ea8
new db for techintern for testing purposes
author | sean |
---|---|
date | Fri, 14 Aug 2015 11:32:41 +0200 |
parents | 05e5441c5160 |
children |
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 | 8 # Settings: |
9 # example: | |
10 # -------------------- | |
11 # [settings] | |
12 # show_top_bar=True | |
13 # -------------------- | |
14 # options: | |
15 # show_top_bar (True / False) [optional] | |
16 # If True, the dashboard will show the current date and the time on the top | |
17 # if False, the dashboard will not show a top-bar | |
18 # default: True | |
19 # hint: the top-bar has got a height of 5%! | |
20 | |
21 [settings] | |
14 | 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 |
7 | 24 |
25 # Tiles: | |
26 # example: | |
27 # -------------------- | |
28 # [tile1] | |
29 # type=mon | |
30 # source=192.168.0.2 | |
31 # status=up | |
32 # -------------------- | |
33 # options: | |
34 # type (mon / d3js) [required] | |
35 # tells the program what kind of tile you need. | |
36 # a "mon" tile can be used for IT infrastructure monitoring purposes | |
37 # a d3js tile can be used to display a chart | |
38 # default: - | |
39 # | |
40 # source (<IP> or <FQDN>) [required for mon-types] | |
41 # ONLY FOR MON-Type tiles! | |
42 # tells the tile which resource to watch | |
43 # default: none | |
44 # | |
45 # status: (up / down) [required] | |
46 # ONLY FOR DEBUGGING PURPOSE - WILL BE REMOVED LATER | |
47 # 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
|
48 # |
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 # 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
|
50 # |
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 # 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
|
52 # |
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 |
3
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
54 |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
55 [tile1] |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
56 type=mon |
25 | 57 source=red2.rgb.intevation.de |
20
1a13a4ecf931
can not recive post-requests wich should deliver if a server is up or down. Updated after a refresh of the webpage, wich will automatically done after 5 seconds
sean
parents:
19
diff
changeset
|
58 status="dynamic" |
3
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
59 |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
60 [tile2] |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
61 type=mon |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
62 source=192.168.2.3 |
20
1a13a4ecf931
can not recive post-requests wich should deliver if a server is up or down. Updated after a refresh of the webpage, wich will automatically done after 5 seconds
sean
parents:
19
diff
changeset
|
63 status="dynamic" |
3
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
64 |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
65 [tile3] |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
66 type=mon |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
67 source=192.168.4.3 |
20
1a13a4ecf931
can not recive post-requests wich should deliver if a server is up or down. Updated after a refresh of the webpage, wich will automatically done after 5 seconds
sean
parents:
19
diff
changeset
|
68 status="dynamic" |
1a13a4ecf931
can not recive post-requests wich should deliver if a server is up or down. Updated after a refresh of the webpage, wich will automatically done after 5 seconds
sean
parents:
19
diff
changeset
|
69 |
3
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
70 [tile4] |
25 | 71 type=web_view |
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
|
72 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
|
73 script=display_issues_techintern |