]>
Commit | Line | Data |
---|---|---|
c43211a5 PG |
1 | # TODO: |
2 | # - package contrib scripts as %doc | |
3 | # - perl modules with Collectd classes package to separate package | |
a9b34e68 PG |
4 | # - Bundled libraries - check if its not changed ones and if it can be |
5 | # mainstream library: | |
6 | # liboconfig . . . . . yes (shipped version) | |
7 | # - Libraries not found by configure: | |
7a3b7a2c AF |
8 | # libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/) |
9 | # libganglia . . . . . no (gm_protocol.h not found) (http://ganglia.info/) | |
10 | # libiokit . . . . . . no (Darwin only) | |
a9b34e68 PG |
11 | # libjvm . . . . . . . no (javac not found) |
12 | # libkstat . . . . . . no (Solaris only) | |
7a3b7a2c | 13 | # libkvm . . . . . . . no (BSD only) |
7a3b7a2c AF |
14 | # libnetapp . . . . . . no (netapp_api.h not found) (properitary) |
15 | # libperfstat . . . . . no (AIX only) | |
16 | # librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/) | |
17 | # librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/) | |
18 | # libtokyotyrant . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/) | |
a9b34e68 | 19 | # libyajl . . . . . . . no (yajl/yajl_parse.h not found) |
e19086ca | 20 | # protobuf-c . . . . . no |
a9b34e68 | 21 | # oracle . . . . . . . no (ORACLE_HOME is not set) |
d8a93b37 | 22 | # - Disabled modules (build most of them an package): |
7a3b7a2c AF |
23 | # amqp . . . . . . . no |
24 | # apple_sensors . . . . no (Darwin only) | |
a9b34e68 | 25 | # gmond . . . . . . . . no |
7a3b7a2c | 26 | # ipvs . . . . . . . . no (ip_vs.h not found - llh to be fixed) |
a9b34e68 | 27 | # java . . . . . . . . no |
7a3b7a2c | 28 | # lpar... . . . . . . . no |
7a3b7a2c | 29 | # multimeter . . . . . no ? |
a9b34e68 | 30 | # netapp . . . . . . . no |
7a3b7a2c | 31 | # onewire . . . . . . . no (needs libowfs) |
a9b34e68 | 32 | # oracle . . . . . . . no |
7a3b7a2c AF |
33 | # pinba . . . . . . . . no |
34 | # redis . . . . . . . . no | |
a9b34e68 | 35 | # routeros . . . . . . no |
7a3b7a2c | 36 | # tape . . . . . . . . no ? |
a9b34e68 | 37 | # tokyotyrant . . . . . no |
7a3b7a2c | 38 | # write_redis . . . . . no |
a9b34e68 | 39 | # zfs_arc . . . . . . . no |
c43211a5 PG |
40 | # - logrotate file for logfile plugin |
41 | # - %desc -l pl for plugins | |
42 | # - package SpamAssassin plugin from contrib | |
43 | ||
34fc103e | 44 | # Conditional build: |
1018cae1 | 45 | %bcond_without curl # apache, ascent, bind, curl and nginx plugins |
7e70ab62 TP |
46 | %bcond_without dns # DNS plugin |
47 | %bcond_without ipmi # IPMI plugin | |
34fc103e | 48 | %bcond_without iptables # iptables plugin |
1018cae1 | 49 | %bcond_without libesmtp # notify_email plugin |
7a3b7a2c | 50 | %bcond_without libvirt # libvirt plugin |
b46e10b6 | 51 | %bcond_without modbus # modbus plugin |
34fc103e | 52 | %bcond_with multimeter # multimeter plugin |
1018cae1 | 53 | %bcond_without mysql # MySQL plugin |
34fc103e | 54 | %bcond_without netlink # netlink plugin |
1018cae1 TP |
55 | %bcond_without notify # notify_desktop plugin |
56 | %bcond_without ping # ping plugin | |
b5cac6d2 | 57 | %bcond_without pgsql # PostgreSQL plugin |
1018cae1 TP |
58 | %bcond_without rrd # rrdtool and rrdcached plugins |
59 | %bcond_without sensors # sensors plugin | |
60 | %bcond_without snmp # SNMP plugin | |
61 | %bcond_without ups # nut plugin | |
854e23ef | 62 | %bcond_without varnish # varnish plugin |
1018cae1 TP |
63 | %bcond_without xml # ascent, bind and libvirt plugins |
64 | %bcond_without xmms # XMMS plugin | |
daff3c99 | 65 | |
7df111b4 | 66 | Summary: Collects system information in RRD files |
322f1351 | 67 | Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD |
373d486f | 68 | Name: collectd |
cc6085e4 | 69 | Version: 5.1.0 |
3c87a0fd | 70 | Release: 7 |
373d486f | 71 | License: GPL v2 |
81857fc6 | 72 | Group: Daemons |
d94da88b | 73 | Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2 |
cc6085e4 | 74 | # Source0-md5: 141570150b4608c0c567330f6f146e0f |
f6984413 | 75 | Source1: %{name}.conf |
ec8f9a12 | 76 | Source2: %{name}.init |
96376a8d | 77 | Source3: %{name}-http.conf |
cdf53ab5 | 78 | Source4: %{name}-lighttpd.conf |
197c4197 | 79 | Source5: %{name}-apache.conf |
4929f1a7 PG |
80 | Source10: %{name}-df.conf |
81 | Source11: %{name}-rrdtool.conf | |
cdf53ab5 | 82 | Patch0: %{name}-collection.patch |
1bb84330 | 83 | Patch1: compile.patch |
1bc16d55 PG |
84 | Patch2: noquote.patch |
85 | Patch3: libiptc.patch | |
86 | Patch4: pld.patch | |
bc42c002 | 87 | Patch5: %{name}-netlink.patch |
b46e10b6 | 88 | Patch6: %{name}-modbus.patch |
f6984413 | 89 | URL: http://collectd.org/ |
aedbf1de | 90 | %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3} |
373d486f AF |
91 | BuildRequires: autoconf |
92 | BuildRequires: automake | |
1018cae1 | 93 | %{?with_curl:BuildRequires: curl-devel} |
13d220ef | 94 | %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4} |
1f546c2e | 95 | BuildRequires: libdbi-devel |
1018cae1 | 96 | %{?with_libesmtp:BuildRequires: libesmtp-devel} |
1f546c2e | 97 | BuildRequires: libltdl-devel |
b5cac6d2 | 98 | BuildRequires: libmemcached-devel |
e19086ca | 99 | %{?with_modbus:BuildRequires: libmodbus-devel} |
a0af9dfc | 100 | %{?with_netlink:BuildRequires: libnetlink-devel >= 3.0.0} |
2a0d0cb2 | 101 | %{?with_libvirt:BuildRequires: libnl1-devel} |
d8b90517 | 102 | %{?with_notify:BuildRequires: libnotify-devel} |
1018cae1 | 103 | %{?with_ping:BuildRequires: liboping-devel} |
7e70ab62 | 104 | %{?with_dns:BuildRequires: libpcap-devel} |
8bf13ddb | 105 | BuildRequires: libstatgrab-devel >= 0.12 |
daff3c99 | 106 | BuildRequires: libstdc++-devel |
373d486f | 107 | BuildRequires: libtool |
e19086ca | 108 | %{?with_libvirt:BuildRequires: libvirt-devel} |
1018cae1 TP |
109 | %{?with_xml:BuildRequires: libxml2-devel} |
110 | %{?with_sensors:BuildRequires: lm_sensors-devel} | |
111 | %{?with_mysql:BuildRequires: mysql-devel} | |
b5cac6d2 | 112 | BuildRequires: ncurses-devel |
daff3c99 | 113 | %{?with_snmp:BuildRequires: net-snmp-devel} |
1102acf3 | 114 | %{?with_libvirt:BuildRequires: numactl-devel} |
1018cae1 | 115 | %{?with_ups:BuildRequires: nut-devel} |
18e77dbc | 116 | BuildRequires: perl-devel |
b5cac6d2 | 117 | BuildRequires: pkgconfig |
118 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
119 | BuildRequires: python-devel | |
120 | BuildRequires: python-modules | |
c7024cdb | 121 | BuildRequires: rpmbuild(macros) >= 1.268 |
1018cae1 | 122 | %{?with_rrd:BuildRequires: rrdtool-devel} |
854e23ef | 123 | %{?with_varnish:BuildRequires: varnish-devel} |
b5cac6d2 | 124 | BuildRequires: which |
125 | #BuildRequires: xfsprogs-devel | |
1018cae1 | 126 | %{?with_xmms:BuildRequires: xmms-devel} |
7a3b7a2c | 127 | BuildRequires: yajl-devel |
7df111b4 | 128 | Requires(post,preun): /sbin/chkconfig |
cad751d7 | 129 | Requires: %{name}-libs = %{version}-%{release} |
c7024cdb | 130 | Requires: rc-scripts |
373d486f AF |
131 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
132 | ||
30751942 TP |
133 | %define _pkglibdir %{_sharedstatedir}/%{name} |
134 | %define _webapps /etc/webapps | |
135 | %define _webapp %{name} | |
136 | %define _webappdir %{_webapps}/%{_webapp} | |
137 | %define _appdir %{_datadir}/%{_webapp} | |
9259a6ab | 138 | |
373d486f | 139 | %description |
7df111b4 JB |
140 | collectd is a small daemon which collects system information every 10 |
141 | seconds and writes the results in an RRD-file. | |
142 | ||
143 | In contrast to most similar software, collectd is not a script but | |
144 | written in plain C for performance and portability. As a daemon it | |
145 | stays in memory, so there is no need to start up a heavy interpreter | |
146 | every time new values should be logged. This allows collectd to have a | |
147 | 10 second resolution while being nice to the system. | |
148 | ||
19cbcad3 | 149 | %description -l pl.UTF-8 |
e19086ca ER |
150 | collectd to mały demon zbierający co 10 sekund informacje o systemie i |
151 | zapisujący wyniki do pliku RRD. | |
373d486f | 152 | |
19cbcad3 | 153 | W odróżnieniu od innych podobnych programów collectd nie jest |
e19086ca ER |
154 | skryptem, lecz jest napisany w czystym C z myślą o wydajności i |
155 | przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby | |
854e23ef AF |
156 | urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być |
157 | zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10 | |
158 | sekund i nie obciążać zbytnio systemu. | |
373d486f | 159 | |
b8e7f76a | 160 | %package libs |
7e70ab62 TP |
161 | Summary: %{name} libraries |
162 | Summary(pl.UTF-8): Biblioteki %{name} | |
163 | Group: Libraries | |
b8e7f76a PG |
164 | |
165 | %description libs | |
166 | %{name} libraries. | |
167 | ||
168 | %description libs -l pl.UTF-8 | |
169 | Biblioteki %{name}. | |
170 | ||
171 | %package devel | |
7e70ab62 TP |
172 | Summary: Header files for %{name} libraries |
173 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name} | |
174 | Group: Development/Libraries | |
175 | Requires: %{name}-libs = %{version}-%{release} | |
b8e7f76a PG |
176 | |
177 | %description devel | |
178 | Header files for %{name} libraries. | |
179 | ||
180 | %description devel -l pl.UTF-8 | |
181 | Pliki nagłówkowe bibliotek %{name}. | |
182 | ||
80d5b170 | 183 | %package static |
184 | Summary: Static files for %{name} libraries | |
185 | Summary(pl.UTF-8): Pliki statyczne bibliotek %{name} | |
186 | Group: Development/Libraries | |
187 | Requires: %{name}-libs = %{version}-%{release} | |
188 | ||
189 | %description static | |
190 | Static files for %{name} libraries. | |
191 | ||
daff3c99 | 192 | %description static -l pl.UTF-8 |
80d5b170 | 193 | Pliki statyczne bibliotek %{name}. |
194 | ||
18e77dbc | 195 | %package apache |
273ffc81 | 196 | Summary: apache-plugin for collectd |
e3cf1862 | 197 | Summary(pl.UTF-8): Wtyczka apache dla collectd |
18e77dbc | 198 | Group: Daemons |
273ffc81 | 199 | Requires: %{name} = %{version}-%{release} |
18e77dbc | 200 | |
201 | %description apache | |
daff3c99 | 202 | This plugin collect data provided by Apache's `mod_status'. |
18e77dbc | 203 | |
204 | %description apache -l pl.UTF-8 | |
273ffc81 JB |
205 | Wtyczka collectd zbierająca informacje udostępniane przez moduł |
206 | 'mod_status' Apacha. | |
18e77dbc | 207 | |
5e965dc7 PG |
208 | %package apcups |
209 | Summary: APC UPS plugin for collectd | |
e3cf1862 | 210 | Summary(pl.UTF-8): Wtyczka APC UPS dla collectd |
5e965dc7 PG |
211 | Group: Daemons |
212 | Requires: %{name} = %{version}-%{release} | |
213 | ||
214 | %description apcups | |
a9b34e68 | 215 | The APC UPS plugin connects to an instance of Apcupsd to read various |
854e23ef AF |
216 | statistics about a connected uninterruptible power supply (UPS), such |
217 | as voltage, load, etc. | |
5e965dc7 PG |
218 | |
219 | %package ascent | |
220 | Summary: ascent-plugin for collectd | |
e3cf1862 | 221 | Summary(pl.UTF-8): Wtyczka ascent dla collectd |
5e965dc7 PG |
222 | Group: Daemons |
223 | Requires: %{name} = %{version}-%{release} | |
224 | ||
225 | %description ascent | |
854e23ef AF |
226 | The Ascent plugin reads and parses the statistics page of Ascent, a |
227 | free and open-source server software for the game World of Warcraft by | |
228 | Blizzard Entertainment. | |
5e965dc7 PG |
229 | |
230 | %package battery | |
231 | Summary: battery plugin for collectd | |
e3cf1862 | 232 | Summary(pl.UTF-8): Wtyczka battery dla collectd |
5e965dc7 PG |
233 | Group: Daemons |
234 | Requires: %{name} = %{version}-%{release} | |
235 | ||
236 | %description battery | |
237 | This plugin collects the battery's charge, the drawn current and the | |
238 | battery's voltage. | |
239 | ||
b8e7f76a PG |
240 | %package bind |
241 | Summary: bind plugin for collectd | |
e3cf1862 | 242 | Summary(pl.UTF-8): Wtyczka bind dla collectd |
b8e7f76a PG |
243 | Group: Daemons |
244 | Requires: %{name} = %{version}-%{release} | |
245 | ||
246 | %description bind | |
daff3c99 ER |
247 | Starting with BIND 9.5.0, the most widely used DNS server software |
248 | provides extensive statistics about queries, responses and lots of | |
249 | other information. The bind plugin retrieves this information that's | |
250 | encoded in XML and provided via HTTP and submits the values to | |
251 | collectd. | |
b8e7f76a | 252 | |
133ab397 | 253 | %package collection |
30751942 | 254 | Summary: Web script for collectd |
e3cf1862 | 255 | Summary(pl.UTF-8): Web script for collectd |
5fafedfc | 256 | Group: Applications/WWW |
257 | Requires: %{name} = %{version}-%{release} | |
cdf53ab5 PG |
258 | Requires: perl(CGI) |
259 | Requires: perl(Data::Dumper) | |
260 | Requires: perl(HTML::Entities) | |
261 | Requires: perl(RRDs) | |
262 | Requires: perl(URI::Escape) | |
263 | Requires: webserver(cgi) | |
16598688 | 264 | Suggests: fonts-TTF-DejaVu |
197c4197 | 265 | Conflicts: apache-base < 2.4.0-1 |
5fafedfc | 266 | |
133ab397 | 267 | %description collection |
30751942 | 268 | Web script for collectd. |
5fafedfc | 269 | |
f26b05df | 270 | %package collection3 |
271 | Summary: Web script for collectd | |
e3cf1862 | 272 | Summary(pl.UTF-8): Web script for collectd |
f26b05df | 273 | Group: Applications/WWW |
274 | Requires: %{name} = %{version}-%{release} | |
275 | Requires: perl(Config::General) | |
276 | Requires: perl(HTML::Entities) | |
277 | Requires: perl(RRDs) | |
e19086ca ER |
278 | Requires: perl(Regexp::Common) |
279 | Requires: perl-Collectd = %{version}-%{release} | |
f26b05df | 280 | Requires: webserver(cgi) |
281 | Suggests: fonts-TTF-DejaVu | |
197c4197 | 282 | Conflicts: apache-base < 2.4.0-1 |
f26b05df | 283 | |
284 | %description collection3 | |
285 | Web script for collectd. | |
286 | ||
a9b34e68 PG |
287 | %package contextswitch |
288 | Summary: contextswitch-plugin for collectd | |
e3cf1862 | 289 | Summary(pl.UTF-8): Wtyczka contextswitch dla collectd |
a9b34e68 PG |
290 | Group: Daemons |
291 | Requires: %{name} = %{version}-%{release} | |
292 | ||
293 | %description contextswitch | |
854e23ef AF |
294 | The ContextSwitch plugin collects the number of context switches done |
295 | by the operating system. | |
a9b34e68 | 296 | |
d94da88b | 297 | %package conntrack |
298 | Summary: conntrack-plugin for collectd | |
e3cf1862 | 299 | Summary(pl.UTF-8): Wtyczka conntrack dla collectd |
d94da88b | 300 | Group: Daemons |
301 | Requires: %{name} = %{version}-%{release} | |
302 | ||
303 | %description conntrack | |
304 | The conntrack-plugin collects the connection tracking table size. | |
305 | ||
5e965dc7 PG |
306 | %package cpu |
307 | Summary: cpu-plugin for collectd | |
e3cf1862 | 308 | Summary(pl.UTF-8): Wtyczka cpu dla collectd |
5e965dc7 PG |
309 | Group: Daemons |
310 | Requires: %{name} = %{version}-%{release} | |
311 | ||
312 | %description cpu | |
daff3c99 ER |
313 | The cpu-plugin collects the amount of time spent by the CPU in various |
314 | states, most notably executing user code, executing system code, | |
315 | waiting for IO operations and being idle. | |
5e965dc7 PG |
316 | |
317 | %package cpufreq | |
318 | Summary: cpufreq-plugin for collectd | |
e3cf1862 | 319 | Summary(pl.UTF-8): Wtyczka cpufreq dla collectd |
5e965dc7 PG |
320 | Group: Daemons |
321 | Requires: %{name} = %{version}-%{release} | |
322 | ||
323 | %description cpufreq | |
324 | Collects the current CPU's frequency, mostly for mobile computers. | |
325 | ||
326 | %package csv | |
327 | Summary: CSV output plugin for collectd | |
e3cf1862 | 328 | Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd |
5e965dc7 PG |
329 | Group: Daemons |
330 | Requires: %{name} = %{version}-%{release} | |
331 | ||
332 | %description csv | |
333 | CSV output plugin for collectd. | |
334 | ||
b8e7f76a PG |
335 | %package curl |
336 | Summary: cURL output plugin for collectd | |
e3cf1862 | 337 | Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd |
b8e7f76a PG |
338 | Group: Daemons |
339 | Requires: %{name} = %{version}-%{release} | |
340 | ||
341 | %description curl | |
342 | The curl plugin uses the libcurl to read web pages and the match | |
343 | infrastructure (the same code used by the tail plugin) to use regular | |
344 | expressions with the received data. | |
345 | ||
854e23ef AF |
346 | %package curl_json |
347 | Summary: cURL JSON plugin for collectd | |
348 | Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd | |
349 | Group: Daemons | |
350 | Requires: %{name} = %{version}-%{release} | |
351 | ||
352 | %description curl_json | |
353 | The cURL-JSON plugin queries JavaScript Object Notation (JSON) data | |
354 | using the cURL library and parses it according to the user's | |
355 | configuration using Yet Another JSON Library (YAJL). This can be used | |
356 | to query statistics information from a CouchDB instance, for example. | |
357 | ||
b8e7f76a PG |
358 | %package dbi |
359 | Summary: dbi plugin for collectd | |
e3cf1862 | 360 | Summary(pl.UTF-8): Wtyczka dbi dla collectd |
b8e7f76a PG |
361 | Group: Daemons |
362 | Requires: %{name} = %{version}-%{release} | |
363 | ||
364 | %description dbi | |
daff3c99 ER |
365 | This plugin uses the dbi library to connect to various databases, |
366 | execute SQL statements and read back the results. dbi is an acronym | |
367 | for "database interface" in case you were wondering about the name. | |
368 | You can configure how each column is to be interpreted and the plugin | |
369 | will generate one or more data sets from each row returned according | |
370 | to these rules. | |
b8e7f76a | 371 | |
5e965dc7 PG |
372 | %package df |
373 | Summary: df-plugin for collectd | |
e3cf1862 | 374 | Summary(pl.UTF-8): Wtyczka df dla collectd |
5e965dc7 PG |
375 | Group: Daemons |
376 | Requires: %{name} = %{version}-%{release} | |
377 | ||
378 | %description df | |
daff3c99 ER |
379 | The df-plugin collects file system usage information, i. e. basically |
380 | how much space on a mounted partition is used and how much is | |
381 | available. It's named after and very similar to the df(1) UNIX command | |
382 | that's been around forever. | |
5e965dc7 PG |
383 | |
384 | %package disk | |
385 | Summary: disk-plugin for collectd | |
e3cf1862 | 386 | Summary(pl.UTF-8): Wtyczka disk dla collectd |
5e965dc7 PG |
387 | Group: Daemons |
388 | Requires: %{name} = %{version}-%{release} | |
389 | ||
390 | %description disk | |
391 | This plugin collects performance statistics of harddisks and, where | |
392 | supported, partitions. | |
393 | ||
8bf13ddb PG |
394 | %package dns |
395 | Summary: dns-plugin for collectd | |
e3cf1862 | 396 | Summary(pl.UTF-8): Wtyczka dns dla collectd |
8bf13ddb PG |
397 | Group: Daemons |
398 | Requires: %{name} = %{version}-%{release} | |
3a1b5393 | 399 | Requires: perl-rrdtool |
ef79d9ea | 400 | |
8bf13ddb | 401 | %description dns |
daff3c99 ER |
402 | This plugin has a similar functionality to dnstop: It uses libpcap to |
403 | get a copy of all traffic from/to port UDP/53 (that's the DNS port), | |
404 | interprets the packets and collects statistics of your DNS traffic. | |
5e965dc7 PG |
405 | |
406 | %package email | |
407 | Summary: email-plugin for collectd | |
e3cf1862 | 408 | Summary(pl.UTF-8): Wtyczka email dla collectd |
5e965dc7 PG |
409 | Group: Daemons |
410 | Requires: %{name} = %{version}-%{release} | |
411 | ||
412 | %description email | |
413 | The email plugin opens an UNIX-socket over which one can submit email | |
daff3c99 ER |
414 | statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. |
415 | mails received/handled, spam scores and matched spam checks. | |
5e965dc7 PG |
416 | |
417 | This plugin is intended to be used with the the | |
daff3c99 ER |
418 | Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which |
419 | is included in contrib/, but is of course not limited to that use. | |
5e965dc7 PG |
420 | |
421 | %package entropy | |
422 | Summary: entropy-plugin for collectd | |
e3cf1862 | 423 | Summary(pl.UTF-8): Wtyczka entropy dla collectd |
5e965dc7 PG |
424 | Group: Daemons |
425 | Requires: %{name} = %{version}-%{release} | |
426 | ||
427 | %description entropy | |
854e23ef AF |
428 | The Entropy plugin collects the available entropy on a system. Entropy |
429 | is important to generate random numbers, which are used for | |
430 | encryption, authorization and similar tasks. | |
5e965dc7 | 431 | |
cc6085e4 | 432 | %package ethstat |
433 | Summary: ethstat-plugin for collectd | |
434 | Summary(pl.UTF-8): Wyczka ethstat dla collectd | |
435 | Group: Daemons | |
436 | Requires: %{name} = %{version}-%{release} | |
437 | ||
438 | %description ethstat | |
439 | The ethstat plugin reads performance statistics directly from ethernet | |
440 | cards | |
441 | ||
5e965dc7 PG |
442 | %package exec |
443 | Summary: exec-plugin for collectd | |
e3cf1862 | 444 | Summary(pl.UTF-8): Wtyczka exec dla collectd |
5e965dc7 PG |
445 | Group: Daemons |
446 | Requires: %{name} = %{version}-%{release} | |
447 | ||
448 | %description exec | |
449 | The exec plugin forks of an executable either to receive values or to | |
450 | dispatch notifications to the outside world. | |
451 | ||
452 | %package filecount | |
453 | Summary: filecount-plugin for collectd | |
e3cf1862 | 454 | Summary(pl.UTF-8): Wtyczka filecount dla collectd |
5e965dc7 PG |
455 | Group: Daemons |
456 | Requires: %{name} = %{version}-%{release} | |
457 | ||
458 | %description filecount | |
daff3c99 ER |
459 | The filecount-plugin does something very simple: Count the number of |
460 | files in a directory and all its subdirectories. This can be used for | |
461 | a variety of statistics, for example the queue length of an MTA, the | |
462 | number of PHP sessions of a web server or simply the number of files | |
463 | in your home directory. | |
8bf13ddb | 464 | |
d94da88b | 465 | %package fscache |
466 | Summary: fscache-plugin for collectd | |
e3cf1862 | 467 | Summary(pl.UTF-8): Wtyczka fscache dla collectd |
d94da88b | 468 | Group: Daemons |
469 | Requires: %{name} = %{version}-%{release} | |
470 | ||
471 | %description fscache | |
daff3c99 ER |
472 | The fscache-plugin collects statistics about Linux file-system based |
473 | caching framework. | |
d94da88b | 474 | |
8bf13ddb PG |
475 | %package hddtemp |
476 | Summary: hddtemp-plugin for collectd | |
e3cf1862 | 477 | Summary(pl.UTF-8): Wtyczka hddtemp dla collectd |
8bf13ddb PG |
478 | Group: Daemons |
479 | Requires: %{name} = %{version}-%{release} | |
b73c1be9 | 480 | Suggests: hddtemp-hddtempd |
8bf13ddb PG |
481 | |
482 | %description hddtemp | |
daff3c99 ER |
483 | Temperature of harddisks. The temperatures are provided via S.M.A.R.T. |
484 | and queried by the external hddtemp-daemon. | |
5e965dc7 PG |
485 | |
486 | %package interface | |
487 | Summary: interface-plugin for collectd | |
e3cf1862 | 488 | Summary(pl.UTF-8): Wtyczka interface dla collectd |
5e965dc7 PG |
489 | Group: Daemons |
490 | Requires: %{name} = %{version}-%{release} | |
491 | ||
492 | %description interface | |
daff3c99 ER |
493 | The interface-plugin collects information about the traffic (octets), |
494 | packets and errors of interfaces. | |
5e965dc7 PG |
495 | |
496 | %package iptables | |
497 | Summary: iptables-plugin for collectd | |
e3cf1862 | 498 | Summary(pl.UTF-8): Wtyczka iptables dla collectd |
5e965dc7 PG |
499 | Group: Daemons |
500 | Requires: %{name} = %{version}-%{release} | |
501 | ||
502 | %description iptables | |
503 | With this plugin you can gather statistics from your ip_tables based | |
daff3c99 ER |
504 | packetfilter (aka. firewall). It can collect the byte- and |
505 | packet-counters of selected rules and submit them to collectd. You can | |
506 | select rules that should be collected wither by its position (e.g. | |
507 | "the fourth rule in the INPUT queue in the filter table") or by its | |
508 | comment (using the COMMENT match). This means that depending on your | |
509 | firewall layout you can collect certain services (such as the amount | |
510 | of web-traffic), source or destination hosts or networks, dropped | |
511 | packets and much more. | |
8bf13ddb | 512 | |
87ba198e | 513 | %package ipmi |
514 | Summary: ipmi-plugin for collectd | |
e3cf1862 | 515 | Summary(pl.UTF-8): Wtyczka ipmi dla collectd |
87ba198e | 516 | Group: Daemons |
517 | Requires: %{name} = %{version}-%{release} | |
518 | ||
519 | %description ipmi | |
854e23ef AF |
520 | The IPMI plugin uses the OpenIPMI library to read hardware sensors |
521 | from servers using the Intelligent Platform Management Interface | |
522 | (IPMI). IPMI is very common with server hardware but usually not | |
523 | available in consumer hardware. | |
34fc103e | 524 | |
5e965dc7 PG |
525 | %package irq |
526 | Summary: IRQs-plugin for collectd | |
e3cf1862 | 527 | Summary(pl.UTF-8): Wtyczka IRQs dla collectd |
5e965dc7 PG |
528 | Group: Daemons |
529 | Requires: %{name} = %{version}-%{release} | |
530 | ||
531 | %description irq | |
854e23ef AF |
532 | The IRQ plugin collects the number of times each interrupt has been |
533 | handled by the operating system. | |
5e965dc7 | 534 | |
7a3b7a2c AF |
535 | %package libvirt |
536 | Summary: libvirt-plugin for collectd | |
537 | Summary(pl.UTF-8): Wtyczka libvirt dla collectd | |
538 | Group: Daemons | |
539 | Requires: %{name} = %{version}-%{release} | |
540 | ||
541 | %description libvirt | |
542 | The libvirt plugin uses the virtualization API libvirt, created by | |
543 | RedHat's Emerging Technology group, to gather statistics about | |
544 | virtualized guests on a system. This way, you can collect CPU, network | |
545 | interface and block device usage for each guest without installing | |
546 | collectd on the guest systems. Because the statistics are received | |
547 | from the hypervisor directly, this works not only with | |
548 | para-virtualized hosts, but with hardware virtualized machines, too. | |
549 | ||
5e965dc7 PG |
550 | %package load |
551 | Summary: load-plugin for collectd | |
e3cf1862 | 552 | Summary(pl.UTF-8): Wtyczka load dla collectd |
5e965dc7 PG |
553 | Group: Daemons |
554 | Requires: %{name} = %{version}-%{release} | |
555 | ||
556 | %description load | |
557 | Collects the system load. These numbers give a rough overview over the | |
558 | utilization of a machine, though their meaning is mostly overrated. | |
559 | ||
560 | %package logfile | |
561 | Summary: logfile-plugin for collectd | |
e3cf1862 | 562 | Summary(pl.UTF-8): Wtyczka logfile dla collectd |
5e965dc7 PG |
563 | Group: Daemons |
564 | Requires: %{name} = %{version}-%{release} | |
565 | ||
566 | %description logfile | |
854e23ef AF |
567 | The LogFile plugin receives log messages from the daemon and writes |
568 | them to a text file. | |
a9b34e68 PG |
569 | |
570 | %package madwifi | |
571 | Summary: madwifi plugin for collectd | |
e3cf1862 | 572 | Summary(pl.UTF-8): Wtyczka madwifi dla collectd |
a9b34e68 PG |
573 | Group: Daemons |
574 | Requires: %{name} = %{version}-%{release} | |
575 | ||
576 | %description madwifi | |
854e23ef AF |
577 | The MadWifi plugin collects information about Atheros wireless LAN |
578 | chipsets from the MadWifi driver. It uses the /sys filesystem to | |
579 | identify cards handled by this driver automatically but can be | |
580 | configured manually, too. Because very many statistics are available, | |
581 | an advanced selection mechanism is provided. | |
a9b34e68 PG |
582 | |
583 | %package match_empty_counter | |
584 | Summary: match_empty_counter plugin for collectd | |
e3cf1862 | 585 | Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd |
a9b34e68 PG |
586 | Group: Daemons |
587 | Requires: %{name} = %{version}-%{release} | |
588 | ||
589 | %description match_empty_counter | |
854e23ef AF |
590 | Empty Counter match matches value lists, where at least one data |
591 | source is of type COUNTER and the counter value of all counter data | |
592 | sources is zero. | |
a9b34e68 PG |
593 | |
594 | %package match_hashed | |
595 | Summary: match_hashed plugin for collectd | |
e3cf1862 | 596 | Summary(pl.UTF-8): Wtyczka match_hashed dla collectd |
a9b34e68 PG |
597 | Group: Daemons |
598 | Requires: %{name} = %{version}-%{release} | |
599 | ||
600 | %description match_hashed | |
601 | match_hashed plugin for collectd - match for simple load balancing and | |
602 | redundant storage. | |
5e965dc7 | 603 | |
b8e7f76a PG |
604 | %package match_regex |
605 | Summary: match_regex plugin for collectd | |
e3cf1862 | 606 | Summary(pl.UTF-8): Wtyczka match_regex dla collectd |
b8e7f76a PG |
607 | Group: Daemons |
608 | Requires: %{name} = %{version}-%{release} | |
609 | ||
610 | %description match_regex | |
611 | match_regex plugin for collectd. | |
612 | ||
613 | %package match_timediff | |
614 | Summary: match_timediff plugin for collectd | |
e3cf1862 | 615 | Summary(pl.UTF-8): Wtyczka match_timediff dla collectd |
b8e7f76a PG |
616 | Group: Daemons |
617 | Requires: %{name} = %{version}-%{release} | |
618 | ||
619 | %description match_timediff | |
620 | match_timediff plugin for collectd. | |
621 | ||
622 | %package match_value | |
623 | Summary: match_value plugin for collectd | |
e3cf1862 | 624 | Summary(pl.UTF-8): Wtyczka match_value dla collectd |
b8e7f76a PG |
625 | Group: Daemons |
626 | Requires: %{name} = %{version}-%{release} | |
627 | ||
628 | %description match_value | |
629 | match_value plugin for collectd. | |
630 | ||
5e965dc7 | 631 | %package mbmon |
b8e7f76a | 632 | Summary: mbmon plugin for collectd |
e3cf1862 | 633 | Summary(pl.UTF-8): Wtyczka mbmon dla collectd |
5e965dc7 PG |
634 | Group: Daemons |
635 | Requires: %{name} = %{version}-%{release} | |
636 | ||
637 | %description mbmon | |
638 | The mbmon plugin uses mbmon to retrieve temperature, voltage, etc. | |
639 | ||
cc6085e4 | 640 | %package md |
641 | Summary: md plugin for collectd | |
642 | Summary(pl.UTF-8): Wtyczka md dla collectd | |
643 | Group: Daemons | |
644 | Requires: %{name} = %{version}-%{release} | |
645 | ||
646 | %description md | |
647 | The md plugin reports the number of disks in various states in Linux | |
648 | software RAID devices. | |
649 | ||
9987a2c5 PG |
650 | %package memcachec |
651 | Summary: memcachec-plugin for collectd | |
e3cf1862 | 652 | Summary(pl.UTF-8): Wtyczka memcachec dla collectd |
9987a2c5 PG |
653 | Group: Daemons |
654 | Requires: %{name} = %{version}-%{release} | |
655 | ||
656 | %description memcachec | |
854e23ef AF |
657 | The memcachec plugin connects to a memcached server, queries one or |
658 | more given pages and parses the returned data according to user | |
659 | specification. The matches used are similar to the matches used in the | |
660 | cURL and Tail plugins. | |
9987a2c5 | 661 | |
5e965dc7 PG |
662 | %package memcached |
663 | Summary: memcached-plugin for collectd | |
e3cf1862 | 664 | Summary(pl.UTF-8): Wtyczka memcached dla collectd |
5e965dc7 PG |
665 | Group: Daemons |
666 | Requires: %{name} = %{version}-%{release} | |
667 | ||
668 | %description memcached | |
daff3c99 ER |
669 | The memcached plugin connects to a memcached daemon and collects the |
670 | number of connections and requests handled by the daemon, the CPU | |
671 | resources consumed, number of items cached, number of threads, and | |
672 | bytes sent and received. | |
5e965dc7 PG |
673 | |
674 | %package memory | |
675 | Summary: memory-plugin for collectd | |
e3cf1862 | 676 | Summary(pl.UTF-8): Wtyczka memory dla collectd |
5e965dc7 PG |
677 | Group: Daemons |
678 | Requires: %{name} = %{version}-%{release} | |
679 | ||
680 | %description memory | |
681 | Collects physical memory utilization for collectd. | |
682 | ||
b46e10b6 | 683 | %package modbus |
684 | Summary: modbus-plugin for collectd | |
685 | Summary(pl.UTF-8): Wtyczka modbus dla collectd | |
686 | Group: Daemons | |
687 | Requires: %{name} = %{version}-%{release} | |
688 | ||
689 | %description modbus | |
690 | The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and | |
e19086ca ER |
691 | reads register values. It supports reading single registers (unsigned |
692 | 16 bit values), large integer values (unsigned 32 bit values) and | |
b46e10b6 | 693 | floating point values (two registers interpreted as IEEE floats in big |
e19086ca | 694 | endian notation). |
b46e10b6 | 695 | |
5e965dc7 PG |
696 | %package multimeter |
697 | Summary: multimeter-plugin for collectd | |
e3cf1862 | 698 | Summary(pl.UTF-8): Wtyczka multimeter dla collectd |
5e965dc7 PG |
699 | Group: Daemons |
700 | Requires: %{name} = %{version}-%{release} | |
701 | ||
702 | %description multimeter | |
854e23ef AF |
703 | The Multimeter plugin reads a value (usually a voltage or current) |
704 | from a multimeter connected to a serial bus. The plugin tries | |
705 | /dev/ttyS0-9 in order to find a multimeter – no configuration is | |
706 | possible. | |
a9b34e68 PG |
707 | |
708 | The multimeter used for development was a Metex M-4650CR. | |
5e965dc7 | 709 | |
18e77dbc | 710 | %package mysql |
273ffc81 | 711 | Summary: mysql-plugin for collectd |
e3cf1862 | 712 | Summary(pl.UTF-8): Moduł mysql dla collectd. |
18e77dbc | 713 | Group: Daemons |
273ffc81 | 714 | Requires: %{name} = %{version}-%{release} |
e00e3af9 | 715 | Requires: mysql-client |
18e77dbc | 716 | |
717 | %description mysql | |
273ffc81 | 718 | MySQL querying plugin. This plugins provides data of issued commands, |
18e77dbc | 719 | called handlers and database traffic. |
720 | ||
721 | %description mysql -l pl.UTF-8 | |
273ffc81 JB |
722 | Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych |
723 | poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym. | |
18e77dbc | 724 | |
5e965dc7 PG |
725 | %package netlink |
726 | Summary: netlink-plugin for collectd | |
e3cf1862 | 727 | Summary(pl.UTF-8): Wtyczka netlink dla collectd |
5e965dc7 PG |
728 | Group: Daemons |
729 | Requires: %{name} = %{version}-%{release} | |
730 | ||
731 | %description netlink | |
daff3c99 ER |
732 | This plugin will open a netlink socket to the Linux kernel and use it |
733 | to get statistics for interfaces, qdiscs, classes, and, if you can | |
734 | make use of it, filters. Since in most setups many of the statistics | |
735 | this plugin can collect aren't of interest, you can select which | |
736 | information to gather using the configuration. | |
5e965dc7 PG |
737 | |
738 | %package network | |
739 | Summary: network-plugin for collectd | |
e3cf1862 | 740 | Summary(pl.UTF-8): Wtyczka network dla collectd |
5e965dc7 PG |
741 | Group: Daemons |
742 | Requires: %{name} = %{version}-%{release} | |
743 | ||
744 | %description network | |
854e23ef AF |
745 | The Network plugin can send values to other instances and receive |
746 | values from other %{name} instances. | |
5e965dc7 PG |
747 | |
748 | %package nfs | |
749 | Summary: NFS-plugin for collectd | |
e3cf1862 | 750 | Summary(pl.UTF-8): Wtyczka NFS dla collectd |
5e965dc7 PG |
751 | Group: Daemons |
752 | Requires: %{name} = %{version}-%{release} | |
753 | ||
754 | %description nfs | |
daff3c99 ER |
755 | The nfs plugin counts the number of procedure calls of the different |
756 | NFS procedures. | |
5e965dc7 | 757 | |
8bf13ddb PG |
758 | %package nginx |
759 | Summary: nginx-plugin for collectd | |
e3cf1862 | 760 | Summary(pl.UTF-8): Wtyczka nginx dla collectd |
8bf13ddb PG |
761 | Group: Daemons |
762 | Requires: %{name} = %{version}-%{release} | |
763 | ||
764 | %description nginx | |
daff3c99 ER |
765 | This plugin collects the number of connections and requests handled by |
766 | the nginx daemon, a HTTP and mail server/proxy. It queries the page | |
767 | provided by the ngx_http_stub_status_module module, which isn't | |
768 | compiled by default. | |
8bf13ddb | 769 | |
7be39ce7 | 770 | %package notify_desktop |
771 | Summary: notify_desktop for collectd | |
e3cf1862 | 772 | Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd |
7be39ce7 | 773 | Group: Daemons |
774 | Requires: %{name} = %{version}-%{release} | |
6af07819 | 775 | Requires: dbus(org.freedesktop.Notifications) |
7be39ce7 | 776 | |
777 | %description notify_desktop | |
5e965dc7 | 778 | This plugin sends a desktop notification to a notification daemon, as |
6af07819 | 779 | defined in the Desktop Notification Specification. |
7be39ce7 | 780 | |
b4b27e4a | 781 | %package notify_email |
5e965dc7 | 782 | Summary: notify_email-plugin for collectd |
e3cf1862 | 783 | Summary(pl.UTF-8): Wtyczka notify_email dla collectd |
b4b27e4a PG |
784 | Group: Daemons |
785 | Requires: %{name} = %{version}-%{release} | |
786 | ||
787 | %description notify_email | |
854e23ef AF |
788 | The Notify Email plugin uses libESMTP to send notifications to a |
789 | configured email address(es). | |
b4b27e4a | 790 | |
5e965dc7 PG |
791 | %package ntpd |
792 | Summary: ntpd-plugin for collectd | |
e3cf1862 | 793 | Summary(pl.UTF-8): Wtyczka ntpd dla collectd |
5e965dc7 PG |
794 | Group: Daemons |
795 | Requires: %{name} = %{version}-%{release} | |
796 | ||
797 | %description ntpd | |
a9b34e68 PG |
798 | The NTPd plugin queries an NTP server (usually the local one, where |
799 | statistics access is allowed) and extracts : | |
800 | - "local" clock parameters: time offset, error and offset loop, | |
854e23ef AF |
801 | - parameters for each NTP server used to sync time: offset, |
802 | dispersion, delay. | |
5e965dc7 | 803 | |
cc6085e4 | 804 | %package numa |
805 | Summary: numa-plugin for collectd | |
806 | Summary(pl.UTF-8): Wtyczka numa dla collectd | |
807 | Group: Daemons | |
808 | Requires: %{name} = %{version}-%{release} | |
809 | ||
810 | %description numa | |
e19086ca ER |
811 | The numa plugin reports statistics of the Non-Uniform Memory Access |
812 | (NUMA) subsystem of Linux. | |
cc6085e4 | 813 | |
b4b27e4a PG |
814 | %package nut |
815 | Summary: nut-plugin for collectd | |
e3cf1862 | 816 | Summary(pl.UTF-8): Wtyczka nut dla collectd |
b4b27e4a PG |
817 | Group: Daemons |
818 | Requires: %{name} = %{version}-%{release} | |
819 | ||
820 | %description nut | |
5e965dc7 | 821 | UPS statistics using the Network UPS Tools. These statistics include |
daff3c99 ER |
822 | basically everything NUT will give us, including voltages, currents, |
823 | power, frequencies, load, and temperatures. | |
b4b27e4a | 824 | |
a9b34e68 PG |
825 | %package olsrd |
826 | Summary: olsrd plugin for collectd | |
e3cf1862 | 827 | Summary(pl.UTF-8): Wtyczka olsrd dla collectd |
a9b34e68 PG |
828 | Group: Daemons |
829 | Requires: %{name} = %{version}-%{release} | |
a9b34e68 PG |
830 | |
831 | %description olsrd | |
854e23ef AF |
832 | The olsrd plugin reads information about meshed networks from the |
833 | txtinfo plugin of the Optimized Link State Routing daemon (olsrd). | |
a9b34e68 | 834 | |
b8e7f76a PG |
835 | %package openvpn |
836 | Summary: openvpn plugin for collectd | |
e3cf1862 | 837 | Summary(pl.UTF-8): Wtyczka openvpn dla collectd |
b8e7f76a PG |
838 | Group: Daemons |
839 | Requires: %{name} = %{version}-%{release} | |
840 | Requires: openvpn | |
841 | ||
842 | %description openvpn | |
daff3c99 ER |
843 | The OpenVPN plugin reads a status file maintained by OpenVPN and |
844 | gathers traffic statistics about connected clients. | |
b8e7f76a | 845 | |
854e23ef AF |
846 | %package perl |
847 | Summary: perl plugin for collectd | |
848 | Summary(pl.UTF-8): Wtyczka perl dla collectd | |
849 | Group: Daemons | |
850 | Requires: %{name} = %{version}-%{release} | |
851 | Requires: perl-Collectd = %{version}-%{release} | |
852 | ||
853 | %description perl | |
854 | The Perl plugin embeds a Perl interpreter into collectd and exposes | |
855 | the application programming interface (API) to Perl-scripts. This | |
856 | allows to write own plugins in the popular scripting language, which | |
857 | are then loaded and executed by the daemon without the need to start a | |
858 | new process and interpreter every few seconds. Perl-modules written | |
859 | for the Perl plugin are therefore more powerful and efficient than | |
860 | scripts executed by the Exec plugin. | |
861 | ||
907cfb56 PG |
862 | %package ping |
863 | Summary: ping-plugin for collectd | |
e3cf1862 | 864 | Summary(pl.UTF-8): Wtyczka ping dla collectd |
907cfb56 PG |
865 | Group: Daemons |
866 | Requires: %{name} = %{version}-%{release} | |
daff3c99 | 867 | Requires: liboping >= 1.1.2 |
907cfb56 PG |
868 | |
869 | %description ping | |
daff3c99 ER |
870 | The network latency is measured as a roundtrip time. An |
871 | ICMP-echo-request (aka. "ping")is sent to a host and the time needed | |
872 | for his echo-reply (aka. "pong") to arrive is measured. If a reply is | |
873 | not received within one second the plugin will no longer expect a | |
874 | reply and return. This may happen in several circumstances, e. g. the | |
875 | packet is lost, the host is down, a router has dismissed the packet, | |
876 | etc. | |
907cfb56 | 877 | |
b4b27e4a PG |
878 | %package postgresql |
879 | Summary: mysql-plugin for collectd | |
e3cf1862 | 880 | Summary(pl.UTF-8): Moduł postgresql dla collectd. |
b4b27e4a PG |
881 | Group: Daemons |
882 | Requires: %{name} = %{version}-%{release} | |
883 | ||
884 | %description postgresql | |
daff3c99 ER |
885 | The postgresql plugin queries statistics from PostgreSQL databases. It |
886 | keeps a persistent connection to all configured databases and tries to | |
887 | reconnect if the connection has been interrupted. | |
b4b27e4a | 888 | |
4b6e34c7 | 889 | %package powerdns |
890 | Summary: powerdns-plugin for collectd | |
e3cf1862 | 891 | Summary(pl.UTF-8): Wtyczka powerdns dla collectd |
4b6e34c7 | 892 | Group: Daemons |
893 | Requires: %{name} = %{version}-%{release} | |
894 | ||
895 | %description powerdns | |
5e965dc7 | 896 | The powerdns plugin queries statistics from an authoritative PowerDNS |
daff3c99 ER |
897 | nameserver and/or a PowerDNS recursor. Since both offer a wide variety |
898 | of values, many of which are probably meaningless to most users, but | |
899 | may be useful for some. | |
5e965dc7 PG |
900 | |
901 | %package processes | |
902 | Summary: processes-plugin for collectd | |
e3cf1862 | 903 | Summary(pl.UTF-8): Wtyczka processes dla collectd |
5e965dc7 PG |
904 | Group: Daemons |
905 | Requires: %{name} = %{version}-%{release} | |
906 | ||
907 | %description processes | |
daff3c99 ER |
908 | This plugin collects the number of processes, grouped by their state |
909 | (e.g. running, sleeping, zombies, etc.). In addition to that, it can | |
910 | select detailed statistics about selected processes, grouped by name. | |
4b6e34c7 | 911 | |
d94da88b | 912 | %package protocols |
913 | Summary: protocols-plugin for collectd | |
e3cf1862 | 914 | Summary(pl.UTF-8): Wtyczka protocols dla collectd |
d94da88b | 915 | Group: Daemons |
916 | Requires: %{name} = %{version}-%{release} | |
917 | ||
918 | %description protocols | |
daff3c99 ER |
919 | The protocols-plugin provides information about network protocols, |
920 | such as IP, TCP and UDP. | |
d94da88b | 921 | |
a9b34e68 PG |
922 | %package python |
923 | Summary: python-plugin for collectd | |
e3cf1862 | 924 | Summary(pl.UTF-8): Wtyczka python dla collectd |
a9b34e68 PG |
925 | Group: Daemons |
926 | Requires: %{name} = %{version}-%{release} | |
927 | ||
928 | %description python | |
854e23ef AF |
929 | The Python plugin embeds a Python interpreter into collectd and |
930 | exposes the application programming interface (API) to Python-scripts. | |
931 | This allows to write own plugins in the popular scripting language, | |
932 | which are then loaded and executed by the daemon without the need to | |
933 | start a new process and interpreter every few seconds. Python-modules | |
934 | written for the Python plugin are therefore more powerful and | |
935 | efficient than scripts executed by the Exec plugin. | |
936 | ||
937 | %package rrdcached | |
938 | Summary: rrdcached-plugin for collectd | |
939 | Summary(pl.UTF-8): Wtyczka rrdcached dla collectd | |
940 | Group: Daemons | |
941 | Requires: %{name} = %{version}-%{release} | |
942 | ||
943 | %description rrdcached | |
944 | The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached, | |
945 | to store values to RRD files in an efficient manner. The combination | |
946 | of the rrdcached plugin and the rrdcached daemon is very similar to | |
947 | the way the rrdtool plugin works. | |
a9b34e68 | 948 | |
8bf13ddb PG |
949 | %package rrdtool |
950 | Summary: rrdtool-plugin for collectd | |
e3cf1862 | 951 | Summary(pl.UTF-8): Wtyczka rrdtool dla collectd |
8bf13ddb PG |
952 | Group: Daemons |
953 | Requires: %{name} = %{version}-%{release} | |
954 | Requires: rrdtool | |
955 | ||
956 | %description rrdtool | |
a9b34e68 | 957 | The RRDtool plugin writes values to RRD-files using librrd. |
8bf13ddb PG |
958 | |
959 | %package sensors | |
960 | Summary: sensors-plugin for collectd | |
e3cf1862 | 961 | Summary(pl.UTF-8): Wtyczka sensors dla collectd |
8bf13ddb PG |
962 | Group: Daemons |
963 | Requires: %{name} = %{version}-%{release} | |
964 | ||
965 | %description sensors | |
5e965dc7 | 966 | This plugin uses lm-sensors to read hardware sensors. You will need to |
daff3c99 ER |
967 | configure lm-sensors before this plugin will collect any usefull and |
968 | correct data. | |
5e965dc7 | 969 | |
5e965dc7 PG |
970 | %package serial |
971 | Summary: serial-plugin for collectd | |
e3cf1862 | 972 | Summary(pl.UTF-8): Wtyczka serial dla collectd |
5e965dc7 PG |
973 | Group: Daemons |
974 | Requires: %{name} = %{version}-%{release} | |
975 | ||
976 | %description serial | |
a9b34e68 | 977 | The Serial plugin collects the traffic on serial interfaces. |
8bf13ddb PG |
978 | |
979 | %package snmp | |
980 | Summary: snmp-plugin for collectd | |
e3cf1862 | 981 | Summary(pl.UTF-8): Wtyczka snmp dla collectd |
8bf13ddb PG |
982 | Group: Daemons |
983 | Requires: %{name} = %{version}-%{release} | |
984 | ||
985 | %description snmp | |
5e965dc7 | 986 | The snmp plugin queries other hosts using SNMP, the Simple Network |
daff3c99 ER |
987 | Management Protocol, and translates the value it receives to |
988 | collectd's internal format and dispatches them. Depending on the write | |
989 | plugins you have loaded they may be written to disk or submitted to | |
990 | another instance or whatever you configured. | |
5e965dc7 PG |
991 | |
992 | %package swap | |
993 | Summary: swap-plugin for collectd | |
e3cf1862 | 994 | Summary(pl.UTF-8): Wtyczka swap dla collectd |
5e965dc7 PG |
995 | Group: Daemons |
996 | Requires: %{name} = %{version}-%{release} | |
997 | ||
998 | %description swap | |
854e23ef AF |
999 | The Swap plugin collects the amount of memory currently written onto |
1000 | hard disk or whatever the system calls “swap”. | |
5e965dc7 PG |
1001 | |
1002 | %package syslog | |
1003 | Summary: syslog-plugin for collectd | |
e3cf1862 | 1004 | Summary(pl.UTF-8): Wtyczka syslog dla collectd |
5e965dc7 PG |
1005 | Group: Daemons |
1006 | Requires: %{name} = %{version}-%{release} | |
1007 | ||
1008 | %description syslog | |
a9b34e68 PG |
1009 | The SysLog plugin receives log messages from the daemon and dispatches |
1010 | them to syslog(3). | |
5e965dc7 | 1011 | |
d94da88b | 1012 | %package table |
1013 | Summary: table-plugin for collectd | |
e3cf1862 | 1014 | Summary(pl.UTF-8): Wtyczka table dla collectd |
d94da88b | 1015 | Group: Daemons |
1016 | Requires: %{name} = %{version}-%{release} | |
1017 | ||
1018 | %description table | |
1019 | The table-plugin provides parsing for table-like structured files, | |
1020 | such as many files beneath /proc. | |
1021 | ||
b8e7f76a PG |
1022 | %package target_notification |
1023 | Summary: target_notification-plugin for collectd | |
e3cf1862 | 1024 | Summary(pl.UTF-8): Wtyczka target_notification dla collectd |
b8e7f76a PG |
1025 | Group: Daemons |
1026 | Requires: %{name} = %{version}-%{release} | |
1027 | ||
1028 | %description target_notification | |
1029 | target_notification plugin for collectd. | |
1030 | ||
1031 | %package target_replace | |
1032 | Summary: target_replace-plugin for collectd | |
e3cf1862 | 1033 | Summary(pl.UTF-8): Wtyczka target_replace dla collectd |
b8e7f76a PG |
1034 | Group: Daemons |
1035 | Requires: %{name} = %{version}-%{release} | |
1036 | ||
1037 | %description target_replace | |
1038 | target_replace plugin for collectd. | |
1039 | ||
a9b34e68 PG |
1040 | %package target_scale |
1041 | Summary: target_scale-plugin for collectd | |
e3cf1862 | 1042 | Summary(pl.UTF-8): Wtyczka target_scale dla collectd |
a9b34e68 PG |
1043 | Group: Daemons |
1044 | Requires: %{name} = %{version}-%{release} | |
1045 | ||
1046 | %description target_scale | |
1047 | Target to scale (multiply) values by an arbitrary value. | |
1048 | ||
b8e7f76a PG |
1049 | %package target_set |
1050 | Summary: target_set-plugin for collectd | |
e3cf1862 | 1051 | Summary(pl.UTF-8): Wtyczka target_set dla collectd |
b8e7f76a PG |
1052 | Group: Daemons |
1053 | Requires: %{name} = %{version}-%{release} | |
1054 | ||
1055 | %description target_set | |
1056 | target_set plugin for collectd. | |
1057 | ||
854e23ef AF |
1058 | %package target_v5upgrade |
1059 | Summary: target_v5upgrade-plugin for collectd | |
1060 | Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd | |
1061 | Group: Daemons | |
1062 | Requires: %{name} = %{version}-%{release} | |
1063 | ||
1064 | %description target_v5upgrade | |
1065 | The v5 upgrade target can be used to upgrade version 4 data to a | |
1066 | changed version 5 layout. | |
1067 | ||
5e965dc7 PG |
1068 | %package tail |
1069 | Summary: tail-plugin for collectd | |
e3cf1862 | 1070 | Summary(pl.UTF-8): Wtyczka tail dla collectd |
5e965dc7 PG |
1071 | Group: Daemons |
1072 | Requires: %{name} = %{version}-%{release} | |
1073 | ||
1074 | %description tail | |
daff3c99 ER |
1075 | The tail-plugin can be used to "tail" logfiles, i.e. follow them as |
1076 | tail -F does. Each line is given to one or more "matches" which test | |
1077 | if the line is relevant for any statistics using a regular expression. | |
5e965dc7 PG |
1078 | |
1079 | %package tcpconns | |
1080 | Summary: tcpconns-plugin for collectd | |
e3cf1862 | 1081 | Summary(pl.UTF-8): Wtyczka tcpconns dla collectd |
5e965dc7 PG |
1082 | Group: Daemons |
1083 | Requires: %{name} = %{version}-%{release} | |
1084 | ||
1085 | %description tcpconns | |
1086 | The tcpconns-plugin counts the number of TCP connections to or from a | |
daff3c99 ER |
1087 | specified port. Typically the connectioins where you specify the local |
1088 | port are incoming connections while the connections where you specify | |
1089 | the remote port are outgoing connections. | |
5e965dc7 PG |
1090 | |
1091 | %package teamspeak2 | |
1092 | Summary: teamspeak2-plugin for collectd | |
e3cf1862 | 1093 | Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd |
5e965dc7 PG |
1094 | Group: Daemons |
1095 | Requires: %{name} = %{version}-%{release} | |
1096 | ||
1097 | %description teamspeak2 | |
daff3c99 ER |
1098 | The teamspeak2 plugin connects to the query port of a teamspeak2 |
1099 | server and polls interesting global and virtual server data. The | |
1100 | plugin can query only one physical server but unlimited virtual | |
1101 | servers. | |
5e965dc7 | 1102 | |
d94da88b | 1103 | %package ted |
1104 | Summary: ted-plugin for collectd | |
e3cf1862 | 1105 | Summary(pl.UTF-8): Wtyczka ted dla collectd |
d94da88b | 1106 | Group: Daemons |
1107 | Requires: %{name} = %{version}-%{release} | |
1108 | ||
1109 | %description ted | |
daff3c99 ER |
1110 | The TED-plugin reads power consumption measurements from “The Energy |
1111 | Detective” (TED). | |
d94da88b | 1112 | |
5e965dc7 PG |
1113 | %package thermal |
1114 | Summary: thermal-plugin for collectd | |
e3cf1862 | 1115 | Summary(pl.UTF-8): Wtyczka thermal dla collectd |
5e965dc7 PG |
1116 | Group: Daemons |
1117 | Requires: %{name} = %{version}-%{release} | |
1118 | ||
1119 | %description thermal | |
854e23ef AF |
1120 | The thermal plugin reads ACPI thermal zone information from the sysfs |
1121 | or procfs file system, i. e. mostly system temperature information. | |
1122 | ||
1123 | %package threshold | |
1124 | Summary: threshold-plugin for collectd | |
1125 | Summary(pl.UTF-8): Wtyczka threshold dla collectd | |
1126 | Group: Daemons | |
1127 | Requires: %{name} = %{version}-%{release} | |
1128 | ||
1129 | %description threshold | |
1130 | threshold-plugin for collectd. | |
5e965dc7 PG |
1131 | |
1132 | %package unixsock | |
1133 | Summary: unixsock-plugin for collectd | |
e3cf1862 | 1134 | Summary(pl.UTF-8): Wtyczka unixsock dla collectd |
5e965dc7 PG |
1135 | Group: Daemons |
1136 | Requires: %{name} = %{version}-%{release} | |
1137 | ||
1138 | %description unixsock | |
daff3c99 ER |
1139 | The unixsock plugin opens an UNIX-socket over which one can interact |
1140 | with the daemon. This can be used to use the values collected by | |
1141 | collectd in other applications, such as monitoring, or submit | |
1142 | externally collected values to collectd. | |
5e965dc7 | 1143 | |
d94da88b | 1144 | %package uptime |
1145 | Summary: uptime-plugin for collectd | |
e3cf1862 | 1146 | Summary(pl.UTF-8): Wtyczka uptime dla collectd |
d94da88b | 1147 | Group: Daemons |
1148 | Requires: %{name} = %{version}-%{release} | |
1149 | ||
1150 | %description uptime | |
1151 | The uptime-plugin can collect the server's uptime. | |
1152 | ||
5e965dc7 PG |
1153 | %package users |
1154 | Summary: users-plugin for collectd | |
e3cf1862 | 1155 | Summary(pl.UTF-8): Wtyczka users dla collectd |
5e965dc7 PG |
1156 | Group: Daemons |
1157 | Requires: %{name} = %{version}-%{release} | |
1158 | ||
1159 | %description users | |
1160 | Number of users currently logged in. | |
8bf13ddb PG |
1161 | |
1162 | %package uuid | |
1163 | Summary: uuid-plugin for collectd | |
e3cf1862 | 1164 | Summary(pl.UTF-8): Wtyczka uuid dla collectd |
8bf13ddb PG |
1165 | Group: Daemons |
1166 | Requires: %{name} = %{version}-%{release} | |
1167 | ||
1168 | %description uuid | |
daff3c99 ER |
1169 | This plugin, if loaded, causes the Hostname to be taken from the |
1170 | machine's UUID. The UUID is a universally unique designation for the | |
1171 | machine, usually taken from the machine's BIOS. This is most useful if | |
1172 | the machine is running in a virtual environment such as Xen, in which | |
1173 | case the UUID is preserved across shutdowns and migration. | |
5e965dc7 | 1174 | |
854e23ef AF |
1175 | %package varnish |
1176 | Summary: varnish-plugin for collectd | |
1177 | Summary(pl.UTF-8): Wtyczka varnish dla collectd | |
1178 | Group: Daemons | |
1179 | Requires: %{name} = %{version}-%{release} | |
1180 | ||
1181 | %description varnish | |
1182 | The Varnish plugin collects information about Varnish, an HTTP | |
1183 | accelerator. | |
1184 | ||
5e965dc7 PG |
1185 | %package vmem |
1186 | Summary: vmem-plugin for collectd | |
e3cf1862 | 1187 | Summary(pl.UTF-8): Wtyczka vmem dla collectd |
5e965dc7 PG |
1188 | Group: Daemons |
1189 | Requires: %{name} = %{version}-%{release} | |
1190 | ||
1191 | %description vmem | |
daff3c99 ER |
1192 | The vmem plugin collects information about the usage of virtual |
1193 | memory. Since the statistics provided by the Linux kernel are very | |
1194 | detailed, they are collected very detailed. | |
5e965dc7 PG |
1195 | |
1196 | %package vserver | |
1197 | Summary: vserver-plugin for collectd | |
e3cf1862 | 1198 | Summary(pl.UTF-8): Wtyczka vserver dla collectd |
5e965dc7 PG |
1199 | Group: Daemons |
1200 | Requires: %{name} = %{version}-%{release} | |
1201 | ||
1202 | %description vserver | |
daff3c99 ER |
1203 | Collects information about the virtual servers running on a system, |
1204 | using Linux-Vserver. | |
5e965dc7 | 1205 | |
cc6085e4 | 1206 | %package write_graphite |
1207 | Summary: write_graphite-plugin for collectd | |
1208 | Summary(pl.UTF-8): wtyczka write_graphite dla collectd | |
1209 | Group: Daemons | |
1210 | Requires: %{name} = %{version}-%{release} | |
1211 | ||
1212 | %description write_graphite | |
1213 | The Write Graphite plugin stores values in Carbon, the storage layer | |
e19086ca ER |
1214 | of Graphite. The plugin aims to be very efficient. It keeps the TCP |
1215 | connection to Carbon open in order to minimize the connection | |
1216 | handshake overhead. It buffers the data in a buffer to send many lines | |
1217 | at once, rather than generating lots of small network packets. The | |
1218 | size of this buffer (1428 bytes) is dimensioned so that the buffer as | |
1219 | well as the TCP and IP header fit into one Ethernet frame and can | |
1220 | (hopefully) be delivered without fragmentation. | |
cc6085e4 | 1221 | |
a9b34e68 PG |
1222 | %package write_http |
1223 | Summary: write_http-plugin for collectd | |
e3cf1862 | 1224 | Summary(pl.UTF-8): Wtyczka write_http dla collectd |
a9b34e68 PG |
1225 | Group: Daemons |
1226 | Requires: %{name} = %{version}-%{release} | |
1227 | ||
1228 | %description write_http | |
1229 | The Write HTTP plugin sends the values collected by collectd to a | |
1230 | web-server using HTTP POST requests. The data is formatted as PUTVAL | |
1231 | commands. | |
1232 | ||
5e965dc7 PG |
1233 | %package wireless |
1234 | Summary: wireless-plugin for collectd | |
e3cf1862 | 1235 | Summary(pl.UTF-8): Wtyczka wireless dla collectd |
5e965dc7 PG |
1236 | Group: Daemons |
1237 | Requires: %{name} = %{version}-%{release} | |
1238 | ||
1239 | %description wireless | |
a9b34e68 PG |
1240 | The Wireless plugin collects signal quality, signal power and |
1241 | signal-to-noise ratio for wireless LAN cards. | |
8bf13ddb PG |
1242 | |
1243 | %package xmms | |
1244 | Summary: xmms-plugin for collectd | |
e3cf1862 | 1245 | Summary(pl.UTF-8): Wtyczka xmms dla collectd |
8bf13ddb PG |
1246 | Group: Daemons |
1247 | Requires: %{name} = %{version}-%{release} | |
8bf13ddb PG |
1248 | |
1249 | %description xmms | |
a9b34e68 PG |
1250 | The XMMS plugin is a plugin for the XMMS music player. It graphs the |
1251 | bit-rate and sampling rate as you play songs. Not really useful, just | |
1252 | something that got written because we can. | |
8bf13ddb | 1253 | |
f26b05df | 1254 | %package -n perl-Collectd |
1255 | Summary: Perl files from Collectd package | |
1256 | Group: Daemons | |
1257 | ||
1258 | %description -n perl-Collectd | |
1259 | Perl files from Collectd package | |
1260 | ||
373d486f AF |
1261 | %prep |
1262 | %setup -q | |
cdf53ab5 | 1263 | %patch0 -p1 |
1bb84330 | 1264 | %patch1 -p1 |
537d5e17 | 1265 | %patch2 -p1 |
cc6085e4 | 1266 | %patch3 -p0 |
1bc16d55 | 1267 | %patch4 -p0 |
bc42c002 | 1268 | %patch5 -p1 |
cc6085e4 | 1269 | #%patch6 -p1 |
526f2b1b | 1270 | |
373d486f AF |
1271 | %build |
1272 | %{__libtoolize} | |
1273 | %{__aclocal} | |
1274 | %{__autoconf} | |
1275 | %{__autoheader} | |
1276 | %{__automake} | |
4b6e34c7 | 1277 | |
373d486f | 1278 | %configure \ |
854e23ef | 1279 | CPPFLAGS="-Wno-unused-but-set-variable" \ |
537d5e17 | 1280 | c_cv_have_libperl=yes \ |
1bc16d55 | 1281 | --with-libiptc=/usr \ |
373d486f AF |
1282 | --with-libstatgrab=/usr \ |
1283 | --with-lm-sensors=/usr \ | |
4b6e34c7 | 1284 | --with-libmysql=/usr \ |
537d5e17 AF |
1285 | --enable-perl \ |
1286 | %{__enable_disable dns} \ | |
1287 | %{__enable_disable ipmi} \ | |
1288 | %{__enable_disable iptables} \ | |
1289 | %{__enable_disable multimeter} \ | |
1290 | %{__enable_disable mysql} \ | |
1291 | %{__enable_disable netlink} \ | |
1292 | %{__enable_disable notify notify_desktop} \ | |
1293 | %{__enable_disable libesmtp notify_email} \ | |
b46e10b6 | 1294 | %{__enable_disable modbus } \ |
7a3b7a2c | 1295 | %{__enable_disable libvirt} \ |
537d5e17 AF |
1296 | %{__enable_disable ups nut} \ |
1297 | %{__enable_disable ping} \ | |
1298 | %{__enable_disable pgsql postgresql} \ | |
1299 | %{__enable_disable rrd rrdtool} \ | |
1300 | %{__enable_disable sensors} \ | |
1301 | %{__enable_disable snmp} \ | |
1302 | %{__enable_disable xmms} \ | |
854e23ef | 1303 | %{__enable_disable varnish} \ |
537d5e17 AF |
1304 | %{__enable_disable curl} \ |
1305 | %{__enable_disable curl apache} \ | |
1306 | %{__enable_disable curl ngix} \ | |
1307 | %{__enable_disable curl ascent} \ | |
1308 | %{__disable curl ascent} \ | |
1309 | %{__disable curl bind} \ | |
1310 | %{__disable xml ascent} \ | |
1311 | %{__disable xml bind} \ | |
537d5e17 | 1312 | --disable-ipvs |
4b6e34c7 | 1313 | |
1314 | ||
87ba198e | 1315 | %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \ |
1316 | BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \ | |
f26b05df | 1317 | BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread" |
373d486f AF |
1318 | |
1319 | %install | |
1320 | rm -rf $RPM_BUILD_ROOT | |
711f12a6 | 1321 | install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \ |
f6678d00 | 1322 | $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3} |
373d486f AF |
1323 | |
1324 | %{__make} install \ | |
1325 | DESTDIR=$RPM_BUILD_ROOT | |
81857fc6 | 1326 | |
e105712e | 1327 | touch $RPM_BUILD_ROOT%{_var}/log/collectd.log |
ff0d0ea0 | 1328 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
373d486f | 1329 | |
96376a8d PG |
1330 | # Web frontend: |
1331 | install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir} | |
1332 | install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin | |
197c4197 | 1333 | install %{SOURCE5} $RPM_BUILD_ROOT%{_webappdir}/apache.conf |
96376a8d | 1334 | install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf |
cdf53ab5 | 1335 | install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf |
96376a8d | 1336 | |
f26b05df | 1337 | cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir} |
f6678d00 PG |
1338 | mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf |
1339 | ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf | |
1340 | sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf | |
f26b05df | 1341 | |
711f12a6 | 1342 | ### Configs instalation ### |
b8e7f76a PG |
1343 | for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do |
1344 | egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf | |
4929f1a7 | 1345 | grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf |
cbe0cde9 | 1346 | done |
1347 | ||
711f12a6 PG |
1348 | # Example config in sources: src/collectd.conf |
1349 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf | |
4929f1a7 PG |
1350 | |
1351 | # Overwrite only files which we want to change: | |
1352 | install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf | |
1353 | install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf | |
711f12a6 | 1354 | |
f26b05df | 1355 | mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/ |
f6678d00 | 1356 | mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/ |
f26b05df | 1357 | |
96376a8d PG |
1358 | # Cleanups: |
1359 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la | |
1360 | ||
373d486f AF |
1361 | %clean |
1362 | rm -rf $RPM_BUILD_ROOT | |
1363 | ||
81857fc6 | 1364 | %post |
373d486f AF |
1365 | /sbin/chkconfig --add %{name} |
1366 | %service %{name} restart | |
1367 | ||
81857fc6 | 1368 | %preun |
373d486f AF |
1369 | if [ "$1" = "0" ]; then |
1370 | %service -q %{name} stop | |
1371 | /sbin/chkconfig --del %{name} | |
1372 | fi | |
1373 | ||
b8e7f76a PG |
1374 | %post libs -p /sbin/ldconfig |
1375 | %postun libs -p /sbin/ldconfig | |
1376 | ||
bed4848f PG |
1377 | %define module_scripts() \ |
1378 | %post %1 \ | |
1379 | %service %{name} restart \ | |
1380 | \ | |
1381 | %postun %1 \ | |
1382 | %service %{name} restart | |
1383 | ||
0e2c8900 | 1384 | %module_scripts apache |
5e965dc7 | 1385 | %module_scripts apcups |
0e2c8900 | 1386 | %module_scripts ascent |
5e965dc7 | 1387 | %module_scripts battery |
0e2c8900 | 1388 | %module_scripts bind |
a9b34e68 | 1389 | %module_scripts contextswitch |
d94da88b | 1390 | %module_scripts conntrack |
5e965dc7 | 1391 | %module_scripts cpu |
d94da88b | 1392 | %module_scripts cpufreq |
5e965dc7 | 1393 | %module_scripts csv |
0e2c8900 | 1394 | %module_scripts curl |
854e23ef | 1395 | %module_scripts curl_json |
b8e7f76a | 1396 | %module_scripts dbi |
5e965dc7 PG |
1397 | %module_scripts df |
1398 | %module_scripts disk | |
0e2c8900 | 1399 | %module_scripts dns |
5e965dc7 PG |
1400 | %module_scripts email |
1401 | %module_scripts entropy | |
cc6085e4 | 1402 | %module_scripts ethstat |
5e965dc7 PG |
1403 | %module_scripts exec |
1404 | %module_scripts filecount | |
d94da88b | 1405 | %module_scripts fscache |
bed4848f | 1406 | %module_scripts hddtemp |
5e965dc7 | 1407 | %module_scripts interface |
0e2c8900 TP |
1408 | %module_scripts ipmi |
1409 | %module_scripts iptables | |
5e965dc7 | 1410 | %module_scripts irq |
7a3b7a2c | 1411 | %module_scripts libvirt |
5e965dc7 PG |
1412 | %module_scripts load |
1413 | %module_scripts logfile | |
a9b34e68 PG |
1414 | %module_scripts madwifi |
1415 | %module_scripts match_empty_counter | |
1416 | %module_scripts match_hashed | |
b8e7f76a PG |
1417 | %module_scripts match_regex |
1418 | %module_scripts match_timediff | |
1419 | %module_scripts match_value | |
5e965dc7 | 1420 | %module_scripts mbmon |
cc6085e4 | 1421 | %module_scripts md |
9987a2c5 | 1422 | %module_scripts memcachec |
5e965dc7 PG |
1423 | %module_scripts memcached |
1424 | %module_scripts memory | |
0e2c8900 TP |
1425 | %module_scripts multimeter |
1426 | %module_scripts mysql | |
1427 | %module_scripts netlink | |
5e965dc7 PG |
1428 | %module_scripts network |
1429 | %module_scripts nfs | |
0e2c8900 TP |
1430 | %module_scripts nginx |
1431 | %module_scripts notify_desktop | |
1432 | %module_scripts notify_email | |
5e965dc7 | 1433 | %module_scripts ntpd |
cc6085e4 | 1434 | %module_scripts numa |
0e2c8900 | 1435 | %module_scripts nut |
a9b34e68 | 1436 | %module_scripts olsrd |
b8e7f76a | 1437 | %module_scripts openvpn |
854e23ef | 1438 | %module_scripts perl |
0e2c8900 TP |
1439 | %module_scripts ping |
1440 | %module_scripts postgresql | |
bed4848f | 1441 | %module_scripts powerdns |
5e965dc7 | 1442 | %module_scripts processes |
d94da88b | 1443 | %module_scripts protocols |
a9b34e68 | 1444 | %module_scripts python |
854e23ef | 1445 | %module_scripts rrdcached |
0e2c8900 TP |
1446 | %module_scripts rrdtool |
1447 | %module_scripts sensors | |
5e965dc7 | 1448 | %module_scripts serial |
0e2c8900 | 1449 | %module_scripts snmp |
5e965dc7 PG |
1450 | %module_scripts swap |
1451 | %module_scripts syslog | |
d94da88b | 1452 | %module_scripts table |
5e965dc7 | 1453 | %module_scripts tail |
b8e7f76a PG |
1454 | %module_scripts target_notification |
1455 | %module_scripts target_replace | |
a9b34e68 | 1456 | %module_scripts target_scale |
b8e7f76a | 1457 | %module_scripts target_set |
854e23ef | 1458 | %module_scripts target_v5upgrade |
5e965dc7 PG |
1459 | %module_scripts tcpconns |
1460 | %module_scripts teamspeak2 | |
d94da88b | 1461 | %module_scripts ted |
5e965dc7 | 1462 | %module_scripts thermal |
854e23ef | 1463 | %module_scripts threshold |
5e965dc7 | 1464 | %module_scripts unixsock |
d94da88b | 1465 | %module_scripts uptime |
5e965dc7 | 1466 | %module_scripts users |
bed4848f | 1467 | %module_scripts uuid |
854e23ef | 1468 | %module_scripts varnish |
5e965dc7 PG |
1469 | %module_scripts vmem |
1470 | %module_scripts vserver | |
cc6085e4 | 1471 | %module_scripts write_graphite |
a9b34e68 | 1472 | %module_scripts write_http |
5e965dc7 | 1473 | %module_scripts wireless |
0e2c8900 | 1474 | %module_scripts xmms |
bed4848f | 1475 | |
96376a8d PG |
1476 | %triggerin collection -- apache1 < 1.3.37-3, apache1-base |
1477 | %webapp_register apache %{_webapp} | |
1478 | ||
1479 | %triggerun collection -- apache1 < 1.3.37-3, apache1-base | |
1480 | %webapp_unregister apache %{_webapp} | |
1481 | ||
197c4197 | 1482 | %triggerin collection -- apache-base |
96376a8d PG |
1483 | %webapp_register httpd %{_webapp} |
1484 | ||
197c4197 | 1485 | %triggerun collection -- apache-base |
96376a8d PG |
1486 | %webapp_unregister httpd %{_webapp} |
1487 | ||
73f73519 | 1488 | %triggerin collection -- lighttpd |
cdf53ab5 PG |
1489 | %webapp_register lighttpd %{_webapp} |
1490 | ||
73f73519 | 1491 | %triggerun collection -- lighttpd |
cdf53ab5 PG |
1492 | %webapp_unregister lighttpd %{_webapp} |
1493 | ||
373d486f AF |
1494 | %files |
1495 | %defattr(644,root,root,755) | |
e105712e | 1496 | %doc AUTHORS ChangeLog README TODO contrib |
25bc0190 PG |
1497 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf |
1498 | %dir %{_sysconfdir}/%{name}.d | |
f6678d00 | 1499 | %dir %{_webappdir} |
373d486f | 1500 | %attr(755,root,root) %{_sbindir}/collectd |
e105712e | 1501 | %attr(755,root,root) %{_sbindir}/collectdmon |
854e23ef | 1502 | %attr(755,root,root) %{_bindir}/collectdctl |
18e77dbc | 1503 | %attr(755,root,root) %{_bindir}/collectd-nagios |
854e23ef | 1504 | %dir %{_libdir}/%{name} |
b8e7f76a PG |
1505 | %dir %{_datadir}/%{name} |
1506 | %{_datadir}/%{name}/types.db | |
ff0d0ea0 | 1507 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
373d486f | 1508 | %{_mandir}/man1/collectd.1* |
18e77dbc | 1509 | %{_mandir}/man1/collectd-nagios.1* |
854e23ef | 1510 | %{_mandir}/man1/collectdctl.1* |
80d5b170 | 1511 | %{_mandir}/man1/collectdmon.1* |
373d486f | 1512 | %{_mandir}/man5/collectd.conf.5* |
daff3c99 | 1513 | %{_mandir}/man5/collectd-java.5* |
e105712e | 1514 | %{_mandir}/man5/types.db.5* |
e105712e | 1515 | %dir %{_var}/lib/%{name} |
1516 | ||
b8e7f76a PG |
1517 | %files libs |
1518 | %defattr(644,root,root,755) | |
1519 | %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.* | |
1520 | %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0 | |
1521 | ||
1522 | %files devel | |
1523 | %defattr(644,root,root,755) | |
1524 | %attr(755,root,root) %{_libdir}/libcollectdclient.so | |
1525 | %{_libdir}/libcollectdclient.la | |
1526 | %dir %{_includedir}/%{name} | |
1527 | %{_includedir}/%{name}/*.h | |
1528 | %{_pkgconfigdir}/libcollectdclient.pc | |
1529 | ||
80d5b170 | 1530 | %files static |
1531 | %defattr(644,root,root,755) | |
1532 | %{_libdir}/libcollectdclient.a | |
1533 | %{_libdir}/%{name}/*.a | |
1534 | ||
5e965dc7 PG |
1535 | %files collection |
1536 | %defattr(644,root,root,755) | |
5e965dc7 PG |
1537 | %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf |
1538 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf | |
1539 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf | |
cdf53ab5 | 1540 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf |
5e965dc7 PG |
1541 | %dir %{_appdir} |
1542 | %dir %{_appdir}/cgi-bin | |
1543 | %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi | |
1544 | ||
f26b05df | 1545 | %files collection3 |
1546 | %defattr(644,root,root,755) | |
f6678d00 PG |
1547 | %doc contrib/collection3/README |
1548 | %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf | |
abf017bf PG |
1549 | %dir %{_appdir}/collection3 |
1550 | %dir %{_appdir}/collection3/bin | |
1551 | %attr(755,root,root) %{_appdir}/collection3/bin/*.cgi | |
f6678d00 | 1552 | %{_appdir}/collection3/etc |
abf017bf PG |
1553 | %{_appdir}/collection3/lib |
1554 | %{_appdir}/collection3/share | |
f26b05df | 1555 | |
8bf13ddb | 1556 | ########## PLUGINS: |
1018cae1 TP |
1557 | %if %{with xml} |
1558 | %if %{with curl} | |
61ccc70a TP |
1559 | %files apache |
1560 | %defattr(640,root,root,755) | |
1561 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf | |
1562 | %attr(755,root,root) %{_libdir}/%{name}/apache.so | |
1018cae1 TP |
1563 | %endif |
1564 | %endif | |
61ccc70a | 1565 | |
5e965dc7 PG |
1566 | %files apcups |
1567 | %defattr(644,root,root,755) | |
1568 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf | |
1569 | %attr(755,root,root) %{_libdir}/%{name}/apcups.so | |
1570 | ||
1018cae1 | 1571 | %if %{with curl} |
8bf13ddb | 1572 | %files ascent |
61ccc70a | 1573 | %defattr(640,root,root,755) |
711f12a6 | 1574 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf |
8bf13ddb | 1575 | %attr(755,root,root) %{_libdir}/%{name}/ascent.so |
1018cae1 | 1576 | %endif |
18e77dbc | 1577 | |
5e965dc7 | 1578 | %files battery |
5fafedfc | 1579 | %defattr(644,root,root,755) |
5e965dc7 PG |
1580 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf |
1581 | %attr(755,root,root) %{_libdir}/%{name}/battery.so | |
1582 | ||
1018cae1 TP |
1583 | %if %{with xml} |
1584 | %if %{with curl} | |
b8e7f76a PG |
1585 | %files bind |
1586 | %defattr(644,root,root,755) | |
1587 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf | |
1588 | %attr(755,root,root) %{_libdir}/%{name}/bind.so | |
1018cae1 TP |
1589 | %endif |
1590 | %endif | |
b8e7f76a | 1591 | |
a9b34e68 PG |
1592 | %files contextswitch |
1593 | %defattr(644,root,root,755) | |
1594 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf | |
1595 | %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so | |
1596 | ||
d94da88b | 1597 | %files conntrack |
1598 | %defattr(644,root,root,755) | |
1599 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf | |
1600 | %attr(755,root,root) %{_libdir}/%{name}/conntrack.so | |
1601 | ||
5e965dc7 PG |
1602 | %files cpu |
1603 | %defattr(644,root,root,755) | |
1604 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf | |
1605 | %attr(755,root,root) %{_libdir}/%{name}/cpu.so | |
1606 | ||
1607 | %files cpufreq | |
1608 | %defattr(644,root,root,755) | |
1609 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf | |
1610 | %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so | |
1611 | ||
1612 | %files csv | |
1613 | %defattr(644,root,root,755) | |
1614 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf | |
1615 | %attr(755,root,root) %{_libdir}/%{name}/csv.so | |
1616 | ||
1018cae1 | 1617 | %if %{with curl} |
b8e7f76a | 1618 | %files curl |
61ccc70a | 1619 | %defattr(640,root,root,755) |
b8e7f76a PG |
1620 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf |
1621 | %attr(755,root,root) %{_libdir}/%{name}/curl.so | |
fa204bb4 CM |
1622 | %if %{with xml} |
1623 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf | |
1624 | %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so | |
1625 | %endif | |
854e23ef AF |
1626 | |
1627 | %files curl_json | |
1628 | %defattr(640,root,root,755) | |
1629 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf | |
1630 | %attr(755,root,root) %{_libdir}/%{name}/curl_json.so | |
1018cae1 | 1631 | %endif |
b8e7f76a PG |
1632 | |
1633 | %files dbi | |
61ccc70a | 1634 | %defattr(640,root,root,755) |
b8e7f76a PG |
1635 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf |
1636 | %attr(755,root,root) %{_libdir}/%{name}/dbi.so | |
1637 | ||
5e965dc7 PG |
1638 | %files df |
1639 | %defattr(644,root,root,755) | |
1640 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf | |
1641 | %attr(755,root,root) %{_libdir}/%{name}/df.so | |
1642 | ||
1643 | %files disk | |
1644 | %defattr(644,root,root,755) | |
1645 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf | |
1646 | %attr(755,root,root) %{_libdir}/%{name}/disk.so | |
5fafedfc | 1647 | |
7e70ab62 | 1648 | %if %{with dns} |
8bf13ddb PG |
1649 | %files dns |
1650 | %defattr(644,root,root,755) | |
711f12a6 | 1651 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf |
8bf13ddb | 1652 | %attr(755,root,root) %{_libdir}/%{name}/dns.so |
7e70ab62 | 1653 | %endif |
8bf13ddb | 1654 | |
5e965dc7 PG |
1655 | %files email |
1656 | %defattr(644,root,root,755) | |
1657 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf | |
1658 | %attr(755,root,root) %{_libdir}/%{name}/email.so | |
1659 | %{_mandir}/man5/collectd-email.5* | |
1660 | ||
1661 | %files entropy | |
1662 | %defattr(644,root,root,755) | |
1663 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf | |
1664 | %attr(755,root,root) %{_libdir}/%{name}/entropy.so | |
1665 | ||
cc6085e4 | 1666 | %files ethstat |
1667 | %defattr(644,root,root,755) | |
1668 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ethstat.conf | |
1669 | %attr(755,root,root) %{_libdir}/%{name}/ethstat.so | |
1670 | ||
5e965dc7 PG |
1671 | %files exec |
1672 | %defattr(644,root,root,755) | |
1673 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf | |
1674 | %attr(755,root,root) %{_libdir}/%{name}/exec.so | |
1675 | %{_mandir}/man5/collectd-exec.5* | |
1676 | ||
1677 | %files filecount | |
1678 | %defattr(644,root,root,755) | |
1679 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf | |
1680 | %attr(755,root,root) %{_libdir}/%{name}/filecount.so | |
1681 | ||
d94da88b | 1682 | %files fscache |
1683 | %defattr(644,root,root,755) | |
1684 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf | |
1685 | %attr(755,root,root) %{_libdir}/%{name}/fscache.so | |
1686 | ||
8bf13ddb PG |
1687 | %files hddtemp |
1688 | %defattr(644,root,root,755) | |
711f12a6 | 1689 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf |
8bf13ddb PG |
1690 | %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so |
1691 | ||
5e965dc7 PG |
1692 | %files interface |
1693 | %defattr(644,root,root,755) | |
1694 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf | |
1695 | %attr(755,root,root) %{_libdir}/%{name}/interface.so | |
1696 | ||
87ba198e | 1697 | %if %{with ipmi} |
1698 | %files ipmi | |
1699 | %defattr(644,root,root,755) | |
711f12a6 | 1700 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf |
87ba198e | 1701 | %attr(755,root,root) %{_libdir}/%{name}/ipmi.so |
1702 | %endif | |
1703 | ||
5e965dc7 PG |
1704 | %if %{with iptables} |
1705 | %files iptables | |
1706 | %defattr(644,root,root,755) | |
1707 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf | |
1708 | %attr(755,root,root) %{_libdir}/%{name}/iptables.so | |
1709 | %endif | |
1710 | ||
1711 | %files irq | |
1712 | %defattr(644,root,root,755) | |
1713 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf | |
1714 | %attr(755,root,root) %{_libdir}/%{name}/irq.so | |
1715 | ||
1eb8d64b | 1716 | %if %{with libvirt} |
7a3b7a2c AF |
1717 | %files libvirt |
1718 | %defattr(644,root,root,755) | |
1719 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf | |
1720 | %attr(755,root,root) %{_libdir}/%{name}/libvirt.so | |
1eb8d64b | 1721 | %endif |
7a3b7a2c | 1722 | |
5e965dc7 PG |
1723 | %files load |
1724 | %defattr(644,root,root,755) | |
1725 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf | |
1726 | %attr(755,root,root) %{_libdir}/%{name}/load.so | |
1727 | ||
1728 | %files logfile | |
1729 | %defattr(644,root,root,755) | |
1730 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf | |
1731 | %attr(755,root,root) %{_libdir}/%{name}/logfile.so | |
4929f1a7 | 1732 | %{_var}/log/collectd.log |
5e965dc7 | 1733 | |
a9b34e68 PG |
1734 | %files madwifi |
1735 | %defattr(644,root,root,755) | |
1736 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf | |
1737 | %attr(755,root,root) %{_libdir}/%{name}/madwifi.so | |
b5cac6d2 | 1738 | |
a9b34e68 PG |
1739 | %files match_empty_counter |
1740 | %defattr(644,root,root,755) | |
1741 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf | |
1742 | %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so | |
1743 | ||
1744 | %files match_hashed | |
1745 | %defattr(644,root,root,755) | |
1746 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf | |
1747 | %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so | |
1748 | ||
b8e7f76a PG |
1749 | %files match_regex |
1750 | %defattr(644,root,root,755) | |
1751 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf | |
1752 | %attr(755,root,root) %{_libdir}/%{name}/match_regex.so | |
1753 | ||
1754 | %files match_timediff | |
1755 | %defattr(644,root,root,755) | |
1756 | %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so | |
80d5b170 | 1757 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf |
b8e7f76a PG |
1758 | |
1759 | %files match_value | |
1760 | %defattr(644,root,root,755) | |
1761 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf | |
1762 | %attr(755,root,root) %{_libdir}/%{name}/match_value.so | |
1763 | ||
5e965dc7 PG |
1764 | %files mbmon |
1765 | %defattr(644,root,root,755) | |
1766 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf | |
1767 | %attr(755,root,root) %{_libdir}/%{name}/mbmon.so | |
1768 | ||
cc6085e4 | 1769 | %files md |
1770 | %defattr(644,root,root,755) | |
1771 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/md.conf | |
1772 | %attr(755,root,root) %{_libdir}/%{name}/md.so | |
1773 | ||
9987a2c5 PG |
1774 | %files memcachec |
1775 | %defattr(644,root,root,755) | |
1776 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf | |
1777 | %attr(755,root,root) %{_libdir}/%{name}/memcachec.so | |
1778 | ||
5e965dc7 PG |
1779 | %files memcached |
1780 | %defattr(644,root,root,755) | |
1781 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf | |
1782 | %attr(755,root,root) %{_libdir}/%{name}/memcached.so | |
1783 | ||
1784 | %files memory | |
1785 | %defattr(644,root,root,755) | |
1786 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf | |
1787 | %attr(755,root,root) %{_libdir}/%{name}/memory.so | |
1788 | ||
b46e10b6 | 1789 | %if %{with modbus} |
1790 | %files modbus | |
1791 | %defattr(644,root,root,755) | |
1792 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/modbus.conf | |
1793 | %attr(755,root,root) %{_libdir}/%{name}/modbus.so | |
1794 | %endif | |
1795 | ||
5e965dc7 PG |
1796 | %if %{with multimeter} |
1797 | %files multimeter | |
1798 | %defattr(644,root,root,755) | |
1799 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf | |
1800 | %attr(755,root,root) %{_libdir}/%{name}/multimeter.so | |
1801 | %endif | |
1802 | ||
1018cae1 | 1803 | %if %{with mysql} |
18e77dbc | 1804 | %files mysql |
61ccc70a | 1805 | %defattr(640,root,root,755) |
711f12a6 | 1806 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf |
18e77dbc | 1807 | %attr(755,root,root) %{_libdir}/%{name}/mysql.so |
1018cae1 | 1808 | %endif |
8bf13ddb | 1809 | |
5e965dc7 PG |
1810 | %if %{with netlink} |
1811 | %files netlink | |
1812 | %defattr(644,root,root,755) | |
1813 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf | |
1814 | %attr(755,root,root) %{_libdir}/%{name}/netlink.so | |
1815 | %endif | |
1816 | ||
1817 | %files network | |
1818 | %defattr(644,root,root,755) | |
1819 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf | |
1820 | %attr(755,root,root) %{_libdir}/%{name}/network.so | |
1821 | ||
1822 | %files nfs | |
1823 | %defattr(644,root,root,755) | |
1824 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf | |
1825 | %attr(755,root,root) %{_libdir}/%{name}/nfs.so | |
1826 | ||
1018cae1 | 1827 | %if %{with curl} |
8bf13ddb | 1828 | %files nginx |
61ccc70a | 1829 | %defattr(640,root,root,755) |
711f12a6 | 1830 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf |
8bf13ddb | 1831 | %attr(755,root,root) %{_libdir}/%{name}/nginx.so |
1018cae1 | 1832 | %endif |
8bf13ddb | 1833 | |
1018cae1 | 1834 | %if %{with notify} |
7be39ce7 | 1835 | %files notify_desktop |
1836 | %defattr(644,root,root,755) | |
711f12a6 | 1837 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf |
7be39ce7 | 1838 | %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so |
1018cae1 | 1839 | %endif |
7be39ce7 | 1840 | |
1018cae1 | 1841 | %if %{with libesmtp} |
b4b27e4a | 1842 | %files notify_email |
61ccc70a | 1843 | %defattr(640,root,root,755) |
711f12a6 | 1844 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf |
b4b27e4a | 1845 | %attr(755,root,root) %{_libdir}/%{name}/notify_email.so |
1018cae1 | 1846 | %endif |
b4b27e4a | 1847 | |
5e965dc7 PG |
1848 | %files ntpd |
1849 | %defattr(644,root,root,755) | |
1850 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf | |
1851 | %attr(755,root,root) %{_libdir}/%{name}/ntpd.so | |
1852 | ||
cc6085e4 | 1853 | %files numa |
1854 | %defattr(644,root,root,755) | |
1855 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/numa.conf | |
1856 | %attr(755,root,root) %{_libdir}/%{name}/numa.so | |
1857 | ||
1018cae1 | 1858 | %if %{with ups} |
b4b27e4a PG |
1859 | %files nut |
1860 | %defattr(644,root,root,755) | |
711f12a6 | 1861 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf |
b4b27e4a | 1862 | %attr(755,root,root) %{_libdir}/%{name}/nut.so |
1018cae1 | 1863 | %endif |
b4b27e4a | 1864 | |
a9b34e68 PG |
1865 | %files olsrd |
1866 | %defattr(644,root,root,755) | |
1867 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf | |
1868 | %attr(755,root,root) %{_libdir}/%{name}/olsrd.so | |
1869 | ||
b8e7f76a PG |
1870 | %files openvpn |
1871 | %defattr(644,root,root,755) | |
1872 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf | |
1873 | %attr(755,root,root) %{_libdir}/%{name}/openvpn.so | |
1874 | ||
854e23ef AF |
1875 | %files perl |
1876 | %defattr(644,root,root,755) | |
1877 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf | |
1878 | %attr(755,root,root) %{_libdir}/%{name}/perl.so | |
1879 | %{_mandir}/man5/collectd-perl.5* | |
1880 | ||
1018cae1 | 1881 | %if %{with ping} |
907cfb56 PG |
1882 | %files ping |
1883 | %defattr(644,root,root,755) | |
711f12a6 | 1884 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf |
907cfb56 | 1885 | %attr(755,root,root) %{_libdir}/%{name}/ping.so |
1018cae1 | 1886 | %endif |
907cfb56 | 1887 | |
b5cac6d2 | 1888 | %if %{with pgsql} |
b4b27e4a | 1889 | %files postgresql |
61ccc70a | 1890 | %defattr(640,root,root,755) |
711f12a6 | 1891 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf |
b4b27e4a | 1892 | %attr(755,root,root) %{_libdir}/%{name}/postgresql.so |
8a56fd06 | 1893 | %{_datadir}/%{name}/postgresql_default.conf |
1018cae1 | 1894 | %endif |
b4b27e4a | 1895 | |
4b6e34c7 | 1896 | %files powerdns |
1897 | %defattr(644,root,root,755) | |
711f12a6 | 1898 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf |
4b6e34c7 | 1899 | %attr(755,root,root) %{_libdir}/%{name}/powerdns.so |
1900 | ||
5e965dc7 PG |
1901 | %files processes |
1902 | %defattr(644,root,root,755) | |
1903 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf | |
1904 | %attr(755,root,root) %{_libdir}/%{name}/processes.so | |
1905 | ||
d94da88b | 1906 | %files protocols |
1907 | %defattr(644,root,root,755) | |
1908 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf | |
1909 | %attr(755,root,root) %{_libdir}/%{name}/protocols.so | |
1910 | ||
a9b34e68 PG |
1911 | %files python |
1912 | %defattr(644,root,root,755) | |
1913 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf | |
1914 | %attr(755,root,root) %{_libdir}/%{name}/python.so | |
1915 | %{_mandir}/man5/collectd-python.5* | |
1916 | ||
1018cae1 | 1917 | %if %{with rrd} |
854e23ef AF |
1918 | %files rrdcached |
1919 | %defattr(644,root,root,755) | |
1920 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf | |
1921 | %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so | |
1922 | ||
8bf13ddb PG |
1923 | %files rrdtool |
1924 | %defattr(644,root,root,755) | |
711f12a6 | 1925 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf |
8bf13ddb | 1926 | %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so |
1018cae1 | 1927 | %endif |
8bf13ddb | 1928 | |
1018cae1 | 1929 | %if %{with sensors} |
8bf13ddb PG |
1930 | %files sensors |
1931 | %defattr(644,root,root,755) | |
711f12a6 | 1932 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf |
8bf13ddb | 1933 | %attr(755,root,root) %{_libdir}/%{name}/sensors.so |
1018cae1 | 1934 | %endif |
8bf13ddb | 1935 | |
5e965dc7 PG |
1936 | %files serial |
1937 | %defattr(644,root,root,755) | |
1938 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf | |
1939 | %attr(755,root,root) %{_libdir}/%{name}/serial.so | |
1940 | ||
1018cae1 | 1941 | %if %{with snmp} |
8bf13ddb PG |
1942 | %files snmp |
1943 | %defattr(644,root,root,755) | |
711f12a6 | 1944 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf |
8bf13ddb | 1945 | %attr(755,root,root) %{_libdir}/%{name}/snmp.so |
5e965dc7 | 1946 | %{_mandir}/man5/collectd-snmp.5* |
1018cae1 | 1947 | %endif |
5e965dc7 PG |
1948 | |
1949 | %files swap | |
1950 | %defattr(644,root,root,755) | |
1951 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf | |
1952 | %attr(755,root,root) %{_libdir}/%{name}/swap.so | |
1953 | ||
1954 | %files syslog | |
1955 | %defattr(644,root,root,755) | |
1956 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf | |
1957 | %attr(755,root,root) %{_libdir}/%{name}/syslog.so | |
1958 | ||
d94da88b | 1959 | %files table |
1960 | %defattr(644,root,root,755) | |
1961 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf | |
1962 | %attr(755,root,root) %{_libdir}/%{name}/table.so | |
1963 | ||
5e965dc7 PG |
1964 | %files tail |
1965 | %defattr(644,root,root,755) | |
1966 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf | |
1967 | %attr(755,root,root) %{_libdir}/%{name}/tail.so | |
1968 | ||
b8e7f76a PG |
1969 | %files target_notification |
1970 | %defattr(644,root,root,755) | |
1971 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf | |
1972 | %attr(755,root,root) %{_libdir}/%{name}/target_notification.so | |
1973 | ||
1974 | %files target_replace | |
1975 | %defattr(644,root,root,755) | |
1976 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf | |
1977 | %attr(755,root,root) %{_libdir}/%{name}/target_replace.so | |
1978 | ||
a9b34e68 PG |
1979 | %files target_scale |
1980 | %defattr(644,root,root,755) | |
1981 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf | |
1982 | %attr(755,root,root) %{_libdir}/%{name}/target_scale.so | |
1983 | ||
b8e7f76a PG |
1984 | %files target_set |
1985 | %defattr(644,root,root,755) | |
1986 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf | |
1987 | %attr(755,root,root) %{_libdir}/%{name}/target_set.so | |
1988 | ||
854e23ef AF |
1989 | %files target_v5upgrade |
1990 | %defattr(644,root,root,755) | |
1991 | %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so | |
1992 | ||
5e965dc7 PG |
1993 | %files tcpconns |
1994 | %defattr(644,root,root,755) | |
1995 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf | |
1996 | %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so | |
1997 | ||
1998 | %files teamspeak2 | |
1999 | %defattr(644,root,root,755) | |
2000 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf | |
2001 | %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so | |
2002 | ||
d94da88b | 2003 | %files ted |
2004 | %defattr(644,root,root,755) | |
2005 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf | |
2006 | %attr(755,root,root) %{_libdir}/%{name}/ted.so | |
2007 | ||
5e965dc7 PG |
2008 | %files thermal |
2009 | %defattr(644,root,root,755) | |
2010 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf | |
2011 | %attr(755,root,root) %{_libdir}/%{name}/thermal.so | |
2012 | ||
854e23ef AF |
2013 | %files threshold |
2014 | %defattr(644,root,root,755) | |
2015 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf | |
2016 | %attr(755,root,root) %{_libdir}/%{name}/threshold.so | |
2017 | %{_mandir}/man5/collectd-threshold.5* | |
2018 | ||
5e965dc7 PG |
2019 | %files unixsock |
2020 | %defattr(644,root,root,755) | |
2021 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf | |
2022 | %attr(755,root,root) %{_libdir}/%{name}/unixsock.so | |
2023 | %{_mandir}/man5/collectd-unixsock.5* | |
2024 | ||
d94da88b | 2025 | %files uptime |
2026 | %defattr(644,root,root,755) | |
2027 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf | |
2028 | %attr(755,root,root) %{_libdir}/%{name}/uptime.so | |
2029 | ||
5e965dc7 PG |
2030 | %files users |
2031 | %defattr(644,root,root,755) | |
2032 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf | |
2033 | %attr(755,root,root) %{_libdir}/%{name}/users.so | |
8bf13ddb PG |
2034 | |
2035 | %files uuid | |
2036 | %defattr(644,root,root,755) | |
711f12a6 | 2037 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf |
8bf13ddb PG |
2038 | %attr(755,root,root) %{_libdir}/%{name}/uuid.so |
2039 | ||
59c04f42 | 2040 | %if %{with varnish} |
854e23ef AF |
2041 | %files varnish |
2042 | %defattr(644,root,root,755) | |
2043 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf | |
2044 | %attr(755,root,root) %{_libdir}/%{name}/varnish.so | |
59c04f42 | 2045 | %endif |
854e23ef | 2046 | |
5e965dc7 PG |
2047 | %files vmem |
2048 | %defattr(644,root,root,755) | |
2049 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf | |
2050 | %attr(755,root,root) %{_libdir}/%{name}/vmem.so | |
2051 | ||
2052 | %files vserver | |
2053 | %defattr(644,root,root,755) | |
2054 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf | |
2055 | %attr(755,root,root) %{_libdir}/%{name}/vserver.so | |
2056 | ||
2057 | %files wireless | |
2058 | %defattr(644,root,root,755) | |
2059 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf | |
2060 | %attr(755,root,root) %{_libdir}/%{name}/wireless.so | |
2061 | ||
cc6085e4 | 2062 | %files write_graphite |
2063 | %defattr(644,root,root,755) | |
2064 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_graphite.conf | |
2065 | %attr(755,root,root) %{_libdir}/%{name}/write_graphite.so | |
2066 | ||
a9b34e68 PG |
2067 | %files write_http |
2068 | %defattr(644,root,root,755) | |
2069 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf | |
2070 | %attr(755,root,root) %{_libdir}/%{name}/write_http.so | |
2071 | ||
1018cae1 | 2072 | %if %{with xmms} |
8bf13ddb PG |
2073 | %files xmms |
2074 | %defattr(644,root,root,755) | |
711f12a6 | 2075 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf |
8bf13ddb | 2076 | %attr(755,root,root) %{_libdir}/%{name}/xmms.so |
1018cae1 | 2077 | %endif |
f26b05df | 2078 | |
2079 | %files -n perl-Collectd | |
2080 | %defattr(644,root,root,755) | |
2081 | %{perl_vendorlib}/Collectd.pm | |
2082 | %{perl_vendorlib}/Collectd | |
f6678d00 | 2083 | %{_mandir}/man3/*.3* |