2 # - package contrib scripts as %doc
3 # - perl modules with Collectd classes package to separate package
4 # - Bundled libraries - check if its not changed ones and if it can be
6 # liboconfig . . . . . yes (shipped version)
7 # - Libraries not found by configure:
8 # libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
9 # libganglia . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
10 # libiokit . . . . . . no (Darwin only)
11 # libjvm . . . . . . . no (javac not found)
12 # libkstat . . . . . . no (Solaris only)
13 # libkvm . . . . . . . no (BSD only)
14 # libmodbus . . . . . . no (pkg-config doesn't know modbus) (http://www.libmodbus.org/)
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 # modbus . . . . . . . no
31 # multimeter . . . . . no ?
32 # netapp . . . . . . . no
33 # onewire . . . . . . . no (needs libowfs)
34 # oracle . . . . . . . no
35 # pinba . . . . . . . . no
36 # redis . . . . . . . . no
37 # routeros . . . . . . no
38 # tape . . . . . . . . no ?
39 # tokyotyrant . . . . . no
40 # write_redis . . . . . no
41 # zfs_arc . . . . . . . no
42 # - logrotate file for logfile plugin
43 # - %desc -l pl for plugins
44 # - package SpamAssassin plugin from contrib
47 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
48 %bcond_without dns # DNS plugin
49 %bcond_without ipmi # IPMI plugin
50 %bcond_without iptables # iptables plugin
51 %bcond_without libesmtp # notify_email plugin
52 %bcond_without libvirt # libvirt 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: 9ad1e4334bd4a671284e8e92a3e3323e
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 URL: http://collectd.org/
88 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
89 BuildRequires: autoconf
90 BuildRequires: automake
91 %{?with_curl:BuildRequires: curl-devel}
92 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
93 BuildRequires: libdbi-devel
94 %{?with_libesmtp:BuildRequires: libesmtp-devel}
95 BuildRequires: libltdl-devel
96 BuildRequires: libmemcached-devel
97 BuildRequires: libnetlink-devel
98 %{?with_netlink:BuildRequires: libnetlink-devel}
99 %{?with_libvirt:BuildRequires: libnl1-devel}
100 %{?with_notify:BuildRequires: libnotify-devel}
101 %{?with_ping:BuildRequires: liboping-devel}
102 %{?with_dns:BuildRequires: libpcap-devel}
103 BuildRequires: libstatgrab-devel >= 0.12
104 BuildRequires: libstdc++-devel
105 BuildRequires: libtool
106 %{?with_xml:BuildRequires: libxml2-devel}
107 %{?with_sensors:BuildRequires: lm_sensors-devel}
108 %{?with_mysql:BuildRequires: mysql-devel}
109 %{?with_libvirt:BuildRequires: libvirt-devel}
110 BuildRequires: ncurses-devel
111 %{?with_snmp:BuildRequires: net-snmp-devel}
112 %{?with_libvirt:BuildRequires: numactl-devel}
113 %{?with_ups:BuildRequires: nut-devel}
114 BuildRequires: perl-devel
115 BuildRequires: pkgconfig
116 %{?with_pgsql:BuildRequires: postgresql-devel}
117 BuildRequires: python-devel
118 BuildRequires: python-modules
119 BuildRequires: rpmbuild(macros) >= 1.268
120 %{?with_rrd:BuildRequires: rrdtool-devel}
121 %{?with_varnish:BuildRequires: varnish-devel}
123 #BuildRequires: xfsprogs-devel
124 %{?with_xmms:BuildRequires: xmms-devel}
125 BuildRequires: yajl-devel
126 Requires(post,preun): /sbin/chkconfig
127 Requires: %{name}-libs = %{version}-%{release}
129 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
131 %define _pkglibdir %{_sharedstatedir}/%{name}
132 %define _webapps /etc/webapps
133 %define _webapp %{name}
134 %define _webappdir %{_webapps}/%{_webapp}
135 %define _appdir %{_datadir}/%{_webapp}
138 collectd is a small daemon which collects system information every 10
139 seconds and writes the results in an RRD-file.
141 In contrast to most similar software, collectd is not a script but
142 written in plain C for performance and portability. As a daemon it
143 stays in memory, so there is no need to start up a heavy interpreter
144 every time new values should be logged. This allows collectd to have a
145 10 second resolution while being nice to the system.
147 %description -l pl.UTF-8
148 collectd to mały demon zbierający co 10 sekund informacje o systemie
149 i zapisujący wyniki do pliku RRD.
151 W odróżnieniu od innych podobnych programów collectd nie jest
152 skryptem, lecz jest napisany w czystym C z myślą o wydajności
153 i przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
154 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
155 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
156 sekund i nie obciążać zbytnio systemu.
159 Summary: %{name} libraries
160 Summary(pl.UTF-8): Biblioteki %{name}
166 %description libs -l pl.UTF-8
170 Summary: Header files for %{name} libraries
171 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
172 Group: Development/Libraries
173 Requires: %{name}-libs = %{version}-%{release}
176 Header files for %{name} libraries.
178 %description devel -l pl.UTF-8
179 Pliki nagłówkowe bibliotek %{name}.
182 Summary: Static files for %{name} libraries
183 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
184 Group: Development/Libraries
185 Requires: %{name}-libs = %{version}-%{release}
188 Static files for %{name} libraries.
190 %description static -l pl.UTF-8
191 Pliki statyczne bibliotek %{name}.
194 Summary: apache-plugin for collectd
195 Summary(pl.UTF-8): Wtyczka apache dla collectd
197 Requires: %{name} = %{version}-%{release}
200 This plugin collect data provided by Apache's `mod_status'.
202 %description apache -l pl.UTF-8
203 Wtyczka collectd zbierająca informacje udostępniane przez moduł
207 Summary: APC UPS plugin for collectd
208 Summary(pl.UTF-8): Wtyczka APC UPS dla collectd
210 Requires: %{name} = %{version}-%{release}
213 The APC UPS plugin connects to an instance of Apcupsd to read various
214 statistics about a connected uninterruptible power supply (UPS), such
215 as voltage, load, etc.
218 Summary: ascent-plugin for collectd
219 Summary(pl.UTF-8): Wtyczka ascent dla collectd
221 Requires: %{name} = %{version}-%{release}
224 The Ascent plugin reads and parses the statistics page of Ascent, a
225 free and open-source server software for the game World of Warcraft by
226 Blizzard Entertainment.
229 Summary: battery plugin for collectd
230 Summary(pl.UTF-8): Wtyczka battery dla collectd
232 Requires: %{name} = %{version}-%{release}
235 This plugin collects the battery's charge, the drawn current and the
239 Summary: bind plugin for collectd
240 Summary(pl.UTF-8): Wtyczka bind dla collectd
242 Requires: %{name} = %{version}-%{release}
245 Starting with BIND 9.5.0, the most widely used DNS server software
246 provides extensive statistics about queries, responses and lots of
247 other information. The bind plugin retrieves this information that's
248 encoded in XML and provided via HTTP and submits the values to
252 Summary: Web script for collectd
253 Summary(pl.UTF-8): Web script for collectd
254 Group: Applications/WWW
255 Requires: %{name} = %{version}-%{release}
257 Requires: perl(Data::Dumper)
258 Requires: perl(HTML::Entities)
260 Requires: perl(URI::Escape)
261 Requires: webserver(cgi)
262 Suggests: fonts-TTF-DejaVu
264 %description collection
265 Web script for collectd.
268 Summary: Web script for collectd
269 Summary(pl.UTF-8): Web script for collectd
270 Group: Applications/WWW
271 Requires: %{name} = %{version}-%{release}
272 Requires: perl-Collectd = %{version}-%{release}
273 Requires: perl(Config::General)
274 Requires: perl(HTML::Entities)
275 Requires: perl(Regexp::Common)
277 Requires: webserver(cgi)
278 Suggests: fonts-TTF-DejaVu
280 %description collection3
281 Web script for collectd.
283 %package contextswitch
284 Summary: contextswitch-plugin for collectd
285 Summary(pl.UTF-8): Wtyczka contextswitch dla collectd
287 Requires: %{name} = %{version}-%{release}
289 %description contextswitch
290 The ContextSwitch plugin collects the number of context switches done
291 by the operating system.
294 Summary: conntrack-plugin for collectd
295 Summary(pl.UTF-8): Wtyczka conntrack dla collectd
297 Requires: %{name} = %{version}-%{release}
299 %description conntrack
300 The conntrack-plugin collects the connection tracking table size.
303 Summary: cpu-plugin for collectd
304 Summary(pl.UTF-8): Wtyczka cpu dla collectd
306 Requires: %{name} = %{version}-%{release}
309 The cpu-plugin collects the amount of time spent by the CPU in various
310 states, most notably executing user code, executing system code,
311 waiting for IO operations and being idle.
314 Summary: cpufreq-plugin for collectd
315 Summary(pl.UTF-8): Wtyczka cpufreq dla collectd
317 Requires: %{name} = %{version}-%{release}
320 Collects the current CPU's frequency, mostly for mobile computers.
323 Summary: CSV output plugin for collectd
324 Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd
326 Requires: %{name} = %{version}-%{release}
329 CSV output plugin for collectd.
332 Summary: cURL output plugin for collectd
333 Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd
335 Requires: %{name} = %{version}-%{release}
338 The curl plugin uses the libcurl to read web pages and the match
339 infrastructure (the same code used by the tail plugin) to use regular
340 expressions with the received data.
343 Summary: cURL JSON plugin for collectd
344 Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd
346 Requires: %{name} = %{version}-%{release}
348 %description curl_json
349 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
350 using the cURL library and parses it according to the user's
351 configuration using Yet Another JSON Library (YAJL). This can be used
352 to query statistics information from a CouchDB instance, for example.
355 Summary: dbi plugin for collectd
356 Summary(pl.UTF-8): Wtyczka dbi dla collectd
358 Requires: %{name} = %{version}-%{release}
361 This plugin uses the dbi library to connect to various databases,
362 execute SQL statements and read back the results. dbi is an acronym
363 for "database interface" in case you were wondering about the name.
364 You can configure how each column is to be interpreted and the plugin
365 will generate one or more data sets from each row returned according
369 Summary: df-plugin for collectd
370 Summary(pl.UTF-8): Wtyczka df dla collectd
372 Requires: %{name} = %{version}-%{release}
375 The df-plugin collects file system usage information, i. e. basically
376 how much space on a mounted partition is used and how much is
377 available. It's named after and very similar to the df(1) UNIX command
378 that's been around forever.
381 Summary: disk-plugin for collectd
382 Summary(pl.UTF-8): Wtyczka disk dla collectd
384 Requires: %{name} = %{version}-%{release}
387 This plugin collects performance statistics of harddisks and, where
388 supported, partitions.
391 Summary: dns-plugin for collectd
392 Summary(pl.UTF-8): Wtyczka dns dla collectd
394 Requires: %{name} = %{version}-%{release}
395 Requires: perl-rrdtool
398 This plugin has a similar functionality to dnstop: It uses libpcap to
399 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
400 interprets the packets and collects statistics of your DNS traffic.
403 Summary: email-plugin for collectd
404 Summary(pl.UTF-8): Wtyczka email dla collectd
406 Requires: %{name} = %{version}-%{release}
409 The email plugin opens an UNIX-socket over which one can submit email
410 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
411 mails received/handled, spam scores and matched spam checks.
413 This plugin is intended to be used with the the
414 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
415 is included in contrib/, but is of course not limited to that use.
418 Summary: entropy-plugin for collectd
419 Summary(pl.UTF-8): Wtyczka entropy dla collectd
421 Requires: %{name} = %{version}-%{release}
424 The Entropy plugin collects the available entropy on a system. Entropy
425 is important to generate random numbers, which are used for
426 encryption, authorization and similar tasks.
429 Summary: exec-plugin for collectd
430 Summary(pl.UTF-8): Wtyczka exec dla collectd
432 Requires: %{name} = %{version}-%{release}
435 The exec plugin forks of an executable either to receive values or to
436 dispatch notifications to the outside world.
439 Summary: filecount-plugin for collectd
440 Summary(pl.UTF-8): Wtyczka filecount dla collectd
442 Requires: %{name} = %{version}-%{release}
444 %description filecount
445 The filecount-plugin does something very simple: Count the number of
446 files in a directory and all its subdirectories. This can be used for
447 a variety of statistics, for example the queue length of an MTA, the
448 number of PHP sessions of a web server or simply the number of files
449 in your home directory.
452 Summary: fscache-plugin for collectd
453 Summary(pl.UTF-8): Wtyczka fscache dla collectd
455 Requires: %{name} = %{version}-%{release}
458 The fscache-plugin collects statistics about Linux file-system based
462 Summary: hddtemp-plugin for collectd
463 Summary(pl.UTF-8): Wtyczka hddtemp dla collectd
465 Requires: %{name} = %{version}-%{release}
466 Suggests: hddtemp-hddtempd
469 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
470 and queried by the external hddtemp-daemon.
473 Summary: interface-plugin for collectd
474 Summary(pl.UTF-8): Wtyczka interface dla collectd
476 Requires: %{name} = %{version}-%{release}
478 %description interface
479 The interface-plugin collects information about the traffic (octets),
480 packets and errors of interfaces.
483 Summary: iptables-plugin for collectd
484 Summary(pl.UTF-8): Wtyczka iptables dla collectd
486 Requires: %{name} = %{version}-%{release}
488 %description iptables
489 With this plugin you can gather statistics from your ip_tables based
490 packetfilter (aka. firewall). It can collect the byte- and
491 packet-counters of selected rules and submit them to collectd. You can
492 select rules that should be collected wither by its position (e.g.
493 "the fourth rule in the INPUT queue in the filter table") or by its
494 comment (using the COMMENT match). This means that depending on your
495 firewall layout you can collect certain services (such as the amount
496 of web-traffic), source or destination hosts or networks, dropped
497 packets and much more.
500 Summary: ipmi-plugin for collectd
501 Summary(pl.UTF-8): Wtyczka ipmi dla collectd
503 Requires: %{name} = %{version}-%{release}
506 The IPMI plugin uses the OpenIPMI library to read hardware sensors
507 from servers using the Intelligent Platform Management Interface
508 (IPMI). IPMI is very common with server hardware but usually not
509 available in consumer hardware.
512 Summary: IRQs-plugin for collectd
513 Summary(pl.UTF-8): Wtyczka IRQs dla collectd
515 Requires: %{name} = %{version}-%{release}
518 The IRQ plugin collects the number of times each interrupt has been
519 handled by the operating system.
522 Summary: libvirt-plugin for collectd
523 Summary(pl.UTF-8): Wtyczka libvirt dla collectd
525 Requires: %{name} = %{version}-%{release}
528 The libvirt plugin uses the virtualization API libvirt, created by
529 RedHat's Emerging Technology group, to gather statistics about
530 virtualized guests on a system. This way, you can collect CPU, network
531 interface and block device usage for each guest without installing
532 collectd on the guest systems. Because the statistics are received
533 from the hypervisor directly, this works not only with
534 para-virtualized hosts, but with hardware virtualized machines, too.
537 Summary: load-plugin for collectd
538 Summary(pl.UTF-8): Wtyczka load dla collectd
540 Requires: %{name} = %{version}-%{release}
543 Collects the system load. These numbers give a rough overview over the
544 utilization of a machine, though their meaning is mostly overrated.
547 Summary: logfile-plugin for collectd
548 Summary(pl.UTF-8): Wtyczka logfile dla collectd
550 Requires: %{name} = %{version}-%{release}
553 The LogFile plugin receives log messages from the daemon and writes
557 Summary: madwifi plugin for collectd
558 Summary(pl.UTF-8): Wtyczka madwifi dla collectd
560 Requires: %{name} = %{version}-%{release}
563 The MadWifi plugin collects information about Atheros wireless LAN
564 chipsets from the MadWifi driver. It uses the /sys filesystem to
565 identify cards handled by this driver automatically but can be
566 configured manually, too. Because very many statistics are available,
567 an advanced selection mechanism is provided.
569 %package match_empty_counter
570 Summary: match_empty_counter plugin for collectd
571 Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd
573 Requires: %{name} = %{version}-%{release}
575 %description match_empty_counter
576 Empty Counter match matches value lists, where at least one data
577 source is of type COUNTER and the counter value of all counter data
580 %package match_hashed
581 Summary: match_hashed plugin for collectd
582 Summary(pl.UTF-8): Wtyczka match_hashed dla collectd
584 Requires: %{name} = %{version}-%{release}
586 %description match_hashed
587 match_hashed plugin for collectd - match for simple load balancing and
591 Summary: match_regex plugin for collectd
592 Summary(pl.UTF-8): Wtyczka match_regex dla collectd
594 Requires: %{name} = %{version}-%{release}
596 %description match_regex
597 match_regex plugin for collectd.
599 %package match_timediff
600 Summary: match_timediff plugin for collectd
601 Summary(pl.UTF-8): Wtyczka match_timediff dla collectd
603 Requires: %{name} = %{version}-%{release}
605 %description match_timediff
606 match_timediff plugin for collectd.
609 Summary: match_value plugin for collectd
610 Summary(pl.UTF-8): Wtyczka match_value dla collectd
612 Requires: %{name} = %{version}-%{release}
614 %description match_value
615 match_value plugin for collectd.
618 Summary: mbmon plugin for collectd
619 Summary(pl.UTF-8): Wtyczka mbmon dla collectd
621 Requires: %{name} = %{version}-%{release}
624 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
627 Summary: memcachec-plugin for collectd
628 Summary(pl.UTF-8): Wtyczka memcachec dla collectd
630 Requires: %{name} = %{version}-%{release}
632 %description memcachec
633 The memcachec plugin connects to a memcached server, queries one or
634 more given pages and parses the returned data according to user
635 specification. The matches used are similar to the matches used in the
636 cURL and Tail plugins.
639 Summary: memcached-plugin for collectd
640 Summary(pl.UTF-8): Wtyczka memcached dla collectd
642 Requires: %{name} = %{version}-%{release}
644 %description memcached
645 The memcached plugin connects to a memcached daemon and collects the
646 number of connections and requests handled by the daemon, the CPU
647 resources consumed, number of items cached, number of threads, and
648 bytes sent and received.
651 Summary: memory-plugin for collectd
652 Summary(pl.UTF-8): Wtyczka memory dla collectd
654 Requires: %{name} = %{version}-%{release}
657 Collects physical memory utilization for collectd.
660 Summary: multimeter-plugin for collectd
661 Summary(pl.UTF-8): Wtyczka multimeter dla collectd
663 Requires: %{name} = %{version}-%{release}
665 %description multimeter
666 The Multimeter plugin reads a value (usually a voltage or current)
667 from a multimeter connected to a serial bus. The plugin tries
668 /dev/ttyS0-9 in order to find a multimeter – no configuration is
671 The multimeter used for development was a Metex M-4650CR.
674 Summary: mysql-plugin for collectd
675 Summary(pl.UTF-8): Moduł mysql dla collectd.
677 Requires: %{name} = %{version}-%{release}
678 Requires: mysql-client
681 MySQL querying plugin. This plugins provides data of issued commands,
682 called handlers and database traffic.
684 %description mysql -l pl.UTF-8
685 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
686 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
689 Summary: netlink-plugin for collectd
690 Summary(pl.UTF-8): Wtyczka netlink dla collectd
692 Requires: %{name} = %{version}-%{release}
695 This plugin will open a netlink socket to the Linux kernel and use it
696 to get statistics for interfaces, qdiscs, classes, and, if you can
697 make use of it, filters. Since in most setups many of the statistics
698 this plugin can collect aren't of interest, you can select which
699 information to gather using the configuration.
702 Summary: network-plugin for collectd
703 Summary(pl.UTF-8): Wtyczka network dla collectd
705 Requires: %{name} = %{version}-%{release}
708 The Network plugin can send values to other instances and receive
709 values from other %{name} instances.
712 Summary: NFS-plugin for collectd
713 Summary(pl.UTF-8): Wtyczka NFS dla collectd
715 Requires: %{name} = %{version}-%{release}
718 The nfs plugin counts the number of procedure calls of the different
722 Summary: nginx-plugin for collectd
723 Summary(pl.UTF-8): Wtyczka nginx dla collectd
725 Requires: %{name} = %{version}-%{release}
728 This plugin collects the number of connections and requests handled by
729 the nginx daemon, a HTTP and mail server/proxy. It queries the page
730 provided by the ngx_http_stub_status_module module, which isn't
733 %package notify_desktop
734 Summary: notify_desktop for collectd
735 Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd
737 Requires: %{name} = %{version}-%{release}
738 Requires: dbus(org.freedesktop.Notifications)
740 %description notify_desktop
741 This plugin sends a desktop notification to a notification daemon, as
742 defined in the Desktop Notification Specification.
744 %package notify_email
745 Summary: notify_email-plugin for collectd
746 Summary(pl.UTF-8): Wtyczka notify_email dla collectd
748 Requires: %{name} = %{version}-%{release}
750 %description notify_email
751 The Notify Email plugin uses libESMTP to send notifications to a
752 configured email address(es).
755 Summary: ntpd-plugin for collectd
756 Summary(pl.UTF-8): Wtyczka ntpd dla collectd
758 Requires: %{name} = %{version}-%{release}
761 The NTPd plugin queries an NTP server (usually the local one, where
762 statistics access is allowed) and extracts :
763 - "local" clock parameters: time offset, error and offset loop,
764 - parameters for each NTP server used to sync time: offset,
768 Summary: nut-plugin for collectd
769 Summary(pl.UTF-8): Wtyczka nut dla collectd
771 Requires: %{name} = %{version}-%{release}
774 UPS statistics using the Network UPS Tools. These statistics include
775 basically everything NUT will give us, including voltages, currents,
776 power, frequencies, load, and temperatures.
779 Summary: olsrd plugin for collectd
780 Summary(pl.UTF-8): Wtyczka olsrd dla collectd
782 Requires: %{name} = %{version}-%{release}
785 The olsrd plugin reads information about meshed networks from the
786 txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
789 Summary: openvpn plugin for collectd
790 Summary(pl.UTF-8): Wtyczka openvpn dla collectd
792 Requires: %{name} = %{version}-%{release}
796 The OpenVPN plugin reads a status file maintained by OpenVPN and
797 gathers traffic statistics about connected clients.
800 Summary: perl plugin for collectd
801 Summary(pl.UTF-8): Wtyczka perl dla collectd
803 Requires: %{name} = %{version}-%{release}
804 Requires: perl-Collectd = %{version}-%{release}
807 The Perl plugin embeds a Perl interpreter into collectd and exposes
808 the application programming interface (API) to Perl-scripts. This
809 allows to write own plugins in the popular scripting language, which
810 are then loaded and executed by the daemon without the need to start a
811 new process and interpreter every few seconds. Perl-modules written
812 for the Perl plugin are therefore more powerful and efficient than
813 scripts executed by the Exec plugin.
816 Summary: ping-plugin for collectd
817 Summary(pl.UTF-8): Wtyczka ping dla collectd
819 Requires: %{name} = %{version}-%{release}
820 Requires: liboping >= 1.1.2
823 The network latency is measured as a roundtrip time. An
824 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
825 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
826 not received within one second the plugin will no longer expect a
827 reply and return. This may happen in several circumstances, e. g. the
828 packet is lost, the host is down, a router has dismissed the packet,
832 Summary: mysql-plugin for collectd
833 Summary(pl.UTF-8): Moduł postgresql dla collectd.
835 Requires: %{name} = %{version}-%{release}
837 %description postgresql
838 The postgresql plugin queries statistics from PostgreSQL databases. It
839 keeps a persistent connection to all configured databases and tries to
840 reconnect if the connection has been interrupted.
843 Summary: powerdns-plugin for collectd
844 Summary(pl.UTF-8): Wtyczka powerdns dla collectd
846 Requires: %{name} = %{version}-%{release}
848 %description powerdns
849 The powerdns plugin queries statistics from an authoritative PowerDNS
850 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
851 of values, many of which are probably meaningless to most users, but
852 may be useful for some.
855 Summary: processes-plugin for collectd
856 Summary(pl.UTF-8): Wtyczka processes dla collectd
858 Requires: %{name} = %{version}-%{release}
860 %description processes
861 This plugin collects the number of processes, grouped by their state
862 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
863 select detailed statistics about selected processes, grouped by name.
866 Summary: protocols-plugin for collectd
867 Summary(pl.UTF-8): Wtyczka protocols dla collectd
869 Requires: %{name} = %{version}-%{release}
871 %description protocols
872 The protocols-plugin provides information about network protocols,
873 such as IP, TCP and UDP.
876 Summary: python-plugin for collectd
877 Summary(pl.UTF-8): Wtyczka python dla collectd
879 Requires: %{name} = %{version}-%{release}
882 The Python plugin embeds a Python interpreter into collectd and
883 exposes the application programming interface (API) to Python-scripts.
884 This allows to write own plugins in the popular scripting language,
885 which are then loaded and executed by the daemon without the need to
886 start a new process and interpreter every few seconds. Python-modules
887 written for the Python plugin are therefore more powerful and
888 efficient than scripts executed by the Exec plugin.
891 Summary: rrdcached-plugin for collectd
892 Summary(pl.UTF-8): Wtyczka rrdcached dla collectd
894 Requires: %{name} = %{version}-%{release}
896 %description rrdcached
897 The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
898 to store values to RRD files in an efficient manner. The combination
899 of the rrdcached plugin and the rrdcached daemon is very similar to
900 the way the rrdtool plugin works.
903 Summary: rrdtool-plugin for collectd
904 Summary(pl.UTF-8): Wtyczka rrdtool dla collectd
906 Requires: %{name} = %{version}-%{release}
910 The RRDtool plugin writes values to RRD-files using librrd.
913 Summary: sensors-plugin for collectd
914 Summary(pl.UTF-8): Wtyczka sensors dla collectd
916 Requires: %{name} = %{version}-%{release}
919 This plugin uses lm-sensors to read hardware sensors. You will need to
920 configure lm-sensors before this plugin will collect any usefull and
924 Summary: serial-plugin for collectd
925 Summary(pl.UTF-8): Wtyczka serial dla collectd
927 Requires: %{name} = %{version}-%{release}
930 The Serial plugin collects the traffic on serial interfaces.
933 Summary: snmp-plugin for collectd
934 Summary(pl.UTF-8): Wtyczka snmp dla collectd
936 Requires: %{name} = %{version}-%{release}
939 The snmp plugin queries other hosts using SNMP, the Simple Network
940 Management Protocol, and translates the value it receives to
941 collectd's internal format and dispatches them. Depending on the write
942 plugins you have loaded they may be written to disk or submitted to
943 another instance or whatever you configured.
946 Summary: swap-plugin for collectd
947 Summary(pl.UTF-8): Wtyczka swap dla collectd
949 Requires: %{name} = %{version}-%{release}
952 The Swap plugin collects the amount of memory currently written onto
953 hard disk or whatever the system calls “swap”.
956 Summary: syslog-plugin for collectd
957 Summary(pl.UTF-8): Wtyczka syslog dla collectd
959 Requires: %{name} = %{version}-%{release}
962 The SysLog plugin receives log messages from the daemon and dispatches
966 Summary: table-plugin for collectd
967 Summary(pl.UTF-8): Wtyczka table dla collectd
969 Requires: %{name} = %{version}-%{release}
972 The table-plugin provides parsing for table-like structured files,
973 such as many files beneath /proc.
975 %package target_notification
976 Summary: target_notification-plugin for collectd
977 Summary(pl.UTF-8): Wtyczka target_notification dla collectd
979 Requires: %{name} = %{version}-%{release}
981 %description target_notification
982 target_notification plugin for collectd.
984 %package target_replace
985 Summary: target_replace-plugin for collectd
986 Summary(pl.UTF-8): Wtyczka target_replace dla collectd
988 Requires: %{name} = %{version}-%{release}
990 %description target_replace
991 target_replace plugin for collectd.
993 %package target_scale
994 Summary: target_scale-plugin for collectd
995 Summary(pl.UTF-8): Wtyczka target_scale dla collectd
997 Requires: %{name} = %{version}-%{release}
999 %description target_scale
1000 Target to scale (multiply) values by an arbitrary value.
1003 Summary: target_set-plugin for collectd
1004 Summary(pl.UTF-8): Wtyczka target_set dla collectd
1006 Requires: %{name} = %{version}-%{release}
1008 %description target_set
1009 target_set plugin for collectd.
1011 %package target_v5upgrade
1012 Summary: target_v5upgrade-plugin for collectd
1013 Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd
1015 Requires: %{name} = %{version}-%{release}
1017 %description target_v5upgrade
1018 The v5 upgrade target can be used to upgrade version 4 data to a
1019 changed version 5 layout.
1022 Summary: tail-plugin for collectd
1023 Summary(pl.UTF-8): Wtyczka tail dla collectd
1025 Requires: %{name} = %{version}-%{release}
1028 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
1029 tail -F does. Each line is given to one or more "matches" which test
1030 if the line is relevant for any statistics using a regular expression.
1033 Summary: tcpconns-plugin for collectd
1034 Summary(pl.UTF-8): Wtyczka tcpconns dla collectd
1036 Requires: %{name} = %{version}-%{release}
1038 %description tcpconns
1039 The tcpconns-plugin counts the number of TCP connections to or from a
1040 specified port. Typically the connectioins where you specify the local
1041 port are incoming connections while the connections where you specify
1042 the remote port are outgoing connections.
1045 Summary: teamspeak2-plugin for collectd
1046 Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd
1048 Requires: %{name} = %{version}-%{release}
1050 %description teamspeak2
1051 The teamspeak2 plugin connects to the query port of a teamspeak2
1052 server and polls interesting global and virtual server data. The
1053 plugin can query only one physical server but unlimited virtual
1057 Summary: ted-plugin for collectd
1058 Summary(pl.UTF-8): Wtyczka ted dla collectd
1060 Requires: %{name} = %{version}-%{release}
1063 The TED-plugin reads power consumption measurements from “The Energy
1067 Summary: thermal-plugin for collectd
1068 Summary(pl.UTF-8): Wtyczka thermal dla collectd
1070 Requires: %{name} = %{version}-%{release}
1072 %description thermal
1073 The thermal plugin reads ACPI thermal zone information from the sysfs
1074 or procfs file system, i. e. mostly system temperature information.
1077 Summary: threshold-plugin for collectd
1078 Summary(pl.UTF-8): Wtyczka threshold dla collectd
1080 Requires: %{name} = %{version}-%{release}
1082 %description threshold
1083 threshold-plugin for collectd.
1086 Summary: unixsock-plugin for collectd
1087 Summary(pl.UTF-8): Wtyczka unixsock dla collectd
1089 Requires: %{name} = %{version}-%{release}
1091 %description unixsock
1092 The unixsock plugin opens an UNIX-socket over which one can interact
1093 with the daemon. This can be used to use the values collected by
1094 collectd in other applications, such as monitoring, or submit
1095 externally collected values to collectd.
1098 Summary: uptime-plugin for collectd
1099 Summary(pl.UTF-8): Wtyczka uptime dla collectd
1101 Requires: %{name} = %{version}-%{release}
1104 The uptime-plugin can collect the server's uptime.
1107 Summary: users-plugin for collectd
1108 Summary(pl.UTF-8): Wtyczka users dla collectd
1110 Requires: %{name} = %{version}-%{release}
1113 Number of users currently logged in.
1116 Summary: uuid-plugin for collectd
1117 Summary(pl.UTF-8): Wtyczka uuid dla collectd
1119 Requires: %{name} = %{version}-%{release}
1122 This plugin, if loaded, causes the Hostname to be taken from the
1123 machine's UUID. The UUID is a universally unique designation for the
1124 machine, usually taken from the machine's BIOS. This is most useful if
1125 the machine is running in a virtual environment such as Xen, in which
1126 case the UUID is preserved across shutdowns and migration.
1129 Summary: varnish-plugin for collectd
1130 Summary(pl.UTF-8): Wtyczka varnish dla collectd
1132 Requires: %{name} = %{version}-%{release}
1134 %description varnish
1135 The Varnish plugin collects information about Varnish, an HTTP
1139 Summary: vmem-plugin for collectd
1140 Summary(pl.UTF-8): Wtyczka vmem dla collectd
1142 Requires: %{name} = %{version}-%{release}
1145 The vmem plugin collects information about the usage of virtual
1146 memory. Since the statistics provided by the Linux kernel are very
1147 detailed, they are collected very detailed.
1150 Summary: vserver-plugin for collectd
1151 Summary(pl.UTF-8): Wtyczka vserver dla collectd
1153 Requires: %{name} = %{version}-%{release}
1155 %description vserver
1156 Collects information about the virtual servers running on a system,
1157 using Linux-Vserver.
1160 Summary: write_http-plugin for collectd
1161 Summary(pl.UTF-8): Wtyczka write_http dla collectd
1163 Requires: %{name} = %{version}-%{release}
1165 %description write_http
1166 The Write HTTP plugin sends the values collected by collectd to a
1167 web-server using HTTP POST requests. The data is formatted as PUTVAL
1171 Summary: wireless-plugin for collectd
1172 Summary(pl.UTF-8): Wtyczka wireless dla collectd
1174 Requires: %{name} = %{version}-%{release}
1176 %description wireless
1177 The Wireless plugin collects signal quality, signal power and
1178 signal-to-noise ratio for wireless LAN cards.
1181 Summary: xmms-plugin for collectd
1182 Summary(pl.UTF-8): Wtyczka xmms dla collectd
1184 Requires: %{name} = %{version}-%{release}
1187 The XMMS plugin is a plugin for the XMMS music player. It graphs the
1188 bit-rate and sampling rate as you play songs. Not really useful, just
1189 something that got written because we can.
1191 %package -n perl-Collectd
1192 Summary: Perl files from Collectd package
1195 %description -n perl-Collectd
1196 Perl files from Collectd package
1214 CPPFLAGS="-Wno-unused-but-set-variable" \
1215 c_cv_have_libperl=yes \
1216 --with-libiptc=/usr \
1217 --with-libstatgrab=/usr \
1218 --with-lm-sensors=/usr \
1219 --with-libmysql=/usr \
1221 %{__enable_disable dns} \
1222 %{__enable_disable ipmi} \
1223 %{__enable_disable iptables} \
1224 %{__enable_disable multimeter} \
1225 %{__enable_disable mysql} \
1226 %{__enable_disable netlink} \
1227 %{__enable_disable notify notify_desktop} \
1228 %{__enable_disable libesmtp notify_email} \
1229 %{__enable_disable libvirt} \
1230 %{__enable_disable ups nut} \
1231 %{__enable_disable ping} \
1232 %{__enable_disable pgsql postgresql} \
1233 %{__enable_disable rrd rrdtool} \
1234 %{__enable_disable sensors} \
1235 %{__enable_disable snmp} \
1236 %{__enable_disable xmms} \
1237 %{__enable_disable varnish} \
1238 %{__enable_disable curl} \
1239 %{__enable_disable curl apache} \
1240 %{__enable_disable curl ngix} \
1241 %{__enable_disable curl ascent} \
1242 %{__disable curl ascent} \
1243 %{__disable curl bind} \
1244 %{__disable xml ascent} \
1245 %{__disable xml bind} \
1249 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
1250 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
1251 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
1254 rm -rf $RPM_BUILD_ROOT
1255 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
1256 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
1259 DESTDIR=$RPM_BUILD_ROOT
1261 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
1262 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1265 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1266 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
1267 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1268 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1269 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1271 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1272 mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1273 ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf
1274 sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1276 ### Configs instalation ###
1277 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1278 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1279 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1282 # Example config in sources: src/collectd.conf
1283 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1285 # Overwrite only files which we want to change:
1286 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1287 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1289 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1290 mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/
1293 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1296 rm -rf $RPM_BUILD_ROOT
1299 /sbin/chkconfig --add %{name}
1300 %service %{name} restart
1303 if [ "$1" = "0" ]; then
1304 %service -q %{name} stop
1305 /sbin/chkconfig --del %{name}
1308 %post libs -p /sbin/ldconfig
1309 %postun libs -p /sbin/ldconfig
1311 %define module_scripts() \
1313 %service %{name} restart \
1316 %service %{name} restart
1318 %module_scripts apache
1319 %module_scripts apcups
1320 %module_scripts ascent
1321 %module_scripts battery
1322 %module_scripts bind
1323 %module_scripts contextswitch
1324 %module_scripts conntrack
1326 %module_scripts cpufreq
1328 %module_scripts curl
1329 %module_scripts curl_json
1332 %module_scripts disk
1334 %module_scripts email
1335 %module_scripts entropy
1336 %module_scripts exec
1337 %module_scripts filecount
1338 %module_scripts fscache
1339 %module_scripts hddtemp
1340 %module_scripts interface
1341 %module_scripts ipmi
1342 %module_scripts iptables
1344 %module_scripts libvirt
1345 %module_scripts load
1346 %module_scripts logfile
1347 %module_scripts madwifi
1348 %module_scripts match_empty_counter
1349 %module_scripts match_hashed
1350 %module_scripts match_regex
1351 %module_scripts match_timediff
1352 %module_scripts match_value
1353 %module_scripts mbmon
1354 %module_scripts memcachec
1355 %module_scripts memcached
1356 %module_scripts memory
1357 %module_scripts multimeter
1358 %module_scripts mysql
1359 %module_scripts netlink
1360 %module_scripts network
1362 %module_scripts nginx
1363 %module_scripts notify_desktop
1364 %module_scripts notify_email
1365 %module_scripts ntpd
1367 %module_scripts olsrd
1368 %module_scripts openvpn
1369 %module_scripts perl
1370 %module_scripts ping
1371 %module_scripts postgresql
1372 %module_scripts powerdns
1373 %module_scripts processes
1374 %module_scripts protocols
1375 %module_scripts python
1376 %module_scripts rrdcached
1377 %module_scripts rrdtool
1378 %module_scripts sensors
1379 %module_scripts serial
1380 %module_scripts snmp
1381 %module_scripts swap
1382 %module_scripts syslog
1383 %module_scripts table
1384 %module_scripts tail
1385 %module_scripts target_notification
1386 %module_scripts target_replace
1387 %module_scripts target_scale
1388 %module_scripts target_set
1389 %module_scripts target_v5upgrade
1390 %module_scripts tcpconns
1391 %module_scripts teamspeak2
1393 %module_scripts thermal
1394 %module_scripts threshold
1395 %module_scripts unixsock
1396 %module_scripts uptime
1397 %module_scripts users
1398 %module_scripts uuid
1399 %module_scripts varnish
1400 %module_scripts vmem
1401 %module_scripts vserver
1402 %module_scripts write_http
1403 %module_scripts wireless
1404 %module_scripts xmms
1406 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1407 %webapp_register apache %{_webapp}
1409 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1410 %webapp_unregister apache %{_webapp}
1412 %triggerin collection -- apache < 2.2.0, apache-base
1413 %webapp_register httpd %{_webapp}
1415 %triggerun collection -- apache < 2.2.0, apache-base
1416 %webapp_unregister httpd %{_webapp}
1418 %triggerin collection -- lighttpd
1419 %webapp_register lighttpd %{_webapp}
1421 %triggerun collection -- lighttpd
1422 %webapp_unregister lighttpd %{_webapp}
1425 %defattr(644,root,root,755)
1426 %doc AUTHORS ChangeLog README TODO contrib
1427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1428 %dir %{_sysconfdir}/%{name}.d
1430 %attr(755,root,root) %{_sbindir}/collectd
1431 %attr(755,root,root) %{_sbindir}/collectdmon
1432 %attr(755,root,root) %{_bindir}/collectdctl
1433 %attr(755,root,root) %{_bindir}/collectd-nagios
1434 %dir %{_libdir}/%{name}
1435 %dir %{_datadir}/%{name}
1436 %{_datadir}/%{name}/types.db
1437 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1438 %{_mandir}/man1/collectd.1*
1439 %{_mandir}/man1/collectd-nagios.1*
1440 %{_mandir}/man1/collectdctl.1*
1441 %{_mandir}/man1/collectdmon.1*
1442 %{_mandir}/man5/collectd.conf.5*
1443 %{_mandir}/man5/collectd-java.5*
1444 %{_mandir}/man5/types.db.5*
1445 %dir %{_var}/lib/%{name}
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1450 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1455 %{_libdir}/libcollectdclient.la
1456 %dir %{_includedir}/%{name}
1457 %{_includedir}/%{name}/*.h
1458 %{_pkgconfigdir}/libcollectdclient.pc
1461 %defattr(644,root,root,755)
1462 %{_libdir}/libcollectdclient.a
1463 %{_libdir}/%{name}/*.a
1466 %defattr(644,root,root,755)
1467 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1468 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1469 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1470 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1472 %dir %{_appdir}/cgi-bin
1473 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1476 %defattr(644,root,root,755)
1477 %doc contrib/collection3/README
1478 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf
1479 %dir %{_appdir}/collection3
1480 %dir %{_appdir}/collection3/bin
1481 %attr(755,root,root) %{_appdir}/collection3/bin/*.cgi
1482 %{_appdir}/collection3/etc
1483 %{_appdir}/collection3/lib
1484 %{_appdir}/collection3/share
1490 %defattr(640,root,root,755)
1491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1492 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1497 %defattr(644,root,root,755)
1498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1499 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1503 %defattr(640,root,root,755)
1504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1505 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1509 %defattr(644,root,root,755)
1510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1511 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1516 %defattr(644,root,root,755)
1517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1518 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1522 %files contextswitch
1523 %defattr(644,root,root,755)
1524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1525 %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1528 %defattr(644,root,root,755)
1529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1530 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1533 %defattr(644,root,root,755)
1534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1535 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1538 %defattr(644,root,root,755)
1539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1540 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1543 %defattr(644,root,root,755)
1544 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1545 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1549 %defattr(640,root,root,755)
1550 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1551 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1553 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1554 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1558 %defattr(640,root,root,755)
1559 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
1560 %attr(755,root,root) %{_libdir}/%{name}/curl_json.so
1564 %defattr(640,root,root,755)
1565 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1566 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1569 %defattr(644,root,root,755)
1570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1571 %attr(755,root,root) %{_libdir}/%{name}/df.so
1574 %defattr(644,root,root,755)
1575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1576 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1580 %defattr(644,root,root,755)
1581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1582 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1586 %defattr(644,root,root,755)
1587 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1588 %attr(755,root,root) %{_libdir}/%{name}/email.so
1589 %{_mandir}/man5/collectd-email.5*
1592 %defattr(644,root,root,755)
1593 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1594 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1597 %defattr(644,root,root,755)
1598 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1599 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1600 %{_mandir}/man5/collectd-exec.5*
1603 %defattr(644,root,root,755)
1604 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1605 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1608 %defattr(644,root,root,755)
1609 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1610 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1613 %defattr(644,root,root,755)
1614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1615 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1618 %defattr(644,root,root,755)
1619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1620 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1624 %defattr(644,root,root,755)
1625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1626 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1629 %if %{with iptables}
1631 %defattr(644,root,root,755)
1632 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1633 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1637 %defattr(644,root,root,755)
1638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1639 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1643 %defattr(644,root,root,755)
1644 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
1645 %attr(755,root,root) %{_libdir}/%{name}/libvirt.so
1649 %defattr(644,root,root,755)
1650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1651 %attr(755,root,root) %{_libdir}/%{name}/load.so
1654 %defattr(644,root,root,755)
1655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1656 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1657 %{_var}/log/collectd.log
1660 %defattr(644,root,root,755)
1661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1662 %attr(755,root,root) %{_libdir}/%{name}/madwifi.so
1664 %files match_empty_counter
1665 %defattr(644,root,root,755)
1666 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1667 %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1670 %defattr(644,root,root,755)
1671 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1672 %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1675 %defattr(644,root,root,755)
1676 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1677 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1679 %files match_timediff
1680 %defattr(644,root,root,755)
1681 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1685 %defattr(644,root,root,755)
1686 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1687 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1690 %defattr(644,root,root,755)
1691 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1692 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1695 %defattr(644,root,root,755)
1696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1697 %attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1700 %defattr(644,root,root,755)
1701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1702 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1705 %defattr(644,root,root,755)
1706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1707 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1709 %if %{with multimeter}
1711 %defattr(644,root,root,755)
1712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1713 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1718 %defattr(640,root,root,755)
1719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1720 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1725 %defattr(644,root,root,755)
1726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1727 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1731 %defattr(644,root,root,755)
1732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1733 %attr(755,root,root) %{_libdir}/%{name}/network.so
1736 %defattr(644,root,root,755)
1737 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1738 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1742 %defattr(640,root,root,755)
1743 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1744 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1748 %files notify_desktop
1749 %defattr(644,root,root,755)
1750 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1751 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1754 %if %{with libesmtp}
1756 %defattr(640,root,root,755)
1757 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1758 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1762 %defattr(644,root,root,755)
1763 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1764 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1768 %defattr(644,root,root,755)
1769 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1770 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1774 %defattr(644,root,root,755)
1775 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1776 %attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1779 %defattr(644,root,root,755)
1780 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1781 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1784 %defattr(644,root,root,755)
1785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
1786 %attr(755,root,root) %{_libdir}/%{name}/perl.so
1787 %{_mandir}/man5/collectd-perl.5*
1791 %defattr(644,root,root,755)
1792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1793 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1798 %defattr(640,root,root,755)
1799 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1800 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1801 %{_datadir}/%{name}/postgresql_default.conf
1805 %defattr(644,root,root,755)
1806 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1807 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1810 %defattr(644,root,root,755)
1811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1812 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1815 %defattr(644,root,root,755)
1816 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1817 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1820 %defattr(644,root,root,755)
1821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1822 %attr(755,root,root) %{_libdir}/%{name}/python.so
1823 %{_mandir}/man5/collectd-python.5*
1827 %defattr(644,root,root,755)
1828 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
1829 %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
1832 %defattr(644,root,root,755)
1833 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1834 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1839 %defattr(644,root,root,755)
1840 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1841 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1845 %defattr(644,root,root,755)
1846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1847 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1851 %defattr(644,root,root,755)
1852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1853 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1854 %{_mandir}/man5/collectd-snmp.5*
1858 %defattr(644,root,root,755)
1859 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1860 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1863 %defattr(644,root,root,755)
1864 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1865 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1868 %defattr(644,root,root,755)
1869 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1870 %attr(755,root,root) %{_libdir}/%{name}/table.so
1873 %defattr(644,root,root,755)
1874 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1875 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1877 %files target_notification
1878 %defattr(644,root,root,755)
1879 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1880 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1882 %files target_replace
1883 %defattr(644,root,root,755)
1884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1885 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1888 %defattr(644,root,root,755)
1889 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
1890 %attr(755,root,root) %{_libdir}/%{name}/target_scale.so
1893 %defattr(644,root,root,755)
1894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1895 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1897 %files target_v5upgrade
1898 %defattr(644,root,root,755)
1899 %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
1902 %defattr(644,root,root,755)
1903 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1904 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1907 %defattr(644,root,root,755)
1908 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1909 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1912 %defattr(644,root,root,755)
1913 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1914 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1917 %defattr(644,root,root,755)
1918 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1919 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1922 %defattr(644,root,root,755)
1923 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
1924 %attr(755,root,root) %{_libdir}/%{name}/threshold.so
1925 %{_mandir}/man5/collectd-threshold.5*
1928 %defattr(644,root,root,755)
1929 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1930 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1931 %{_mandir}/man5/collectd-unixsock.5*
1934 %defattr(644,root,root,755)
1935 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1936 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1939 %defattr(644,root,root,755)
1940 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1941 %attr(755,root,root) %{_libdir}/%{name}/users.so
1944 %defattr(644,root,root,755)
1945 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1946 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1949 %defattr(644,root,root,755)
1950 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
1951 %attr(755,root,root) %{_libdir}/%{name}/varnish.so
1954 %defattr(644,root,root,755)
1955 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1956 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1959 %defattr(644,root,root,755)
1960 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1961 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1964 %defattr(644,root,root,755)
1965 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1966 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1969 %defattr(644,root,root,755)
1970 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
1971 %attr(755,root,root) %{_libdir}/%{name}/write_http.so
1975 %defattr(644,root,root,755)
1976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1977 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1980 %files -n perl-Collectd
1981 %defattr(644,root,root,755)
1982 %{perl_vendorlib}/Collectd.pm
1983 %{perl_vendorlib}/Collectd
1984 %{_mandir}/man3/*.3*