monitor: status monitor output improved
[slapos.git] / stack / monitor / buildout.cfg
1 [buildout]
2
3 extends =
4   ../../component/apache/buildout.cfg
5   ../../component/curl/buildout.cfg
6   ../../component/dash/buildout.cfg
7   ../../component/dcron/buildout.cfg
8   ../../component/openssl/buildout.cfg
9
10 parts =
11   slapos-cookbook
12   dcron
13   download-static-files
14   monitor-eggs
15   extra-eggs
16   monitor-bin
17   monitor-template
18   rss-bin
19
20 [monitor-eggs]
21 recipe = zc.recipe.egg
22 eggs =
23   collective.recipe.template
24   cns.recipe.symlink
25
26 [extra-eggs]
27 recipe = zc.recipe.egg
28 interpreter = pythonwitheggs
29 eggs =
30   PyRSS2Gen
31   Jinja2
32
33 [make-rss-script]
34 recipe = slapos.recipe.template
35 url = ${:_profile_base_location_}/make-rss.sh.in
36 md5sum = 98c8f6fd81e405b0ad10db07c3776321
37 output = ${buildout:directory}/template-make-rss.sh.in
38 mode = 0644
39
40 [monitor-template]
41 recipe = slapos.recipe.template
42 url = ${:_profile_base_location_}/monitor.cfg.in
43 output = ${buildout:directory}/monitor.cfg
44 filename = monitor.cfg
45 md5sum = bd592a0f0c41ec15c643c4e91e9ec5cc
46 mode = 0644
47
48 [monitor-bin]
49 recipe = hexagonit.recipe.download
50 url = ${:_profile_base_location_}/${:filename}
51 download-only = true
52 md5sum = cb2f15850d3dc82459a0044adb4416cf
53 destination = ${buildout:directory}/parts/monitor-template-monitor-bin
54 filename = monitor.py.in
55 mode = 0644
56
57 [index]
58 recipe = hexagonit.recipe.download
59 url = ${:_profile_base_location_}/webfiles/${:filename}
60 download-only = true
61 md5sum = 91ac749f86aecc0c383d93e51e15a572
62 destination = ${buildout:directory}/parts/monitor-index
63 filename = index.cgi.in
64 mode = 0644
65
66 [index-template]
67 recipe = hexagonit.recipe.download
68 url = ${:_profile_base_location_}/webfiles/${:filename}
69 download-only = true
70 destination = ${buildout:directory}/parts/monitor-template-index
71 md5sum = e0d2aaeffc046b2ac6d9d717e1ba321d
72 filename = index.html.jinja2
73 mode = 0644
74
75 [status-cgi]
76 recipe = hexagonit.recipe.download
77 url = ${:_profile_base_location_}/webfiles/${:filename}
78 download-only = true
79 md5sum = f3eac23f78ec0d7e132db921def44a98
80 destination = ${buildout:directory}/parts/monitor-template-status-cgi
81 filename = status.cgi.in
82 mode = 0644
83
84 [settings-cgi]
85 recipe = hexagonit.recipe.download
86 url = ${:_profile_base_location_}/webfiles/${:filename}
87 download-only = true
88 md5sum = 18574b804da0c65d8670959f9e7c4774
89 destination = ${buildout:directory}/parts/monitor-template-settings-cgi
90 filename = settings.cgi.in
91 mode = 0644
92
93 [monitor-password-cgi]
94 recipe = hexagonit.recipe.download
95 url = ${:_profile_base_location_}/webfiles/${:filename}
96 download-only = true
97 #md5sum = 18574b804da0c65d8670959f9e7c4774
98 destination = ${buildout:directory}/parts/monitor-template-monitor-password-cgi
99 filename = monitor-password.cgi.in
100 mode = 0644
101
102 [rss-bin]
103 recipe = hexagonit.recipe.download
104 url = ${:_profile_base_location_}/${:filename}
105 download-only = true
106 md5sum = 5f1b93ccdea7c3031aef396154c64938
107 destination = ${buildout:directory}/parts/monitor-template-rss-bin
108 filename = status2rss.py
109 mode = 0644
110
111 [dcron-service]
112 recipe = slapos.recipe.template
113 url = ${template-dcron-service:output}
114 output = $${directory:services}/crond
115 mode = 0700
116 logfile = $${directory:log}/crond.log
117
118 [download-static-files]
119 recipe = hexagonit.recipe.download
120 url = https://github.com/SlapOS/staticForMonitoring/blob/db670e7568871c69a64916d462ccb57629f1c77d/static-files.tar.gz?raw=true
121 download-only = true
122 md5sum = 9e3feb2b520620d5b8d478eb9a9be6de
123 filename = static-files.tar.gz
124 destination = ${buildout:directory}/parts/monitor-static-files
125 mode = 0644