monitor: add status history
[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   monitor-eggs
14   extra-eggs
15   monitor-bin
16   monitor-template
17   rss-bin
18
19 [monitor-eggs]
20 recipe = zc.recipe.egg
21 eggs =
22   collective.recipe.template
23   cns.recipe.symlink
24
25 [extra-eggs]
26 recipe = zc.recipe.egg
27 interpreter = pythonwitheggs
28 eggs =
29   PyRSS2Gen
30   Jinja2
31
32 [make-rss-script]
33 recipe = slapos.recipe.template
34 url = ${:_profile_base_location_}/make-rss.sh.in
35 md5sum = 98c8f6fd81e405b0ad10db07c3776321
36 output = ${buildout:directory}/template-make-rss.sh.in
37 mode = 0644
38
39 [monitor-template]
40 recipe = slapos.recipe.template
41 url = ${:_profile_base_location_}/monitor.cfg.in
42 output = ${buildout:directory}/monitor.cfg
43 filename = monitor.cfg
44 md5sum = 0fe5b78cd16df190ec8838116954669e
45 mode = 0644
46
47 [monitor-bin]
48 recipe = hexagonit.recipe.download
49 url = ${:_profile_base_location_}/${:filename}
50 download-only = true
51 md5sum = cb2f15850d3dc82459a0044adb4416cf
52 destination = ${buildout:directory}/parts/monitor-template-monitor-bin
53 filename = monitor.py.in
54 mode = 0644
55
56 [index]
57 recipe = hexagonit.recipe.download
58 url = ${:_profile_base_location_}/webfile-directory/${:filename}
59 download-only = true
60 md5sum = af1adc107b73290afb98d011f7307de1
61 destination = ${buildout:directory}/parts/monitor-index
62 filename = index.cgi.in
63 mode = 0644
64
65 [index-template]
66 recipe = hexagonit.recipe.download
67 url = ${:_profile_base_location_}/webfile-directory/${:filename}
68 download-only = true
69 destination = ${buildout:directory}/parts/monitor-template-index
70 md5sum = 05051a2ff81ce7dc2eef3106d75b33f9
71 filename = index.html.jinja2
72 mode = 0644
73
74 [status-cgi]
75 recipe = hexagonit.recipe.download
76 url = ${:_profile_base_location_}/webfile-directory/${:filename}
77 download-only = true
78 md5sum = e43d79bec8824265e22df7960744113a
79 destination = ${buildout:directory}/parts/monitor-template-status-cgi
80 filename = status.cgi.in
81 mode = 0644
82
83 [status-history-cgi]
84 recipe = hexagonit.recipe.download
85 url = ${:_profile_base_location_}/webfile-directory/${:filename}
86 download-only = true
87 #md5sum = 4fb26753ee669b8ac90ffe33dbd12e8f
88 destination = ${buildout:directory}/parts/monitor-template-status-history-cgi
89 filename = status-history.cgi.in
90 mode = 0644
91
92 [settings-cgi]
93 recipe = hexagonit.recipe.download
94 url = ${:_profile_base_location_}/webfile-directory/${:filename}
95 download-only = true
96 md5sum = b4cef123a3273e848e8fe496e22b20a8
97 destination = ${buildout:directory}/parts/monitor-template-settings-cgi
98 filename = settings.cgi.in
99 mode = 0644
100
101 [monitor-password-cgi]
102 recipe = hexagonit.recipe.download
103 url = ${:_profile_base_location_}/webfile-directory/${:filename}
104 download-only = true
105 md5sum = c7ba7ecb09d0d1d24e7cb73a212cc33f
106 destination = ${buildout:directory}/parts/monitor-template-monitor-password-cgi
107 filename = monitor-password.cgi.in
108 mode = 0644
109
110 [rss-bin]
111 recipe = hexagonit.recipe.download
112 url = ${:_profile_base_location_}/${:filename}
113 download-only = true
114 md5sum = 5f1b93ccdea7c3031aef396154c64938
115 destination = ${buildout:directory}/parts/monitor-template-rss-bin
116 filename = status2rss.py
117 mode = 0644
118
119 [dcron-service]
120 recipe = slapos.recipe.template
121 url = ${template-dcron-service:output}
122 output = $${directory:services}/crond
123 mode = 0700
124 logfile = $${directory:log}/crond.log
125
126 [download-monitor-static]
127 recipe = hexagonit.recipe.download
128 url = http://git.erp5.org/gitweb/slapos.git/snapshot/930be99041ea26b7b1186830e5eb56ef0acc1bdf.tar.gz
129 download-only = false
130 filename = monitor-static.tar.gz
131 destination = ${buildout:directory}/parts/monitor-static-files
132 ignore-existing = true
133 strip-top-level-dir = true
134 mode = 0644
135
136 [download-monitor-jquery]
137 recipe = hexagonit.recipe.download
138 url = http://code.jquery.com/jquery-1.10.2.min.js
139 download-only = true
140 destination = ${download-monitor-static:destination}
141 filename = jquery-1.10.2.min.js
142 mode = 0644