Mercurial > bottledash
annotate dash.conf @ 21:f730dd0bcf85
dynamic checking of the tile-status
author | sean |
---|---|
date | Thu, 13 Aug 2015 12:17:46 +0200 |
parents | 1a13a4ecf931 |
children | 05e5441c5160 |
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 |
be6a1aaec717
added the post listener, write logs if someone sends a post
sean
parents:
14
diff
changeset
|
24 check_interval=5 |
7 | 25 |
26 # Tiles: | |
27 # example: | |
28 # -------------------- | |
29 # [tile1] | |
30 # type=mon | |
31 # source=192.168.0.2 | |
32 # status=up | |
33 # -------------------- | |
34 # options: | |
35 # type (mon / d3js) [required] | |
36 # tells the program what kind of tile you need. | |
37 # a "mon" tile can be used for IT infrastructure monitoring purposes | |
38 # a d3js tile can be used to display a chart | |
39 # default: - | |
40 # | |
41 # source (<IP> or <FQDN>) [required for mon-types] | |
42 # ONLY FOR MON-Type tiles! | |
43 # tells the tile which resource to watch | |
44 # default: none | |
45 # | |
46 # status: (up / down) [required] | |
47 # ONLY FOR DEBUGGING PURPOSE - WILL BE REMOVED LATER | |
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 |
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
|
59 status="dynamic" |
3
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 |
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
|
64 status="dynamic" |
3
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 |
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
|
69 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
|
70 |
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
|
71 #[tile4] |
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
|
72 #type=mon |
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
|
73 #source=192.168.4.56 |
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
|
74 #status="dynamic" |
3
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
75 |
3f5bcad45756
pars a .conf | dynamic adding of divs | dynamiv VP scaling
sean
parents:
0
diff
changeset
|
76 [tile4] |
11 | 77 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
|
78 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
|
79 script=display_issues_techintern |
14 | 80 |
19
be6a1aaec717
added the post listener, write logs if someone sends a post
sean
parents:
14
diff
changeset
|
81 #[tile5] |
be6a1aaec717
added the post listener, write logs if someone sends a post
sean
parents:
14
diff
changeset
|
82 #type=d3js |
be6a1aaec717
added the post listener, write logs if someone sends a post
sean
parents:
14
diff
changeset
|
83 #div_name=webview_test |
be6a1aaec717
added the post listener, write logs if someone sends a post
sean
parents:
14
diff
changeset
|
84 #script=webview_template |