1 # $Revision: 1.120 $, $Date: 2012-03-20 18:02:46 $
3 # - package contrib scripts as %doc
4 # - perl modules with Collectd classes package to separate package
5 # - Bundled libraries - check if its not changed ones and if it can be
7 # liboconfig . . . . . yes (shipped version)
8 # - Libraries not found by configure:
9 # libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
10 # libganglia . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
11 # libiokit . . . . . . no (Darwin only)
12 # libjvm . . . . . . . no (javac not found)
13 # libkstat . . . . . . no (Solaris only)
14 # libkvm . . . . . . . no (BSD only)
15 # libnetapp . . . . . . no (netapp_api.h not found) (properitary)
16 # libperfstat . . . . . no (AIX only)
17 # librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/)
18 # librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/)
19 # libtokyotyrant . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/)
20 # libyajl . . . . . . . no (yajl/yajl_parse.h not found)
21 # protobuf-c . . . . . no
22 # oracle . . . . . . . no (ORACLE_HOME is not set)
23 # - Disabled modules (build most of them an package):
24 # amqp . . . . . . . no
25 # apple_sensors . . . . no (Darwin only)
26 # gmond . . . . . . . . no
27 # ipvs . . . . . . . . no (ip_vs.h not found - llh to be fixed)
28 # java . . . . . . . . no
29 # lpar... . . . . . . . no
30 # multimeter . . . . . no ?
31 # netapp . . . . . . . no
32 # onewire . . . . . . . no (needs libowfs)
33 # oracle . . . . . . . no
34 # pinba . . . . . . . . no
35 # redis . . . . . . . . no
36 # routeros . . . . . . no
37 # tape . . . . . . . . no ?
38 # tokyotyrant . . . . . no
39 # write_redis . . . . . no
40 # zfs_arc . . . . . . . no
41 # - logrotate file for logfile plugin
42 # - %desc -l pl for plugins
43 # - package SpamAssassin plugin from contrib
46 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
47 %bcond_without dns # DNS plugin
48 %bcond_without ipmi # IPMI plugin
49 %bcond_without iptables # iptables plugin
50 %bcond_without libesmtp # notify_email plugin
51 %bcond_without libvirt # libvirt plugin
52 %bcond_without modbus # modbus plugin
53 %bcond_with multimeter # multimeter plugin
54 %bcond_without mysql # MySQL plugin
55 %bcond_without netlink # netlink plugin
56 %bcond_without notify # notify_desktop plugin
57 %bcond_without ping # ping plugin
58 %bcond_without pgsql # PostgreSQL plugin
59 %bcond_without rrd # rrdtool and rrdcached plugins
60 %bcond_without sensors # sensors plugin
61 %bcond_without snmp # SNMP plugin
62 %bcond_without ups # nut plugin
63 %bcond_without varnish # varnish plugin
64 %bcond_without xml # ascent, bind and libvirt plugins
65 %bcond_without xmms # XMMS plugin
67 Summary: Collects system information in RRD files
68 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
74 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
75 # Source0-md5: 47f70ae20801f10be355dc8109d696aa
78 Source3: %{name}-http.conf
79 Source4: %{name}-lighttpd.conf
80 Source10: %{name}-df.conf
81 Source11: %{name}-rrdtool.conf
82 Patch0: %{name}-collection.patch
87 Patch5: %{name}-netlink.patch
88 Patch6: %{name}-modbus.patch
89 URL: http://collectd.org/
90 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
91 BuildRequires: autoconf
92 BuildRequires: automake
93 %{?with_curl:BuildRequires: curl-devel}
94 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
95 BuildRequires: libdbi-devel
96 %{?with_libesmtp:BuildRequires: libesmtp-devel}
97 BuildRequires: libltdl-devel
98 BuildRequires: libmemcached-devel
99 BuildRequires: libnetlink-devel
100 %{?with_netlink:BuildRequires: libnetlink-devel}
101 %{?with_libvirt:BuildRequires: libnl1-devel}
102 %{?with_notify:BuildRequires: libnotify-devel}
103 %{?with_ping:BuildRequires: liboping-devel}
104 %{?with_dns:BuildRequires: libpcap-devel}
105 BuildRequires: libstatgrab-devel >= 0.12
106 BuildRequires: libstdc++-devel
107 BuildRequires: libtool
108 %{?with_xml:BuildRequires: libxml2-devel}
109 %{?with_sensors:BuildRequires: lm_sensors-devel}
110 %{?with_modbus:BuildRequires: libmodbus-devel}
111 %{?with_mysql:BuildRequires: mysql-devel}
112 %{?with_libvirt:BuildRequires: libvirt-devel}
113 BuildRequires: ncurses-devel
114 %{?with_snmp:BuildRequires: net-snmp-devel}
115 %{?with_libvirt:BuildRequires: numactl-devel}
116 %{?with_ups:BuildRequires: nut-devel}
117 BuildRequires: perl-devel
118 BuildRequires: pkgconfig
119 %{?with_pgsql:BuildRequires: postgresql-devel}
120 BuildRequires: python-devel
121 BuildRequires: python-modules
122 BuildRequires: rpmbuild(macros) >= 1.268
123 %{?with_rrd:BuildRequires: rrdtool-devel}
124 %{?with_varnish:BuildRequires: varnish-devel}
126 #BuildRequires: xfsprogs-devel
127 %{?with_xmms:BuildRequires: xmms-devel}
128 BuildRequires: yajl-devel
129 Requires(post,preun): /sbin/chkconfig
130 Requires: %{name}-libs = %{version}-%{release}
132 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
134 %define _pkglibdir %{_sharedstatedir}/%{name}
135 %define _webapps /etc/webapps
136 %define _webapp %{name}
137 %define _webappdir %{_webapps}/%{_webapp}
138 %define _appdir %{_datadir}/%{_webapp}
141 collectd is a small daemon which collects system information every 10
142 seconds and writes the results in an RRD-file.
144 In contrast to most similar software, collectd is not a script but
145 written in plain C for performance and portability. As a daemon it
146 stays in memory, so there is no need to start up a heavy interpreter
147 every time new values should be logged. This allows collectd to have a
148 10 second resolution while being nice to the system.
150 %description -l pl.UTF-8
151 collectd to mały demon zbierający co 10 sekund informacje o systemie
152 i zapisujący wyniki do pliku RRD.
154 W odróżnieniu od innych podobnych programów collectd nie jest
155 skryptem, lecz jest napisany w czystym C z myślą o wydajności
156 i przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
157 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
158 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
159 sekund i nie obciążać zbytnio systemu.
162 Summary: %{name} libraries
163 Summary(pl.UTF-8): Biblioteki %{name}
169 %description libs -l pl.UTF-8
173 Summary: Header files for %{name} libraries
174 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
175 Group: Development/Libraries
176 Requires: %{name}-libs = %{version}-%{release}
179 Header files for %{name} libraries.
181 %description devel -l pl.UTF-8
182 Pliki nagłówkowe bibliotek %{name}.
185 Summary: Static files for %{name} libraries
186 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
187 Group: Development/Libraries
188 Requires: %{name}-libs = %{version}-%{release}
191 Static files for %{name} libraries.
193 %description static -l pl.UTF-8
194 Pliki statyczne bibliotek %{name}.
197 Summary: apache-plugin for collectd
198 Summary(pl.UTF-8): Wtyczka apache dla collectd
200 Requires: %{name} = %{version}-%{release}
203 This plugin collect data provided by Apache's `mod_status'.
205 %description apache -l pl.UTF-8
206 Wtyczka collectd zbierająca informacje udostępniane przez moduł
210 Summary: APC UPS plugin for collectd
211 Summary(pl.UTF-8): Wtyczka APC UPS dla collectd
213 Requires: %{name} = %{version}-%{release}
216 The APC UPS plugin connects to an instance of Apcupsd to read various
217 statistics about a connected uninterruptible power supply (UPS), such
218 as voltage, load, etc.
221 Summary: ascent-plugin for collectd
222 Summary(pl.UTF-8): Wtyczka ascent dla collectd
224 Requires: %{name} = %{version}-%{release}
227 The Ascent plugin reads and parses the statistics page of Ascent, a
228 free and open-source server software for the game World of Warcraft by
229 Blizzard Entertainment.
232 Summary: battery plugin for collectd
233 Summary(pl.UTF-8): Wtyczka battery dla collectd
235 Requires: %{name} = %{version}-%{release}
238 This plugin collects the battery's charge, the drawn current and the
242 Summary: bind plugin for collectd
243 Summary(pl.UTF-8): Wtyczka bind dla collectd
245 Requires: %{name} = %{version}-%{release}
248 Starting with BIND 9.5.0, the most widely used DNS server software
249 provides extensive statistics about queries, responses and lots of
250 other information. The bind plugin retrieves this information that's
251 encoded in XML and provided via HTTP and submits the values to
255 Summary: Web script for collectd
256 Summary(pl.UTF-8): Web script for collectd
257 Group: Applications/WWW
258 Requires: %{name} = %{version}-%{release}
260 Requires: perl(Data::Dumper)
261 Requires: perl(HTML::Entities)
263 Requires: perl(URI::Escape)
264 Requires: webserver(cgi)
265 Suggests: fonts-TTF-DejaVu
267 %description collection
268 Web script for collectd.
271 Summary: Web script for collectd
272 Summary(pl.UTF-8): Web script for collectd
273 Group: Applications/WWW
274 Requires: %{name} = %{version}-%{release}
275 Requires: perl-Collectd = %{version}-%{release}
276 Requires: perl(Config::General)
277 Requires: perl(HTML::Entities)
278 Requires: perl(Regexp::Common)
280 Requires: webserver(cgi)
281 Suggests: fonts-TTF-DejaVu
283 %description collection3
284 Web script for collectd.
286 %package contextswitch
287 Summary: contextswitch-plugin for collectd
288 Summary(pl.UTF-8): Wtyczka contextswitch dla collectd
290 Requires: %{name} = %{version}-%{release}
292 %description contextswitch
293 The ContextSwitch plugin collects the number of context switches done
294 by the operating system.
297 Summary: conntrack-plugin for collectd
298 Summary(pl.UTF-8): Wtyczka conntrack dla collectd
300 Requires: %{name} = %{version}-%{release}
302 %description conntrack
303 The conntrack-plugin collects the connection tracking table size.
306 Summary: cpu-plugin for collectd
307 Summary(pl.UTF-8): Wtyczka cpu dla collectd
309 Requires: %{name} = %{version}-%{release}
312 The cpu-plugin collects the amount of time spent by the CPU in various
313 states, most notably executing user code, executing system code,
314 waiting for IO operations and being idle.
317 Summary: cpufreq-plugin for collectd
318 Summary(pl.UTF-8): Wtyczka cpufreq dla collectd
320 Requires: %{name} = %{version}-%{release}
323 Collects the current CPU's frequency, mostly for mobile computers.
326 Summary: CSV output plugin for collectd
327 Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd
329 Requires: %{name} = %{version}-%{release}
332 CSV output plugin for collectd.
335 Summary: cURL output plugin for collectd
336 Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd
338 Requires: %{name} = %{version}-%{release}
341 The curl plugin uses the libcurl to read web pages and the match
342 infrastructure (the same code used by the tail plugin) to use regular
343 expressions with the received data.
346 Summary: cURL JSON plugin for collectd
347 Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd
349 Requires: %{name} = %{version}-%{release}
351 %description curl_json
352 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
353 using the cURL library and parses it according to the user's
354 configuration using Yet Another JSON Library (YAJL). This can be used
355 to query statistics information from a CouchDB instance, for example.
358 Summary: dbi plugin for collectd
359 Summary(pl.UTF-8): Wtyczka dbi dla collectd
361 Requires: %{name} = %{version}-%{release}
364 This plugin uses the dbi library to connect to various databases,
365 execute SQL statements and read back the results. dbi is an acronym
366 for "database interface" in case you were wondering about the name.
367 You can configure how each column is to be interpreted and the plugin
368 will generate one or more data sets from each row returned according
372 Summary: df-plugin for collectd
373 Summary(pl.UTF-8): Wtyczka df dla collectd
375 Requires: %{name} = %{version}-%{release}
378 The df-plugin collects file system usage information, i. e. basically
379 how much space on a mounted partition is used and how much is
380 available. It's named after and very similar to the df(1) UNIX command
381 that's been around forever.
384 Summary: disk-plugin for collectd
385 Summary(pl.UTF-8): Wtyczka disk dla collectd
387 Requires: %{name} = %{version}-%{release}
390 This plugin collects performance statistics of harddisks and, where
391 supported, partitions.
394 Summary: dns-plugin for collectd
395 Summary(pl.UTF-8): Wtyczka dns dla collectd
397 Requires: %{name} = %{version}-%{release}
398 Requires: perl-rrdtool
401 This plugin has a similar functionality to dnstop: It uses libpcap to
402 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
403 interprets the packets and collects statistics of your DNS traffic.
406 Summary: email-plugin for collectd
407 Summary(pl.UTF-8): Wtyczka email dla collectd
409 Requires: %{name} = %{version}-%{release}
412 The email plugin opens an UNIX-socket over which one can submit email
413 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
414 mails received/handled, spam scores and matched spam checks.
416 This plugin is intended to be used with the the
417 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
418 is included in contrib/, but is of course not limited to that use.
421 Summary: entropy-plugin for collectd
422 Summary(pl.UTF-8): Wtyczka entropy dla collectd
424 Requires: %{name} = %{version}-%{release}
427 The Entropy plugin collects the available entropy on a system. Entropy
428 is important to generate random numbers, which are used for
429 encryption, authorization and similar tasks.
432 Summary: exec-plugin for collectd
433 Summary(pl.UTF-8): Wtyczka exec dla collectd
435 Requires: %{name} = %{version}-%{release}
438 The exec plugin forks of an executable either to receive values or to
439 dispatch notifications to the outside world.
442 Summary: filecount-plugin for collectd
443 Summary(pl.UTF-8): Wtyczka filecount dla collectd
445 Requires: %{name} = %{version}-%{release}
447 %description filecount
448 The filecount-plugin does something very simple: Count the number of
449 files in a directory and all its subdirectories. This can be used for
450 a variety of statistics, for example the queue length of an MTA, the
451 number of PHP sessions of a web server or simply the number of files
452 in your home directory.
455 Summary: fscache-plugin for collectd
456 Summary(pl.UTF-8): Wtyczka fscache dla collectd
458 Requires: %{name} = %{version}-%{release}
461 The fscache-plugin collects statistics about Linux file-system based
465 Summary: hddtemp-plugin for collectd
466 Summary(pl.UTF-8): Wtyczka hddtemp dla collectd
468 Requires: %{name} = %{version}-%{release}
469 Suggests: hddtemp-hddtempd
472 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
473 and queried by the external hddtemp-daemon.
476 Summary: interface-plugin for collectd
477 Summary(pl.UTF-8): Wtyczka interface dla collectd
479 Requires: %{name} = %{version}-%{release}
481 %description interface
482 The interface-plugin collects information about the traffic (octets),
483 packets and errors of interfaces.
486 Summary: iptables-plugin for collectd
487 Summary(pl.UTF-8): Wtyczka iptables dla collectd
489 Requires: %{name} = %{version}-%{release}
491 %description iptables
492 With this plugin you can gather statistics from your ip_tables based
493 packetfilter (aka. firewall). It can collect the byte- and
494 packet-counters of selected rules and submit them to collectd. You can
495 select rules that should be collected wither by its position (e.g.
496 "the fourth rule in the INPUT queue in the filter table") or by its
497 comment (using the COMMENT match). This means that depending on your
498 firewall layout you can collect certain services (such as the amount
499 of web-traffic), source or destination hosts or networks, dropped
500 packets and much more.
503 Summary: ipmi-plugin for collectd
504 Summary(pl.UTF-8): Wtyczka ipmi dla collectd
506 Requires: %{name} = %{version}-%{release}
509 The IPMI plugin uses the OpenIPMI library to read hardware sensors
510 from servers using the Intelligent Platform Management Interface
511 (IPMI). IPMI is very common with server hardware but usually not
512 available in consumer hardware.
515 Summary: IRQs-plugin for collectd
516 Summary(pl.UTF-8): Wtyczka IRQs dla collectd
518 Requires: %{name} = %{version}-%{release}
521 The IRQ plugin collects the number of times each interrupt has been
522 handled by the operating system.
525 Summary: libvirt-plugin for collectd
526 Summary(pl.UTF-8): Wtyczka libvirt dla collectd
528 Requires: %{name} = %{version}-%{release}
531 The libvirt plugin uses the virtualization API libvirt, created by
532 RedHat's Emerging Technology group, to gather statistics about
533 virtualized guests on a system. This way, you can collect CPU, network
534 interface and block device usage for each guest without installing
535 collectd on the guest systems. Because the statistics are received
536 from the hypervisor directly, this works not only with
537 para-virtualized hosts, but with hardware virtualized machines, too.
540 Summary: load-plugin for collectd
541 Summary(pl.UTF-8): Wtyczka load dla collectd
543 Requires: %{name} = %{version}-%{release}
546 Collects the system load. These numbers give a rough overview over the
547 utilization of a machine, though their meaning is mostly overrated.
550 Summary: logfile-plugin for collectd
551 Summary(pl.UTF-8): Wtyczka logfile dla collectd
553 Requires: %{name} = %{version}-%{release}
556 The LogFile plugin receives log messages from the daemon and writes
560 Summary: madwifi plugin for collectd
561 Summary(pl.UTF-8): Wtyczka madwifi dla collectd
563 Requires: %{name} = %{version}-%{release}
566 The MadWifi plugin collects information about Atheros wireless LAN
567 chipsets from the MadWifi driver. It uses the /sys filesystem to
568 identify cards handled by this driver automatically but can be
569 configured manually, too. Because very many statistics are available,
570 an advanced selection mechanism is provided.
572 %package match_empty_counter
573 Summary: match_empty_counter plugin for collectd
574 Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd
576 Requires: %{name} = %{version}-%{release}
578 %description match_empty_counter
579 Empty Counter match matches value lists, where at least one data
580 source is of type COUNTER and the counter value of all counter data
583 %package match_hashed
584 Summary: match_hashed plugin for collectd
585 Summary(pl.UTF-8): Wtyczka match_hashed dla collectd
587 Requires: %{name} = %{version}-%{release}
589 %description match_hashed
590 match_hashed plugin for collectd - match for simple load balancing and
594 Summary: match_regex plugin for collectd
595 Summary(pl.UTF-8): Wtyczka match_regex dla collectd
597 Requires: %{name} = %{version}-%{release}
599 %description match_regex
600 match_regex plugin for collectd.
602 %package match_timediff
603 Summary: match_timediff plugin for collectd
604 Summary(pl.UTF-8): Wtyczka match_timediff dla collectd
606 Requires: %{name} = %{version}-%{release}
608 %description match_timediff
609 match_timediff plugin for collectd.
612 Summary: match_value plugin for collectd
613 Summary(pl.UTF-8): Wtyczka match_value dla collectd
615 Requires: %{name} = %{version}-%{release}
617 %description match_value
618 match_value plugin for collectd.
621 Summary: mbmon plugin for collectd
622 Summary(pl.UTF-8): Wtyczka mbmon dla collectd
624 Requires: %{name} = %{version}-%{release}
627 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
630 Summary: memcachec-plugin for collectd
631 Summary(pl.UTF-8): Wtyczka memcachec dla collectd
633 Requires: %{name} = %{version}-%{release}
635 %description memcachec
636 The memcachec plugin connects to a memcached server, queries one or
637 more given pages and parses the returned data according to user
638 specification. The matches used are similar to the matches used in the
639 cURL and Tail plugins.
642 Summary: memcached-plugin for collectd
643 Summary(pl.UTF-8): Wtyczka memcached dla collectd
645 Requires: %{name} = %{version}-%{release}
647 %description memcached
648 The memcached plugin connects to a memcached daemon and collects the
649 number of connections and requests handled by the daemon, the CPU
650 resources consumed, number of items cached, number of threads, and
651 bytes sent and received.
654 Summary: memory-plugin for collectd
655 Summary(pl.UTF-8): Wtyczka memory dla collectd
657 Requires: %{name} = %{version}-%{release}
660 Collects physical memory utilization for collectd.
663 Summary: modbus-plugin for collectd
664 Summary(pl.UTF-8): Wtyczka modbus dla collectd
666 Requires: %{name} = %{version}-%{release}
669 The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and
670 reads register values. It supports reading single registers (unsigned 16
671 bit values), large integer values (unsigned 32 bit values) and
672 floating point values (two registers interpreted as IEEE floats in big
676 Summary: multimeter-plugin for collectd
677 Summary(pl.UTF-8): Wtyczka multimeter dla collectd
679 Requires: %{name} = %{version}-%{release}
681 %description multimeter
682 The Multimeter plugin reads a value (usually a voltage or current)
683 from a multimeter connected to a serial bus. The plugin tries
684 /dev/ttyS0-9 in order to find a multimeter – no configuration is
687 The multimeter used for development was a Metex M-4650CR.
690 Summary: mysql-plugin for collectd
691 Summary(pl.UTF-8): Moduł mysql dla collectd.
693 Requires: %{name} = %{version}-%{release}
694 Requires: mysql-client
697 MySQL querying plugin. This plugins provides data of issued commands,
698 called handlers and database traffic.
700 %description mysql -l pl.UTF-8
701 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
702 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
705 Summary: netlink-plugin for collectd
706 Summary(pl.UTF-8): Wtyczka netlink dla collectd
708 Requires: %{name} = %{version}-%{release}
711 This plugin will open a netlink socket to the Linux kernel and use it
712 to get statistics for interfaces, qdiscs, classes, and, if you can
713 make use of it, filters. Since in most setups many of the statistics
714 this plugin can collect aren't of interest, you can select which
715 information to gather using the configuration.
718 Summary: network-plugin for collectd
719 Summary(pl.UTF-8): Wtyczka network dla collectd
721 Requires: %{name} = %{version}-%{release}
724 The Network plugin can send values to other instances and receive
725 values from other %{name} instances.
728 Summary: NFS-plugin for collectd
729 Summary(pl.UTF-8): Wtyczka NFS dla collectd
731 Requires: %{name} = %{version}-%{release}
734 The nfs plugin counts the number of procedure calls of the different
738 Summary: nginx-plugin for collectd
739 Summary(pl.UTF-8): Wtyczka nginx dla collectd
741 Requires: %{name} = %{version}-%{release}
744 This plugin collects the number of connections and requests handled by
745 the nginx daemon, a HTTP and mail server/proxy. It queries the page
746 provided by the ngx_http_stub_status_module module, which isn't
749 %package notify_desktop
750 Summary: notify_desktop for collectd
751 Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd
753 Requires: %{name} = %{version}-%{release}
754 Requires: dbus(org.freedesktop.Notifications)
756 %description notify_desktop
757 This plugin sends a desktop notification to a notification daemon, as
758 defined in the Desktop Notification Specification.
760 %package notify_email
761 Summary: notify_email-plugin for collectd
762 Summary(pl.UTF-8): Wtyczka notify_email dla collectd
764 Requires: %{name} = %{version}-%{release}
766 %description notify_email
767 The Notify Email plugin uses libESMTP to send notifications to a
768 configured email address(es).
771 Summary: ntpd-plugin for collectd
772 Summary(pl.UTF-8): Wtyczka ntpd dla collectd
774 Requires: %{name} = %{version}-%{release}
777 The NTPd plugin queries an NTP server (usually the local one, where
778 statistics access is allowed) and extracts :
779 - "local" clock parameters: time offset, error and offset loop,
780 - parameters for each NTP server used to sync time: offset,
784 Summary: nut-plugin for collectd
785 Summary(pl.UTF-8): Wtyczka nut dla collectd
787 Requires: %{name} = %{version}-%{release}
790 UPS statistics using the Network UPS Tools. These statistics include
791 basically everything NUT will give us, including voltages, currents,
792 power, frequencies, load, and temperatures.
795 Summary: olsrd plugin for collectd
796 Summary(pl.UTF-8): Wtyczka olsrd dla collectd
798 Requires: %{name} = %{version}-%{release}
801 The olsrd plugin reads information about meshed networks from the
802 txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
805 Summary: openvpn plugin for collectd
806 Summary(pl.UTF-8): Wtyczka openvpn dla collectd
808 Requires: %{name} = %{version}-%{release}
812 The OpenVPN plugin reads a status file maintained by OpenVPN and
813 gathers traffic statistics about connected clients.
816 Summary: perl plugin for collectd
817 Summary(pl.UTF-8): Wtyczka perl dla collectd
819 Requires: %{name} = %{version}-%{release}
820 Requires: perl-Collectd = %{version}-%{release}
823 The Perl plugin embeds a Perl interpreter into collectd and exposes
824 the application programming interface (API) to Perl-scripts. This
825 allows to write own plugins in the popular scripting language, which
826 are then loaded and executed by the daemon without the need to start a
827 new process and interpreter every few seconds. Perl-modules written
828 for the Perl plugin are therefore more powerful and efficient than
829 scripts executed by the Exec plugin.
832 Summary: ping-plugin for collectd
833 Summary(pl.UTF-8): Wtyczka ping dla collectd
835 Requires: %{name} = %{version}-%{release}
836 Requires: liboping >= 1.1.2
839 The network latency is measured as a roundtrip time. An
840 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
841 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
842 not received within one second the plugin will no longer expect a
843 reply and return. This may happen in several circumstances, e. g. the
844 packet is lost, the host is down, a router has dismissed the packet,
848 Summary: mysql-plugin for collectd
849 Summary(pl.UTF-8): Moduł postgresql dla collectd.
851 Requires: %{name} = %{version}-%{release}
853 %description postgresql
854 The postgresql plugin queries statistics from PostgreSQL databases. It
855 keeps a persistent connection to all configured databases and tries to
856 reconnect if the connection has been interrupted.
859 Summary: powerdns-plugin for collectd
860 Summary(pl.UTF-8): Wtyczka powerdns dla collectd
862 Requires: %{name} = %{version}-%{release}
864 %description powerdns
865 The powerdns plugin queries statistics from an authoritative PowerDNS
866 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
867 of values, many of which are probably meaningless to most users, but
868 may be useful for some.
871 Summary: processes-plugin for collectd
872 Summary(pl.UTF-8): Wtyczka processes dla collectd
874 Requires: %{name} = %{version}-%{release}
876 %description processes
877 This plugin collects the number of processes, grouped by their state
878 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
879 select detailed statistics about selected processes, grouped by name.
882 Summary: protocols-plugin for collectd
883 Summary(pl.UTF-8): Wtyczka protocols dla collectd
885 Requires: %{name} = %{version}-%{release}
887 %description protocols
888 The protocols-plugin provides information about network protocols,
889 such as IP, TCP and UDP.
892 Summary: python-plugin for collectd
893 Summary(pl.UTF-8): Wtyczka python dla collectd
895 Requires: %{name} = %{version}-%{release}
898 The Python plugin embeds a Python interpreter into collectd and
899 exposes the application programming interface (API) to Python-scripts.
900 This allows to write own plugins in the popular scripting language,
901 which are then loaded and executed by the daemon without the need to
902 start a new process and interpreter every few seconds. Python-modules
903 written for the Python plugin are therefore more powerful and
904 efficient than scripts executed by the Exec plugin.
907 Summary: rrdcached-plugin for collectd
908 Summary(pl.UTF-8): Wtyczka rrdcached dla collectd
910 Requires: %{name} = %{version}-%{release}
912 %description rrdcached
913 The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
914 to store values to RRD files in an efficient manner. The combination
915 of the rrdcached plugin and the rrdcached daemon is very similar to
916 the way the rrdtool plugin works.
919 Summary: rrdtool-plugin for collectd
920 Summary(pl.UTF-8): Wtyczka rrdtool dla collectd
922 Requires: %{name} = %{version}-%{release}
926 The RRDtool plugin writes values to RRD-files using librrd.
929 Summary: sensors-plugin for collectd
930 Summary(pl.UTF-8): Wtyczka sensors dla collectd
932 Requires: %{name} = %{version}-%{release}
935 This plugin uses lm-sensors to read hardware sensors. You will need to
936 configure lm-sensors before this plugin will collect any usefull and
940 Summary: serial-plugin for collectd
941 Summary(pl.UTF-8): Wtyczka serial dla collectd
943 Requires: %{name} = %{version}-%{release}
946 The Serial plugin collects the traffic on serial interfaces.
949 Summary: snmp-plugin for collectd
950 Summary(pl.UTF-8): Wtyczka snmp dla collectd
952 Requires: %{name} = %{version}-%{release}
955 The snmp plugin queries other hosts using SNMP, the Simple Network
956 Management Protocol, and translates the value it receives to
957 collectd's internal format and dispatches them. Depending on the write
958 plugins you have loaded they may be written to disk or submitted to
959 another instance or whatever you configured.
962 Summary: swap-plugin for collectd
963 Summary(pl.UTF-8): Wtyczka swap dla collectd
965 Requires: %{name} = %{version}-%{release}
968 The Swap plugin collects the amount of memory currently written onto
969 hard disk or whatever the system calls “swap”.
972 Summary: syslog-plugin for collectd
973 Summary(pl.UTF-8): Wtyczka syslog dla collectd
975 Requires: %{name} = %{version}-%{release}
978 The SysLog plugin receives log messages from the daemon and dispatches
982 Summary: table-plugin for collectd
983 Summary(pl.UTF-8): Wtyczka table dla collectd
985 Requires: %{name} = %{version}-%{release}
988 The table-plugin provides parsing for table-like structured files,
989 such as many files beneath /proc.
991 %package target_notification
992 Summary: target_notification-plugin for collectd
993 Summary(pl.UTF-8): Wtyczka target_notification dla collectd
995 Requires: %{name} = %{version}-%{release}
997 %description target_notification
998 target_notification plugin for collectd.
1000 %package target_replace
1001 Summary: target_replace-plugin for collectd
1002 Summary(pl.UTF-8): Wtyczka target_replace dla collectd
1004 Requires: %{name} = %{version}-%{release}
1006 %description target_replace
1007 target_replace plugin for collectd.
1009 %package target_scale
1010 Summary: target_scale-plugin for collectd
1011 Summary(pl.UTF-8): Wtyczka target_scale dla collectd
1013 Requires: %{name} = %{version}-%{release}
1015 %description target_scale
1016 Target to scale (multiply) values by an arbitrary value.
1019 Summary: target_set-plugin for collectd
1020 Summary(pl.UTF-8): Wtyczka target_set dla collectd
1022 Requires: %{name} = %{version}-%{release}
1024 %description target_set
1025 target_set plugin for collectd.
1027 %package target_v5upgrade
1028 Summary: target_v5upgrade-plugin for collectd
1029 Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd
1031 Requires: %{name} = %{version}-%{release}
1033 %description target_v5upgrade
1034 The v5 upgrade target can be used to upgrade version 4 data to a
1035 changed version 5 layout.
1038 Summary: tail-plugin for collectd
1039 Summary(pl.UTF-8): Wtyczka tail dla collectd
1041 Requires: %{name} = %{version}-%{release}
1044 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
1045 tail -F does. Each line is given to one or more "matches" which test
1046 if the line is relevant for any statistics using a regular expression.
1049 Summary: tcpconns-plugin for collectd
1050 Summary(pl.UTF-8): Wtyczka tcpconns dla collectd
1052 Requires: %{name} = %{version}-%{release}
1054 %description tcpconns
1055 The tcpconns-plugin counts the number of TCP connections to or from a
1056 specified port. Typically the connectioins where you specify the local
1057 port are incoming connections while the connections where you specify
1058 the remote port are outgoing connections.
1061 Summary: teamspeak2-plugin for collectd
1062 Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd
1064 Requires: %{name} = %{version}-%{release}
1066 %description teamspeak2
1067 The teamspeak2 plugin connects to the query port of a teamspeak2
1068 server and polls interesting global and virtual server data. The
1069 plugin can query only one physical server but unlimited virtual
1073 Summary: ted-plugin for collectd
1074 Summary(pl.UTF-8): Wtyczka ted dla collectd
1076 Requires: %{name} = %{version}-%{release}
1079 The TED-plugin reads power consumption measurements from “The Energy
1083 Summary: thermal-plugin for collectd
1084 Summary(pl.UTF-8): Wtyczka thermal dla collectd
1086 Requires: %{name} = %{version}-%{release}
1088 %description thermal
1089 The thermal plugin reads ACPI thermal zone information from the sysfs
1090 or procfs file system, i. e. mostly system temperature information.
1093 Summary: threshold-plugin for collectd
1094 Summary(pl.UTF-8): Wtyczka threshold dla collectd
1096 Requires: %{name} = %{version}-%{release}
1098 %description threshold
1099 threshold-plugin for collectd.
1102 Summary: unixsock-plugin for collectd
1103 Summary(pl.UTF-8): Wtyczka unixsock dla collectd
1105 Requires: %{name} = %{version}-%{release}
1107 %description unixsock
1108 The unixsock plugin opens an UNIX-socket over which one can interact
1109 with the daemon. This can be used to use the values collected by
1110 collectd in other applications, such as monitoring, or submit
1111 externally collected values to collectd.
1114 Summary: uptime-plugin for collectd
1115 Summary(pl.UTF-8): Wtyczka uptime dla collectd
1117 Requires: %{name} = %{version}-%{release}
1120 The uptime-plugin can collect the server's uptime.
1123 Summary: users-plugin for collectd
1124 Summary(pl.UTF-8): Wtyczka users dla collectd
1126 Requires: %{name} = %{version}-%{release}
1129 Number of users currently logged in.
1132 Summary: uuid-plugin for collectd
1133 Summary(pl.UTF-8): Wtyczka uuid dla collectd
1135 Requires: %{name} = %{version}-%{release}
1138 This plugin, if loaded, causes the Hostname to be taken from the
1139 machine's UUID. The UUID is a universally unique designation for the
1140 machine, usually taken from the machine's BIOS. This is most useful if
1141 the machine is running in a virtual environment such as Xen, in which
1142 case the UUID is preserved across shutdowns and migration.
1145 Summary: varnish-plugin for collectd
1146 Summary(pl.UTF-8): Wtyczka varnish dla collectd
1148 Requires: %{name} = %{version}-%{release}
1150 %description varnish
1151 The Varnish plugin collects information about Varnish, an HTTP
1155 Summary: vmem-plugin for collectd
1156 Summary(pl.UTF-8): Wtyczka vmem dla collectd
1158 Requires: %{name} = %{version}-%{release}
1161 The vmem plugin collects information about the usage of virtual
1162 memory. Since the statistics provided by the Linux kernel are very
1163 detailed, they are collected very detailed.
1166 Summary: vserver-plugin for collectd
1167 Summary(pl.UTF-8): Wtyczka vserver dla collectd
1169 Requires: %{name} = %{version}-%{release}
1171 %description vserver
1172 Collects information about the virtual servers running on a system,
1173 using Linux-Vserver.
1176 Summary: write_http-plugin for collectd
1177 Summary(pl.UTF-8): Wtyczka write_http dla collectd
1179 Requires: %{name} = %{version}-%{release}
1181 %description write_http
1182 The Write HTTP plugin sends the values collected by collectd to a
1183 web-server using HTTP POST requests. The data is formatted as PUTVAL
1187 Summary: wireless-plugin for collectd
1188 Summary(pl.UTF-8): Wtyczka wireless dla collectd
1190 Requires: %{name} = %{version}-%{release}
1192 %description wireless
1193 The Wireless plugin collects signal quality, signal power and
1194 signal-to-noise ratio for wireless LAN cards.
1197 Summary: xmms-plugin for collectd
1198 Summary(pl.UTF-8): Wtyczka xmms dla collectd
1200 Requires: %{name} = %{version}-%{release}
1203 The XMMS plugin is a plugin for the XMMS music player. It graphs the
1204 bit-rate and sampling rate as you play songs. Not really useful, just
1205 something that got written because we can.
1207 %package -n perl-Collectd
1208 Summary: Perl files from Collectd package
1211 %description -n perl-Collectd
1212 Perl files from Collectd package
1232 CPPFLAGS="-Wno-unused-but-set-variable" \
1233 c_cv_have_libperl=yes \
1234 --with-libiptc=/usr \
1235 --with-libstatgrab=/usr \
1236 --with-lm-sensors=/usr \
1237 --with-libmysql=/usr \
1239 %{__enable_disable dns} \
1240 %{__enable_disable ipmi} \
1241 %{__enable_disable iptables} \
1242 %{__enable_disable multimeter} \
1243 %{__enable_disable mysql} \
1244 %{__enable_disable netlink} \
1245 %{__enable_disable notify notify_desktop} \
1246 %{__enable_disable libesmtp notify_email} \
1247 %{__enable_disable modbus } \
1248 %{__enable_disable libvirt} \
1249 %{__enable_disable ups nut} \
1250 %{__enable_disable ping} \
1251 %{__enable_disable pgsql postgresql} \
1252 %{__enable_disable rrd rrdtool} \
1253 %{__enable_disable sensors} \
1254 %{__enable_disable snmp} \
1255 %{__enable_disable xmms} \
1256 %{__enable_disable varnish} \
1257 %{__enable_disable curl} \
1258 %{__enable_disable curl apache} \
1259 %{__enable_disable curl ngix} \
1260 %{__enable_disable curl ascent} \
1261 %{__disable curl ascent} \
1262 %{__disable curl bind} \
1263 %{__disable xml ascent} \
1264 %{__disable xml bind} \
1268 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
1269 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
1270 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
1273 rm -rf $RPM_BUILD_ROOT
1274 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
1275 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
1278 DESTDIR=$RPM_BUILD_ROOT
1280 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
1281 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1284 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1285 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
1286 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1287 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1288 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1290 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1291 mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1292 ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf
1293 sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1295 ### Configs instalation ###
1296 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1297 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1298 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1301 # Example config in sources: src/collectd.conf
1302 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1304 # Overwrite only files which we want to change:
1305 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1306 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1308 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1309 mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/
1312 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1315 rm -rf $RPM_BUILD_ROOT
1318 /sbin/chkconfig --add %{name}
1319 %service %{name} restart
1322 if [ "$1" = "0" ]; then
1323 %service -q %{name} stop
1324 /sbin/chkconfig --del %{name}
1327 %post libs -p /sbin/ldconfig
1328 %postun libs -p /sbin/ldconfig
1330 %define module_scripts() \
1332 %service %{name} restart \
1335 %service %{name} restart
1337 %module_scripts apache
1338 %module_scripts apcups
1339 %module_scripts ascent
1340 %module_scripts battery
1341 %module_scripts bind
1342 %module_scripts contextswitch
1343 %module_scripts conntrack
1345 %module_scripts cpufreq
1347 %module_scripts curl
1348 %module_scripts curl_json
1351 %module_scripts disk
1353 %module_scripts email
1354 %module_scripts entropy
1355 %module_scripts exec
1356 %module_scripts filecount
1357 %module_scripts fscache
1358 %module_scripts hddtemp
1359 %module_scripts interface
1360 %module_scripts ipmi
1361 %module_scripts iptables
1363 %module_scripts libvirt
1364 %module_scripts load
1365 %module_scripts logfile
1366 %module_scripts madwifi
1367 %module_scripts match_empty_counter
1368 %module_scripts match_hashed
1369 %module_scripts match_regex
1370 %module_scripts match_timediff
1371 %module_scripts match_value
1372 %module_scripts mbmon
1373 %module_scripts memcachec
1374 %module_scripts memcached
1375 %module_scripts memory
1376 %module_scripts multimeter
1377 %module_scripts mysql
1378 %module_scripts netlink
1379 %module_scripts network
1381 %module_scripts nginx
1382 %module_scripts notify_desktop
1383 %module_scripts notify_email
1384 %module_scripts ntpd
1386 %module_scripts olsrd
1387 %module_scripts openvpn
1388 %module_scripts perl
1389 %module_scripts ping
1390 %module_scripts postgresql
1391 %module_scripts powerdns
1392 %module_scripts processes
1393 %module_scripts protocols
1394 %module_scripts python
1395 %module_scripts rrdcached
1396 %module_scripts rrdtool
1397 %module_scripts sensors
1398 %module_scripts serial
1399 %module_scripts snmp
1400 %module_scripts swap
1401 %module_scripts syslog
1402 %module_scripts table
1403 %module_scripts tail
1404 %module_scripts target_notification
1405 %module_scripts target_replace
1406 %module_scripts target_scale
1407 %module_scripts target_set
1408 %module_scripts target_v5upgrade
1409 %module_scripts tcpconns
1410 %module_scripts teamspeak2
1412 %module_scripts thermal
1413 %module_scripts threshold
1414 %module_scripts unixsock
1415 %module_scripts uptime
1416 %module_scripts users
1417 %module_scripts uuid
1418 %module_scripts varnish
1419 %module_scripts vmem
1420 %module_scripts vserver
1421 %module_scripts write_http
1422 %module_scripts wireless
1423 %module_scripts xmms
1425 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1426 %webapp_register apache %{_webapp}
1428 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1429 %webapp_unregister apache %{_webapp}
1431 %triggerin collection -- apache < 2.2.0, apache-base
1432 %webapp_register httpd %{_webapp}
1434 %triggerun collection -- apache < 2.2.0, apache-base
1435 %webapp_unregister httpd %{_webapp}
1437 %triggerin collection -- lighttpd
1438 %webapp_register lighttpd %{_webapp}
1440 %triggerun collection -- lighttpd
1441 %webapp_unregister lighttpd %{_webapp}
1444 %defattr(644,root,root,755)
1445 %doc AUTHORS ChangeLog README TODO contrib
1446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1447 %dir %{_sysconfdir}/%{name}.d
1449 %attr(755,root,root) %{_sbindir}/collectd
1450 %attr(755,root,root) %{_sbindir}/collectdmon
1451 %attr(755,root,root) %{_bindir}/collectdctl
1452 %attr(755,root,root) %{_bindir}/collectd-nagios
1453 %dir %{_libdir}/%{name}
1454 %dir %{_datadir}/%{name}
1455 %{_datadir}/%{name}/types.db
1456 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1457 %{_mandir}/man1/collectd.1*
1458 %{_mandir}/man1/collectd-nagios.1*
1459 %{_mandir}/man1/collectdctl.1*
1460 %{_mandir}/man1/collectdmon.1*
1461 %{_mandir}/man5/collectd.conf.5*
1462 %{_mandir}/man5/collectd-java.5*
1463 %{_mandir}/man5/types.db.5*
1464 %dir %{_var}/lib/%{name}
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1469 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1474 %{_libdir}/libcollectdclient.la
1475 %dir %{_includedir}/%{name}
1476 %{_includedir}/%{name}/*.h
1477 %{_pkgconfigdir}/libcollectdclient.pc
1480 %defattr(644,root,root,755)
1481 %{_libdir}/libcollectdclient.a
1482 %{_libdir}/%{name}/*.a
1485 %defattr(644,root,root,755)
1486 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1487 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1488 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1489 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1491 %dir %{_appdir}/cgi-bin
1492 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1495 %defattr(644,root,root,755)
1496 %doc contrib/collection3/README
1497 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf
1498 %dir %{_appdir}/collection3
1499 %dir %{_appdir}/collection3/bin
1500 %attr(755,root,root) %{_appdir}/collection3/bin/*.cgi
1501 %{_appdir}/collection3/etc
1502 %{_appdir}/collection3/lib
1503 %{_appdir}/collection3/share
1509 %defattr(640,root,root,755)
1510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1511 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1516 %defattr(644,root,root,755)
1517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1518 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1522 %defattr(640,root,root,755)
1523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1524 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1528 %defattr(644,root,root,755)
1529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1530 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1535 %defattr(644,root,root,755)
1536 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1537 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1541 %files contextswitch
1542 %defattr(644,root,root,755)
1543 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1544 %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1547 %defattr(644,root,root,755)
1548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1549 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1552 %defattr(644,root,root,755)
1553 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1554 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1557 %defattr(644,root,root,755)
1558 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1559 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1562 %defattr(644,root,root,755)
1563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1564 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1568 %defattr(640,root,root,755)
1569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1570 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1572 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1573 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1577 %defattr(640,root,root,755)
1578 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
1579 %attr(755,root,root) %{_libdir}/%{name}/curl_json.so
1583 %defattr(640,root,root,755)
1584 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1585 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1588 %defattr(644,root,root,755)
1589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1590 %attr(755,root,root) %{_libdir}/%{name}/df.so
1593 %defattr(644,root,root,755)
1594 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1595 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1599 %defattr(644,root,root,755)
1600 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1601 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1605 %defattr(644,root,root,755)
1606 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1607 %attr(755,root,root) %{_libdir}/%{name}/email.so
1608 %{_mandir}/man5/collectd-email.5*
1611 %defattr(644,root,root,755)
1612 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1613 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1616 %defattr(644,root,root,755)
1617 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1618 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1619 %{_mandir}/man5/collectd-exec.5*
1622 %defattr(644,root,root,755)
1623 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1624 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1627 %defattr(644,root,root,755)
1628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1629 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1632 %defattr(644,root,root,755)
1633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1634 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1637 %defattr(644,root,root,755)
1638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1639 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1643 %defattr(644,root,root,755)
1644 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1645 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1648 %if %{with iptables}
1650 %defattr(644,root,root,755)
1651 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1652 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1656 %defattr(644,root,root,755)
1657 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1658 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1662 %defattr(644,root,root,755)
1663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
1664 %attr(755,root,root) %{_libdir}/%{name}/libvirt.so
1668 %defattr(644,root,root,755)
1669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1670 %attr(755,root,root) %{_libdir}/%{name}/load.so
1673 %defattr(644,root,root,755)
1674 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1675 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1676 %{_var}/log/collectd.log
1679 %defattr(644,root,root,755)
1680 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1681 %attr(755,root,root) %{_libdir}/%{name}/madwifi.so
1683 %files match_empty_counter
1684 %defattr(644,root,root,755)
1685 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1686 %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1689 %defattr(644,root,root,755)
1690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1691 %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1694 %defattr(644,root,root,755)
1695 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1696 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1698 %files match_timediff
1699 %defattr(644,root,root,755)
1700 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1704 %defattr(644,root,root,755)
1705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1706 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1709 %defattr(644,root,root,755)
1710 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1711 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1714 %defattr(644,root,root,755)
1715 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1716 %attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1719 %defattr(644,root,root,755)
1720 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1721 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1724 %defattr(644,root,root,755)
1725 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1726 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1730 %defattr(644,root,root,755)
1731 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/modbus.conf
1732 %attr(755,root,root) %{_libdir}/%{name}/modbus.so
1735 %if %{with multimeter}
1737 %defattr(644,root,root,755)
1738 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1739 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1744 %defattr(640,root,root,755)
1745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1746 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1751 %defattr(644,root,root,755)
1752 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1753 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1757 %defattr(644,root,root,755)
1758 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1759 %attr(755,root,root) %{_libdir}/%{name}/network.so
1762 %defattr(644,root,root,755)
1763 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1764 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1768 %defattr(640,root,root,755)
1769 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1770 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1774 %files notify_desktop
1775 %defattr(644,root,root,755)
1776 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1777 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1780 %if %{with libesmtp}
1782 %defattr(640,root,root,755)
1783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1784 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1788 %defattr(644,root,root,755)
1789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1790 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1794 %defattr(644,root,root,755)
1795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1796 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1800 %defattr(644,root,root,755)
1801 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1802 %attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1805 %defattr(644,root,root,755)
1806 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1807 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1810 %defattr(644,root,root,755)
1811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
1812 %attr(755,root,root) %{_libdir}/%{name}/perl.so
1813 %{_mandir}/man5/collectd-perl.5*
1817 %defattr(644,root,root,755)
1818 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1819 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1824 %defattr(640,root,root,755)
1825 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1826 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1827 %{_datadir}/%{name}/postgresql_default.conf
1831 %defattr(644,root,root,755)
1832 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1833 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1836 %defattr(644,root,root,755)
1837 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1838 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1841 %defattr(644,root,root,755)
1842 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1843 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1846 %defattr(644,root,root,755)
1847 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1848 %attr(755,root,root) %{_libdir}/%{name}/python.so
1849 %{_mandir}/man5/collectd-python.5*
1853 %defattr(644,root,root,755)
1854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
1855 %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
1858 %defattr(644,root,root,755)
1859 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1860 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1865 %defattr(644,root,root,755)
1866 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1867 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1871 %defattr(644,root,root,755)
1872 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1873 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1877 %defattr(644,root,root,755)
1878 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1879 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1880 %{_mandir}/man5/collectd-snmp.5*
1884 %defattr(644,root,root,755)
1885 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1886 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1889 %defattr(644,root,root,755)
1890 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1891 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1894 %defattr(644,root,root,755)
1895 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1896 %attr(755,root,root) %{_libdir}/%{name}/table.so
1899 %defattr(644,root,root,755)
1900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1901 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1903 %files target_notification
1904 %defattr(644,root,root,755)
1905 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1906 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1908 %files target_replace
1909 %defattr(644,root,root,755)
1910 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1911 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1914 %defattr(644,root,root,755)
1915 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
1916 %attr(755,root,root) %{_libdir}/%{name}/target_scale.so
1919 %defattr(644,root,root,755)
1920 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1921 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1923 %files target_v5upgrade
1924 %defattr(644,root,root,755)
1925 %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
1928 %defattr(644,root,root,755)
1929 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1930 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1933 %defattr(644,root,root,755)
1934 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1935 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1938 %defattr(644,root,root,755)
1939 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1940 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1943 %defattr(644,root,root,755)
1944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1945 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1948 %defattr(644,root,root,755)
1949 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
1950 %attr(755,root,root) %{_libdir}/%{name}/threshold.so
1951 %{_mandir}/man5/collectd-threshold.5*
1954 %defattr(644,root,root,755)
1955 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1956 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1957 %{_mandir}/man5/collectd-unixsock.5*
1960 %defattr(644,root,root,755)
1961 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1962 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1965 %defattr(644,root,root,755)
1966 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1967 %attr(755,root,root) %{_libdir}/%{name}/users.so
1970 %defattr(644,root,root,755)
1971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1972 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1975 %defattr(644,root,root,755)
1976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
1977 %attr(755,root,root) %{_libdir}/%{name}/varnish.so
1980 %defattr(644,root,root,755)
1981 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1982 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1985 %defattr(644,root,root,755)
1986 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1987 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1990 %defattr(644,root,root,755)
1991 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1992 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1995 %defattr(644,root,root,755)
1996 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
1997 %attr(755,root,root) %{_libdir}/%{name}/write_http.so
2001 %defattr(644,root,root,755)
2002 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
2003 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
2006 %files -n perl-Collectd
2007 %defattr(644,root,root,755)
2008 %{perl_vendorlib}/Collectd.pm
2009 %{perl_vendorlib}/Collectd
2010 %{_mandir}/man3/*.3*