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