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