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