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