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