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