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