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: 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 URL: http://collectd.org/
89 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
90 BuildRequires: autoconf
91 BuildRequires: automake
92 %{?with_curl:BuildRequires: curl-devel}
93 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
94 BuildRequires: libdbi-devel
95 %{?with_libesmtp:BuildRequires: libesmtp-devel}
96 BuildRequires: libltdl-devel
97 BuildRequires: libmemcached-devel
98 BuildRequires: libnetlink-devel
99 %{?with_netlink:BuildRequires: libnetlink-devel}
100 %{?with_libvirt:BuildRequires: libnl1-devel}
101 %{?with_notify:BuildRequires: libnotify-devel}
102 %{?with_ping:BuildRequires: liboping-devel}
103 %{?with_dns:BuildRequires: libpcap-devel}
104 BuildRequires: libstatgrab-devel >= 0.12
105 BuildRequires: libstdc++-devel
106 BuildRequires: libtool
107 %{?with_xml:BuildRequires: libxml2-devel}
108 %{?with_sensors:BuildRequires: lm_sensors-devel}
109 %{?with_mysql:BuildRequires: mysql-devel}
110 %{?with_libvirt:BuildRequires: libvirt-devel}
111 BuildRequires: ncurses-devel
112 %{?with_snmp:BuildRequires: net-snmp-devel}
113 %{?with_libvirt:BuildRequires: numactl-devel}
114 %{?with_ups:BuildRequires: nut-devel}
115 BuildRequires: perl-devel
116 BuildRequires: pkgconfig
117 %{?with_pgsql:BuildRequires: postgresql-devel}
118 BuildRequires: python-devel
119 BuildRequires: python-modules
120 BuildRequires: rpmbuild(macros) >= 1.268
121 %{?with_rrd:BuildRequires: rrdtool-devel}
122 %{?with_varnish:BuildRequires: varnish-devel}
124 #BuildRequires: xfsprogs-devel
125 %{?with_xmms:BuildRequires: xmms-devel}
126 BuildRequires: yajl-devel
127 Requires(post,preun): /sbin/chkconfig
128 Requires: %{name}-libs = %{version}-%{release}
130 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
132 %define _pkglibdir %{_sharedstatedir}/%{name}
133 %define _webapps /etc/webapps
134 %define _webapp %{name}
135 %define _webappdir %{_webapps}/%{_webapp}
136 %define _appdir %{_datadir}/%{_webapp}
139 collectd is a small daemon which collects system information every 10
140 seconds and writes the results in an RRD-file.
142 In contrast to most similar software, collectd is not a script but
143 written in plain C for performance and portability. As a daemon it
144 stays in memory, so there is no need to start up a heavy interpreter
145 every time new values should be logged. This allows collectd to have a
146 10 second resolution while being nice to the system.
148 %description -l pl.UTF-8
149 collectd to mały demon zbierający co 10 sekund informacje o systemie
150 i zapisujący wyniki do pliku RRD.
152 W odróżnieniu od innych podobnych programów collectd nie jest
153 skryptem, lecz jest napisany w czystym C z myślą o wydajności
154 i przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
155 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
156 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
157 sekund i nie obciążać zbytnio systemu.
160 Summary: %{name} libraries
161 Summary(pl.UTF-8): Biblioteki %{name}
167 %description libs -l pl.UTF-8
171 Summary: Header files for %{name} libraries
172 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
173 Group: Development/Libraries
174 Requires: %{name}-libs = %{version}-%{release}
177 Header files for %{name} libraries.
179 %description devel -l pl.UTF-8
180 Pliki nagłówkowe bibliotek %{name}.
183 Summary: Static files for %{name} libraries
184 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
185 Group: Development/Libraries
186 Requires: %{name}-libs = %{version}-%{release}
189 Static files for %{name} libraries.
191 %description static -l pl.UTF-8
192 Pliki statyczne bibliotek %{name}.
195 Summary: apache-plugin for collectd
196 Summary(pl.UTF-8): Wtyczka apache dla collectd
198 Requires: %{name} = %{version}-%{release}
201 This plugin collect data provided by Apache's `mod_status'.
203 %description apache -l pl.UTF-8
204 Wtyczka collectd zbierająca informacje udostępniane przez moduł
208 Summary: APC UPS plugin for collectd
209 Summary(pl.UTF-8): Wtyczka APC UPS dla collectd
211 Requires: %{name} = %{version}-%{release}
214 The APC UPS plugin connects to an instance of Apcupsd to read various
215 statistics about a connected uninterruptible power supply (UPS), such
216 as voltage, load, etc.
219 Summary: ascent-plugin for collectd
220 Summary(pl.UTF-8): Wtyczka ascent dla collectd
222 Requires: %{name} = %{version}-%{release}
225 The Ascent plugin reads and parses the statistics page of Ascent, a
226 free and open-source server software for the game World of Warcraft by
227 Blizzard Entertainment.
230 Summary: battery plugin for collectd
231 Summary(pl.UTF-8): Wtyczka battery dla collectd
233 Requires: %{name} = %{version}-%{release}
236 This plugin collects the battery's charge, the drawn current and the
240 Summary: bind plugin for collectd
241 Summary(pl.UTF-8): Wtyczka bind dla collectd
243 Requires: %{name} = %{version}-%{release}
246 Starting with BIND 9.5.0, the most widely used DNS server software
247 provides extensive statistics about queries, responses and lots of
248 other information. The bind plugin retrieves this information that's
249 encoded in XML and provided via HTTP and submits the values to
253 Summary: Web script for collectd
254 Summary(pl.UTF-8): Web script for collectd
255 Group: Applications/WWW
256 Requires: %{name} = %{version}-%{release}
258 Requires: perl(Data::Dumper)
259 Requires: perl(HTML::Entities)
261 Requires: perl(URI::Escape)
262 Requires: webserver(cgi)
263 Suggests: fonts-TTF-DejaVu
265 %description collection
266 Web script for collectd.
269 Summary: Web script for collectd
270 Summary(pl.UTF-8): Web script for collectd
271 Group: Applications/WWW
272 Requires: %{name} = %{version}-%{release}
273 Requires: perl-Collectd = %{version}-%{release}
274 Requires: perl(Config::General)
275 Requires: perl(HTML::Entities)
276 Requires: perl(Regexp::Common)
278 Requires: webserver(cgi)
279 Suggests: fonts-TTF-DejaVu
281 %description collection3
282 Web script for collectd.
284 %package contextswitch
285 Summary: contextswitch-plugin for collectd
286 Summary(pl.UTF-8): Wtyczka contextswitch dla collectd
288 Requires: %{name} = %{version}-%{release}
290 %description contextswitch
291 The ContextSwitch plugin collects the number of context switches done
292 by the operating system.
295 Summary: conntrack-plugin for collectd
296 Summary(pl.UTF-8): Wtyczka conntrack dla collectd
298 Requires: %{name} = %{version}-%{release}
300 %description conntrack
301 The conntrack-plugin collects the connection tracking table size.
304 Summary: cpu-plugin for collectd
305 Summary(pl.UTF-8): Wtyczka cpu dla collectd
307 Requires: %{name} = %{version}-%{release}
310 The cpu-plugin collects the amount of time spent by the CPU in various
311 states, most notably executing user code, executing system code,
312 waiting for IO operations and being idle.
315 Summary: cpufreq-plugin for collectd
316 Summary(pl.UTF-8): Wtyczka cpufreq dla collectd
318 Requires: %{name} = %{version}-%{release}
321 Collects the current CPU's frequency, mostly for mobile computers.
324 Summary: CSV output plugin for collectd
325 Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd
327 Requires: %{name} = %{version}-%{release}
330 CSV output plugin for collectd.
333 Summary: cURL output plugin for collectd
334 Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd
336 Requires: %{name} = %{version}-%{release}
339 The curl plugin uses the libcurl to read web pages and the match
340 infrastructure (the same code used by the tail plugin) to use regular
341 expressions with the received data.
344 Summary: cURL JSON plugin for collectd
345 Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd
347 Requires: %{name} = %{version}-%{release}
349 %description curl_json
350 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
351 using the cURL library and parses it according to the user's
352 configuration using Yet Another JSON Library (YAJL). This can be used
353 to query statistics information from a CouchDB instance, for example.
356 Summary: dbi plugin for collectd
357 Summary(pl.UTF-8): Wtyczka dbi dla collectd
359 Requires: %{name} = %{version}-%{release}
362 This plugin uses the dbi library to connect to various databases,
363 execute SQL statements and read back the results. dbi is an acronym
364 for "database interface" in case you were wondering about the name.
365 You can configure how each column is to be interpreted and the plugin
366 will generate one or more data sets from each row returned according
370 Summary: df-plugin for collectd
371 Summary(pl.UTF-8): Wtyczka df dla collectd
373 Requires: %{name} = %{version}-%{release}
376 The df-plugin collects file system usage information, i. e. basically
377 how much space on a mounted partition is used and how much is
378 available. It's named after and very similar to the df(1) UNIX command
379 that's been around forever.
382 Summary: disk-plugin for collectd
383 Summary(pl.UTF-8): Wtyczka disk dla collectd
385 Requires: %{name} = %{version}-%{release}
388 This plugin collects performance statistics of harddisks and, where
389 supported, partitions.
392 Summary: dns-plugin for collectd
393 Summary(pl.UTF-8): Wtyczka dns dla collectd
395 Requires: %{name} = %{version}-%{release}
396 Requires: perl-rrdtool
399 This plugin has a similar functionality to dnstop: It uses libpcap to
400 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
401 interprets the packets and collects statistics of your DNS traffic.
404 Summary: email-plugin for collectd
405 Summary(pl.UTF-8): Wtyczka email dla collectd
407 Requires: %{name} = %{version}-%{release}
410 The email plugin opens an UNIX-socket over which one can submit email
411 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
412 mails received/handled, spam scores and matched spam checks.
414 This plugin is intended to be used with the the
415 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
416 is included in contrib/, but is of course not limited to that use.
419 Summary: entropy-plugin for collectd
420 Summary(pl.UTF-8): Wtyczka entropy dla collectd
422 Requires: %{name} = %{version}-%{release}
425 The Entropy plugin collects the available entropy on a system. Entropy
426 is important to generate random numbers, which are used for
427 encryption, authorization and similar tasks.
430 Summary: exec-plugin for collectd
431 Summary(pl.UTF-8): Wtyczka exec dla collectd
433 Requires: %{name} = %{version}-%{release}
436 The exec plugin forks of an executable either to receive values or to
437 dispatch notifications to the outside world.
440 Summary: filecount-plugin for collectd
441 Summary(pl.UTF-8): Wtyczka filecount dla collectd
443 Requires: %{name} = %{version}-%{release}
445 %description filecount
446 The filecount-plugin does something very simple: Count the number of
447 files in a directory and all its subdirectories. This can be used for
448 a variety of statistics, for example the queue length of an MTA, the
449 number of PHP sessions of a web server or simply the number of files
450 in your home directory.
453 Summary: fscache-plugin for collectd
454 Summary(pl.UTF-8): Wtyczka fscache dla collectd
456 Requires: %{name} = %{version}-%{release}
459 The fscache-plugin collects statistics about Linux file-system based
463 Summary: hddtemp-plugin for collectd
464 Summary(pl.UTF-8): Wtyczka hddtemp dla collectd
466 Requires: %{name} = %{version}-%{release}
467 Suggests: hddtemp-hddtempd
470 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
471 and queried by the external hddtemp-daemon.
474 Summary: interface-plugin for collectd
475 Summary(pl.UTF-8): Wtyczka interface dla collectd
477 Requires: %{name} = %{version}-%{release}
479 %description interface
480 The interface-plugin collects information about the traffic (octets),
481 packets and errors of interfaces.
484 Summary: iptables-plugin for collectd
485 Summary(pl.UTF-8): Wtyczka iptables dla collectd
487 Requires: %{name} = %{version}-%{release}
489 %description iptables
490 With this plugin you can gather statistics from your ip_tables based
491 packetfilter (aka. firewall). It can collect the byte- and
492 packet-counters of selected rules and submit them to collectd. You can
493 select rules that should be collected wither by its position (e.g.
494 "the fourth rule in the INPUT queue in the filter table") or by its
495 comment (using the COMMENT match). This means that depending on your
496 firewall layout you can collect certain services (such as the amount
497 of web-traffic), source or destination hosts or networks, dropped
498 packets and much more.
501 Summary: ipmi-plugin for collectd
502 Summary(pl.UTF-8): Wtyczka ipmi dla collectd
504 Requires: %{name} = %{version}-%{release}
507 The IPMI plugin uses the OpenIPMI library to read hardware sensors
508 from servers using the Intelligent Platform Management Interface
509 (IPMI). IPMI is very common with server hardware but usually not
510 available in consumer hardware.
513 Summary: IRQs-plugin for collectd
514 Summary(pl.UTF-8): Wtyczka IRQs dla collectd
516 Requires: %{name} = %{version}-%{release}
519 The IRQ plugin collects the number of times each interrupt has been
520 handled by the operating system.
523 Summary: libvirt-plugin for collectd
524 Summary(pl.UTF-8): Wtyczka libvirt dla collectd
526 Requires: %{name} = %{version}-%{release}
529 The libvirt plugin uses the virtualization API libvirt, created by
530 RedHat's Emerging Technology group, to gather statistics about
531 virtualized guests on a system. This way, you can collect CPU, network
532 interface and block device usage for each guest without installing
533 collectd on the guest systems. Because the statistics are received
534 from the hypervisor directly, this works not only with
535 para-virtualized hosts, but with hardware virtualized machines, too.
538 Summary: load-plugin for collectd
539 Summary(pl.UTF-8): Wtyczka load dla collectd
541 Requires: %{name} = %{version}-%{release}
544 Collects the system load. These numbers give a rough overview over the
545 utilization of a machine, though their meaning is mostly overrated.
548 Summary: logfile-plugin for collectd
549 Summary(pl.UTF-8): Wtyczka logfile dla collectd
551 Requires: %{name} = %{version}-%{release}
554 The LogFile plugin receives log messages from the daemon and writes
558 Summary: madwifi plugin for collectd
559 Summary(pl.UTF-8): Wtyczka madwifi dla collectd
561 Requires: %{name} = %{version}-%{release}
564 The MadWifi plugin collects information about Atheros wireless LAN
565 chipsets from the MadWifi driver. It uses the /sys filesystem to
566 identify cards handled by this driver automatically but can be
567 configured manually, too. Because very many statistics are available,
568 an advanced selection mechanism is provided.
570 %package match_empty_counter
571 Summary: match_empty_counter plugin for collectd
572 Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd
574 Requires: %{name} = %{version}-%{release}
576 %description match_empty_counter
577 Empty Counter match matches value lists, where at least one data
578 source is of type COUNTER and the counter value of all counter data
581 %package match_hashed
582 Summary: match_hashed plugin for collectd
583 Summary(pl.UTF-8): Wtyczka match_hashed dla collectd
585 Requires: %{name} = %{version}-%{release}
587 %description match_hashed
588 match_hashed plugin for collectd - match for simple load balancing and
592 Summary: match_regex plugin for collectd
593 Summary(pl.UTF-8): Wtyczka match_regex dla collectd
595 Requires: %{name} = %{version}-%{release}
597 %description match_regex
598 match_regex plugin for collectd.
600 %package match_timediff
601 Summary: match_timediff plugin for collectd
602 Summary(pl.UTF-8): Wtyczka match_timediff dla collectd
604 Requires: %{name} = %{version}-%{release}
606 %description match_timediff
607 match_timediff plugin for collectd.
610 Summary: match_value plugin for collectd
611 Summary(pl.UTF-8): Wtyczka match_value dla collectd
613 Requires: %{name} = %{version}-%{release}
615 %description match_value
616 match_value plugin for collectd.
619 Summary: mbmon plugin for collectd
620 Summary(pl.UTF-8): Wtyczka mbmon dla collectd
622 Requires: %{name} = %{version}-%{release}
625 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
628 Summary: memcachec-plugin for collectd
629 Summary(pl.UTF-8): Wtyczka memcachec dla collectd
631 Requires: %{name} = %{version}-%{release}
633 %description memcachec
634 The memcachec plugin connects to a memcached server, queries one or
635 more given pages and parses the returned data according to user
636 specification. The matches used are similar to the matches used in the
637 cURL and Tail plugins.
640 Summary: memcached-plugin for collectd
641 Summary(pl.UTF-8): Wtyczka memcached dla collectd
643 Requires: %{name} = %{version}-%{release}
645 %description memcached
646 The memcached plugin connects to a memcached daemon and collects the
647 number of connections and requests handled by the daemon, the CPU
648 resources consumed, number of items cached, number of threads, and
649 bytes sent and received.
652 Summary: memory-plugin for collectd
653 Summary(pl.UTF-8): Wtyczka memory dla collectd
655 Requires: %{name} = %{version}-%{release}
658 Collects physical memory utilization for collectd.
661 Summary: multimeter-plugin for collectd
662 Summary(pl.UTF-8): Wtyczka multimeter dla collectd
664 Requires: %{name} = %{version}-%{release}
666 %description multimeter
667 The Multimeter plugin reads a value (usually a voltage or current)
668 from a multimeter connected to a serial bus. The plugin tries
669 /dev/ttyS0-9 in order to find a multimeter – no configuration is
672 The multimeter used for development was a Metex M-4650CR.
675 Summary: mysql-plugin for collectd
676 Summary(pl.UTF-8): Moduł mysql dla collectd.
678 Requires: %{name} = %{version}-%{release}
679 Requires: mysql-client
682 MySQL querying plugin. This plugins provides data of issued commands,
683 called handlers and database traffic.
685 %description mysql -l pl.UTF-8
686 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
687 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
690 Summary: netlink-plugin for collectd
691 Summary(pl.UTF-8): Wtyczka netlink dla collectd
693 Requires: %{name} = %{version}-%{release}
696 This plugin will open a netlink socket to the Linux kernel and use it
697 to get statistics for interfaces, qdiscs, classes, and, if you can
698 make use of it, filters. Since in most setups many of the statistics
699 this plugin can collect aren't of interest, you can select which
700 information to gather using the configuration.
703 Summary: network-plugin for collectd
704 Summary(pl.UTF-8): Wtyczka network dla collectd
706 Requires: %{name} = %{version}-%{release}
709 The Network plugin can send values to other instances and receive
710 values from other %{name} instances.
713 Summary: NFS-plugin for collectd
714 Summary(pl.UTF-8): Wtyczka NFS dla collectd
716 Requires: %{name} = %{version}-%{release}
719 The nfs plugin counts the number of procedure calls of the different
723 Summary: nginx-plugin for collectd
724 Summary(pl.UTF-8): Wtyczka nginx dla collectd
726 Requires: %{name} = %{version}-%{release}
729 This plugin collects the number of connections and requests handled by
730 the nginx daemon, a HTTP and mail server/proxy. It queries the page
731 provided by the ngx_http_stub_status_module module, which isn't
734 %package notify_desktop
735 Summary: notify_desktop for collectd
736 Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd
738 Requires: %{name} = %{version}-%{release}
739 Requires: dbus(org.freedesktop.Notifications)
741 %description notify_desktop
742 This plugin sends a desktop notification to a notification daemon, as
743 defined in the Desktop Notification Specification.
745 %package notify_email
746 Summary: notify_email-plugin for collectd
747 Summary(pl.UTF-8): Wtyczka notify_email dla collectd
749 Requires: %{name} = %{version}-%{release}
751 %description notify_email
752 The Notify Email plugin uses libESMTP to send notifications to a
753 configured email address(es).
756 Summary: ntpd-plugin for collectd
757 Summary(pl.UTF-8): Wtyczka ntpd dla collectd
759 Requires: %{name} = %{version}-%{release}
762 The NTPd plugin queries an NTP server (usually the local one, where
763 statistics access is allowed) and extracts :
764 - "local" clock parameters: time offset, error and offset loop,
765 - parameters for each NTP server used to sync time: offset,
769 Summary: nut-plugin for collectd
770 Summary(pl.UTF-8): Wtyczka nut dla collectd
772 Requires: %{name} = %{version}-%{release}
775 UPS statistics using the Network UPS Tools. These statistics include
776 basically everything NUT will give us, including voltages, currents,
777 power, frequencies, load, and temperatures.
780 Summary: olsrd plugin for collectd
781 Summary(pl.UTF-8): Wtyczka olsrd dla collectd
783 Requires: %{name} = %{version}-%{release}
786 The olsrd plugin reads information about meshed networks from the
787 txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
790 Summary: openvpn plugin for collectd
791 Summary(pl.UTF-8): Wtyczka openvpn dla collectd
793 Requires: %{name} = %{version}-%{release}
797 The OpenVPN plugin reads a status file maintained by OpenVPN and
798 gathers traffic statistics about connected clients.
801 Summary: perl plugin for collectd
802 Summary(pl.UTF-8): Wtyczka perl dla collectd
804 Requires: %{name} = %{version}-%{release}
805 Requires: perl-Collectd = %{version}-%{release}
808 The Perl plugin embeds a Perl interpreter into collectd and exposes
809 the application programming interface (API) to Perl-scripts. This
810 allows to write own plugins in the popular scripting language, which
811 are then loaded and executed by the daemon without the need to start a
812 new process and interpreter every few seconds. Perl-modules written
813 for the Perl plugin are therefore more powerful and efficient than
814 scripts executed by the Exec plugin.
817 Summary: ping-plugin for collectd
818 Summary(pl.UTF-8): Wtyczka ping dla collectd
820 Requires: %{name} = %{version}-%{release}
821 Requires: liboping >= 1.1.2
824 The network latency is measured as a roundtrip time. An
825 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
826 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
827 not received within one second the plugin will no longer expect a
828 reply and return. This may happen in several circumstances, e. g. the
829 packet is lost, the host is down, a router has dismissed the packet,
833 Summary: mysql-plugin for collectd
834 Summary(pl.UTF-8): Moduł postgresql dla collectd.
836 Requires: %{name} = %{version}-%{release}
838 %description postgresql
839 The postgresql plugin queries statistics from PostgreSQL databases. It
840 keeps a persistent connection to all configured databases and tries to
841 reconnect if the connection has been interrupted.
844 Summary: powerdns-plugin for collectd
845 Summary(pl.UTF-8): Wtyczka powerdns dla collectd
847 Requires: %{name} = %{version}-%{release}
849 %description powerdns
850 The powerdns plugin queries statistics from an authoritative PowerDNS
851 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
852 of values, many of which are probably meaningless to most users, but
853 may be useful for some.
856 Summary: processes-plugin for collectd
857 Summary(pl.UTF-8): Wtyczka processes dla collectd
859 Requires: %{name} = %{version}-%{release}
861 %description processes
862 This plugin collects the number of processes, grouped by their state
863 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
864 select detailed statistics about selected processes, grouped by name.
867 Summary: protocols-plugin for collectd
868 Summary(pl.UTF-8): Wtyczka protocols dla collectd
870 Requires: %{name} = %{version}-%{release}
872 %description protocols
873 The protocols-plugin provides information about network protocols,
874 such as IP, TCP and UDP.
877 Summary: python-plugin for collectd
878 Summary(pl.UTF-8): Wtyczka python dla collectd
880 Requires: %{name} = %{version}-%{release}
883 The Python plugin embeds a Python interpreter into collectd and
884 exposes the application programming interface (API) to Python-scripts.
885 This allows to write own plugins in the popular scripting language,
886 which are then loaded and executed by the daemon without the need to
887 start a new process and interpreter every few seconds. Python-modules
888 written for the Python plugin are therefore more powerful and
889 efficient than scripts executed by the Exec plugin.
892 Summary: rrdcached-plugin for collectd
893 Summary(pl.UTF-8): Wtyczka rrdcached dla collectd
895 Requires: %{name} = %{version}-%{release}
897 %description rrdcached
898 The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
899 to store values to RRD files in an efficient manner. The combination
900 of the rrdcached plugin and the rrdcached daemon is very similar to
901 the way the rrdtool plugin works.
904 Summary: rrdtool-plugin for collectd
905 Summary(pl.UTF-8): Wtyczka rrdtool dla collectd
907 Requires: %{name} = %{version}-%{release}
911 The RRDtool plugin writes values to RRD-files using librrd.
914 Summary: sensors-plugin for collectd
915 Summary(pl.UTF-8): Wtyczka sensors dla collectd
917 Requires: %{name} = %{version}-%{release}
920 This plugin uses lm-sensors to read hardware sensors. You will need to
921 configure lm-sensors before this plugin will collect any usefull and
925 Summary: serial-plugin for collectd
926 Summary(pl.UTF-8): Wtyczka serial dla collectd
928 Requires: %{name} = %{version}-%{release}
931 The Serial plugin collects the traffic on serial interfaces.
934 Summary: snmp-plugin for collectd
935 Summary(pl.UTF-8): Wtyczka snmp dla collectd
937 Requires: %{name} = %{version}-%{release}
940 The snmp plugin queries other hosts using SNMP, the Simple Network
941 Management Protocol, and translates the value it receives to
942 collectd's internal format and dispatches them. Depending on the write
943 plugins you have loaded they may be written to disk or submitted to
944 another instance or whatever you configured.
947 Summary: swap-plugin for collectd
948 Summary(pl.UTF-8): Wtyczka swap dla collectd
950 Requires: %{name} = %{version}-%{release}
953 The Swap plugin collects the amount of memory currently written onto
954 hard disk or whatever the system calls “swap”.
957 Summary: syslog-plugin for collectd
958 Summary(pl.UTF-8): Wtyczka syslog dla collectd
960 Requires: %{name} = %{version}-%{release}
963 The SysLog plugin receives log messages from the daemon and dispatches
967 Summary: table-plugin for collectd
968 Summary(pl.UTF-8): Wtyczka table dla collectd
970 Requires: %{name} = %{version}-%{release}
973 The table-plugin provides parsing for table-like structured files,
974 such as many files beneath /proc.
976 %package target_notification
977 Summary: target_notification-plugin for collectd
978 Summary(pl.UTF-8): Wtyczka target_notification dla collectd
980 Requires: %{name} = %{version}-%{release}
982 %description target_notification
983 target_notification plugin for collectd.
985 %package target_replace
986 Summary: target_replace-plugin for collectd
987 Summary(pl.UTF-8): Wtyczka target_replace dla collectd
989 Requires: %{name} = %{version}-%{release}
991 %description target_replace
992 target_replace plugin for collectd.
994 %package target_scale
995 Summary: target_scale-plugin for collectd
996 Summary(pl.UTF-8): Wtyczka target_scale dla collectd
998 Requires: %{name} = %{version}-%{release}
1000 %description target_scale
1001 Target to scale (multiply) values by an arbitrary value.
1004 Summary: target_set-plugin for collectd
1005 Summary(pl.UTF-8): Wtyczka target_set dla collectd
1007 Requires: %{name} = %{version}-%{release}
1009 %description target_set
1010 target_set plugin for collectd.
1012 %package target_v5upgrade
1013 Summary: target_v5upgrade-plugin for collectd
1014 Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd
1016 Requires: %{name} = %{version}-%{release}
1018 %description target_v5upgrade
1019 The v5 upgrade target can be used to upgrade version 4 data to a
1020 changed version 5 layout.
1023 Summary: tail-plugin for collectd
1024 Summary(pl.UTF-8): Wtyczka tail dla collectd
1026 Requires: %{name} = %{version}-%{release}
1029 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
1030 tail -F does. Each line is given to one or more "matches" which test
1031 if the line is relevant for any statistics using a regular expression.
1034 Summary: tcpconns-plugin for collectd
1035 Summary(pl.UTF-8): Wtyczka tcpconns dla collectd
1037 Requires: %{name} = %{version}-%{release}
1039 %description tcpconns
1040 The tcpconns-plugin counts the number of TCP connections to or from a
1041 specified port. Typically the connectioins where you specify the local
1042 port are incoming connections while the connections where you specify
1043 the remote port are outgoing connections.
1046 Summary: teamspeak2-plugin for collectd
1047 Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd
1049 Requires: %{name} = %{version}-%{release}
1051 %description teamspeak2
1052 The teamspeak2 plugin connects to the query port of a teamspeak2
1053 server and polls interesting global and virtual server data. The
1054 plugin can query only one physical server but unlimited virtual
1058 Summary: ted-plugin for collectd
1059 Summary(pl.UTF-8): Wtyczka ted dla collectd
1061 Requires: %{name} = %{version}-%{release}
1064 The TED-plugin reads power consumption measurements from “The Energy
1068 Summary: thermal-plugin for collectd
1069 Summary(pl.UTF-8): Wtyczka thermal dla collectd
1071 Requires: %{name} = %{version}-%{release}
1073 %description thermal
1074 The thermal plugin reads ACPI thermal zone information from the sysfs
1075 or procfs file system, i. e. mostly system temperature information.
1078 Summary: threshold-plugin for collectd
1079 Summary(pl.UTF-8): Wtyczka threshold dla collectd
1081 Requires: %{name} = %{version}-%{release}
1083 %description threshold
1084 threshold-plugin for collectd.
1087 Summary: unixsock-plugin for collectd
1088 Summary(pl.UTF-8): Wtyczka unixsock dla collectd
1090 Requires: %{name} = %{version}-%{release}
1092 %description unixsock
1093 The unixsock plugin opens an UNIX-socket over which one can interact
1094 with the daemon. This can be used to use the values collected by
1095 collectd in other applications, such as monitoring, or submit
1096 externally collected values to collectd.
1099 Summary: uptime-plugin for collectd
1100 Summary(pl.UTF-8): Wtyczka uptime dla collectd
1102 Requires: %{name} = %{version}-%{release}
1105 The uptime-plugin can collect the server's uptime.
1108 Summary: users-plugin for collectd
1109 Summary(pl.UTF-8): Wtyczka users dla collectd
1111 Requires: %{name} = %{version}-%{release}
1114 Number of users currently logged in.
1117 Summary: uuid-plugin for collectd
1118 Summary(pl.UTF-8): Wtyczka uuid dla collectd
1120 Requires: %{name} = %{version}-%{release}
1123 This plugin, if loaded, causes the Hostname to be taken from the
1124 machine's UUID. The UUID is a universally unique designation for the
1125 machine, usually taken from the machine's BIOS. This is most useful if
1126 the machine is running in a virtual environment such as Xen, in which
1127 case the UUID is preserved across shutdowns and migration.
1130 Summary: varnish-plugin for collectd
1131 Summary(pl.UTF-8): Wtyczka varnish dla collectd
1133 Requires: %{name} = %{version}-%{release}
1135 %description varnish
1136 The Varnish plugin collects information about Varnish, an HTTP
1140 Summary: vmem-plugin for collectd
1141 Summary(pl.UTF-8): Wtyczka vmem dla collectd
1143 Requires: %{name} = %{version}-%{release}
1146 The vmem plugin collects information about the usage of virtual
1147 memory. Since the statistics provided by the Linux kernel are very
1148 detailed, they are collected very detailed.
1151 Summary: vserver-plugin for collectd
1152 Summary(pl.UTF-8): Wtyczka vserver dla collectd
1154 Requires: %{name} = %{version}-%{release}
1156 %description vserver
1157 Collects information about the virtual servers running on a system,
1158 using Linux-Vserver.
1161 Summary: write_http-plugin for collectd
1162 Summary(pl.UTF-8): Wtyczka write_http dla collectd
1164 Requires: %{name} = %{version}-%{release}
1166 %description write_http
1167 The Write HTTP plugin sends the values collected by collectd to a
1168 web-server using HTTP POST requests. The data is formatted as PUTVAL
1172 Summary: wireless-plugin for collectd
1173 Summary(pl.UTF-8): Wtyczka wireless dla collectd
1175 Requires: %{name} = %{version}-%{release}
1177 %description wireless
1178 The Wireless plugin collects signal quality, signal power and
1179 signal-to-noise ratio for wireless LAN cards.
1182 Summary: xmms-plugin for collectd
1183 Summary(pl.UTF-8): Wtyczka xmms dla collectd
1185 Requires: %{name} = %{version}-%{release}
1188 The XMMS plugin is a plugin for the XMMS music player. It graphs the
1189 bit-rate and sampling rate as you play songs. Not really useful, just
1190 something that got written because we can.
1192 %package -n perl-Collectd
1193 Summary: Perl files from Collectd package
1196 %description -n perl-Collectd
1197 Perl files from Collectd package
1216 CPPFLAGS="-Wno-unused-but-set-variable" \
1217 c_cv_have_libperl=yes \
1218 --with-libiptc=/usr \
1219 --with-libstatgrab=/usr \
1220 --with-lm-sensors=/usr \
1221 --with-libmysql=/usr \
1223 %{__enable_disable dns} \
1224 %{__enable_disable ipmi} \
1225 %{__enable_disable iptables} \
1226 %{__enable_disable multimeter} \
1227 %{__enable_disable mysql} \
1228 %{__enable_disable netlink} \
1229 %{__enable_disable notify notify_desktop} \
1230 %{__enable_disable libesmtp notify_email} \
1231 %{__enable_disable libvirt} \
1232 %{__enable_disable ups nut} \
1233 %{__enable_disable ping} \
1234 %{__enable_disable pgsql postgresql} \
1235 %{__enable_disable rrd rrdtool} \
1236 %{__enable_disable sensors} \
1237 %{__enable_disable snmp} \
1238 %{__enable_disable xmms} \
1239 %{__enable_disable varnish} \
1240 %{__enable_disable curl} \
1241 %{__enable_disable curl apache} \
1242 %{__enable_disable curl ngix} \
1243 %{__enable_disable curl ascent} \
1244 %{__disable curl ascent} \
1245 %{__disable curl bind} \
1246 %{__disable xml ascent} \
1247 %{__disable xml bind} \
1251 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
1252 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
1253 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
1256 rm -rf $RPM_BUILD_ROOT
1257 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
1258 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
1261 DESTDIR=$RPM_BUILD_ROOT
1263 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
1264 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1267 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1268 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
1269 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1270 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1271 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1273 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1274 mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1275 ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf
1276 sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1278 ### Configs instalation ###
1279 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1280 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1281 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1284 # Example config in sources: src/collectd.conf
1285 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1287 # Overwrite only files which we want to change:
1288 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1289 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1291 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1292 mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/
1295 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1298 rm -rf $RPM_BUILD_ROOT
1301 /sbin/chkconfig --add %{name}
1302 %service %{name} restart
1305 if [ "$1" = "0" ]; then
1306 %service -q %{name} stop
1307 /sbin/chkconfig --del %{name}
1310 %post libs -p /sbin/ldconfig
1311 %postun libs -p /sbin/ldconfig
1313 %define module_scripts() \
1315 %service %{name} restart \
1318 %service %{name} restart
1320 %module_scripts apache
1321 %module_scripts apcups
1322 %module_scripts ascent
1323 %module_scripts battery
1324 %module_scripts bind
1325 %module_scripts contextswitch
1326 %module_scripts conntrack
1328 %module_scripts cpufreq
1330 %module_scripts curl
1331 %module_scripts curl_json
1334 %module_scripts disk
1336 %module_scripts email
1337 %module_scripts entropy
1338 %module_scripts exec
1339 %module_scripts filecount
1340 %module_scripts fscache
1341 %module_scripts hddtemp
1342 %module_scripts interface
1343 %module_scripts ipmi
1344 %module_scripts iptables
1346 %module_scripts libvirt
1347 %module_scripts load
1348 %module_scripts logfile
1349 %module_scripts madwifi
1350 %module_scripts match_empty_counter
1351 %module_scripts match_hashed
1352 %module_scripts match_regex
1353 %module_scripts match_timediff
1354 %module_scripts match_value
1355 %module_scripts mbmon
1356 %module_scripts memcachec
1357 %module_scripts memcached
1358 %module_scripts memory
1359 %module_scripts multimeter
1360 %module_scripts mysql
1361 %module_scripts netlink
1362 %module_scripts network
1364 %module_scripts nginx
1365 %module_scripts notify_desktop
1366 %module_scripts notify_email
1367 %module_scripts ntpd
1369 %module_scripts olsrd
1370 %module_scripts openvpn
1371 %module_scripts perl
1372 %module_scripts ping
1373 %module_scripts postgresql
1374 %module_scripts powerdns
1375 %module_scripts processes
1376 %module_scripts protocols
1377 %module_scripts python
1378 %module_scripts rrdcached
1379 %module_scripts rrdtool
1380 %module_scripts sensors
1381 %module_scripts serial
1382 %module_scripts snmp
1383 %module_scripts swap
1384 %module_scripts syslog
1385 %module_scripts table
1386 %module_scripts tail
1387 %module_scripts target_notification
1388 %module_scripts target_replace
1389 %module_scripts target_scale
1390 %module_scripts target_set
1391 %module_scripts target_v5upgrade
1392 %module_scripts tcpconns
1393 %module_scripts teamspeak2
1395 %module_scripts thermal
1396 %module_scripts threshold
1397 %module_scripts unixsock
1398 %module_scripts uptime
1399 %module_scripts users
1400 %module_scripts uuid
1401 %module_scripts varnish
1402 %module_scripts vmem
1403 %module_scripts vserver
1404 %module_scripts write_http
1405 %module_scripts wireless
1406 %module_scripts xmms
1408 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1409 %webapp_register apache %{_webapp}
1411 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1412 %webapp_unregister apache %{_webapp}
1414 %triggerin collection -- apache < 2.2.0, apache-base
1415 %webapp_register httpd %{_webapp}
1417 %triggerun collection -- apache < 2.2.0, apache-base
1418 %webapp_unregister httpd %{_webapp}
1420 %triggerin collection -- lighttpd
1421 %webapp_register lighttpd %{_webapp}
1423 %triggerun collection -- lighttpd
1424 %webapp_unregister lighttpd %{_webapp}
1427 %defattr(644,root,root,755)
1428 %doc AUTHORS ChangeLog README TODO contrib
1429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1430 %dir %{_sysconfdir}/%{name}.d
1432 %attr(755,root,root) %{_sbindir}/collectd
1433 %attr(755,root,root) %{_sbindir}/collectdmon
1434 %attr(755,root,root) %{_bindir}/collectdctl
1435 %attr(755,root,root) %{_bindir}/collectd-nagios
1436 %dir %{_libdir}/%{name}
1437 %dir %{_datadir}/%{name}
1438 %{_datadir}/%{name}/types.db
1439 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1440 %{_mandir}/man1/collectd.1*
1441 %{_mandir}/man1/collectd-nagios.1*
1442 %{_mandir}/man1/collectdctl.1*
1443 %{_mandir}/man1/collectdmon.1*
1444 %{_mandir}/man5/collectd.conf.5*
1445 %{_mandir}/man5/collectd-java.5*
1446 %{_mandir}/man5/types.db.5*
1447 %dir %{_var}/lib/%{name}
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1452 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1457 %{_libdir}/libcollectdclient.la
1458 %dir %{_includedir}/%{name}
1459 %{_includedir}/%{name}/*.h
1460 %{_pkgconfigdir}/libcollectdclient.pc
1463 %defattr(644,root,root,755)
1464 %{_libdir}/libcollectdclient.a
1465 %{_libdir}/%{name}/*.a
1468 %defattr(644,root,root,755)
1469 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1470 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1471 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1472 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1474 %dir %{_appdir}/cgi-bin
1475 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1478 %defattr(644,root,root,755)
1479 %doc contrib/collection3/README
1480 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf
1481 %dir %{_appdir}/collection3
1482 %dir %{_appdir}/collection3/bin
1483 %attr(755,root,root) %{_appdir}/collection3/bin/*.cgi
1484 %{_appdir}/collection3/etc
1485 %{_appdir}/collection3/lib
1486 %{_appdir}/collection3/share
1492 %defattr(640,root,root,755)
1493 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1494 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1499 %defattr(644,root,root,755)
1500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1501 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1505 %defattr(640,root,root,755)
1506 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1507 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1511 %defattr(644,root,root,755)
1512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1513 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1518 %defattr(644,root,root,755)
1519 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1520 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1524 %files contextswitch
1525 %defattr(644,root,root,755)
1526 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1527 %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1530 %defattr(644,root,root,755)
1531 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1532 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1535 %defattr(644,root,root,755)
1536 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1537 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1540 %defattr(644,root,root,755)
1541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1542 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1545 %defattr(644,root,root,755)
1546 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1547 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1551 %defattr(640,root,root,755)
1552 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1553 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1556 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1560 %defattr(640,root,root,755)
1561 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
1562 %attr(755,root,root) %{_libdir}/%{name}/curl_json.so
1566 %defattr(640,root,root,755)
1567 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1568 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1571 %defattr(644,root,root,755)
1572 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1573 %attr(755,root,root) %{_libdir}/%{name}/df.so
1576 %defattr(644,root,root,755)
1577 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1578 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1582 %defattr(644,root,root,755)
1583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1584 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1588 %defattr(644,root,root,755)
1589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1590 %attr(755,root,root) %{_libdir}/%{name}/email.so
1591 %{_mandir}/man5/collectd-email.5*
1594 %defattr(644,root,root,755)
1595 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1596 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1599 %defattr(644,root,root,755)
1600 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1601 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1602 %{_mandir}/man5/collectd-exec.5*
1605 %defattr(644,root,root,755)
1606 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1607 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1610 %defattr(644,root,root,755)
1611 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1612 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1615 %defattr(644,root,root,755)
1616 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1617 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1620 %defattr(644,root,root,755)
1621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1622 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1626 %defattr(644,root,root,755)
1627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1628 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1631 %if %{with iptables}
1633 %defattr(644,root,root,755)
1634 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1635 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1639 %defattr(644,root,root,755)
1640 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1641 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1645 %defattr(644,root,root,755)
1646 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
1647 %attr(755,root,root) %{_libdir}/%{name}/libvirt.so
1651 %defattr(644,root,root,755)
1652 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1653 %attr(755,root,root) %{_libdir}/%{name}/load.so
1656 %defattr(644,root,root,755)
1657 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1658 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1659 %{_var}/log/collectd.log
1662 %defattr(644,root,root,755)
1663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1664 %attr(755,root,root) %{_libdir}/%{name}/madwifi.so
1666 %files match_empty_counter
1667 %defattr(644,root,root,755)
1668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1669 %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1672 %defattr(644,root,root,755)
1673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1674 %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1677 %defattr(644,root,root,755)
1678 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1679 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1681 %files match_timediff
1682 %defattr(644,root,root,755)
1683 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1687 %defattr(644,root,root,755)
1688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1689 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1692 %defattr(644,root,root,755)
1693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1694 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1697 %defattr(644,root,root,755)
1698 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1699 %attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1702 %defattr(644,root,root,755)
1703 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1704 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1707 %defattr(644,root,root,755)
1708 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1709 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1711 %if %{with multimeter}
1713 %defattr(644,root,root,755)
1714 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1715 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1720 %defattr(640,root,root,755)
1721 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1722 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1727 %defattr(644,root,root,755)
1728 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1729 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1733 %defattr(644,root,root,755)
1734 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1735 %attr(755,root,root) %{_libdir}/%{name}/network.so
1738 %defattr(644,root,root,755)
1739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1740 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1744 %defattr(640,root,root,755)
1745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1746 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1750 %files notify_desktop
1751 %defattr(644,root,root,755)
1752 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1753 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1756 %if %{with libesmtp}
1758 %defattr(640,root,root,755)
1759 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1760 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1764 %defattr(644,root,root,755)
1765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1766 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1770 %defattr(644,root,root,755)
1771 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1772 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1776 %defattr(644,root,root,755)
1777 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1778 %attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1781 %defattr(644,root,root,755)
1782 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1783 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1786 %defattr(644,root,root,755)
1787 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
1788 %attr(755,root,root) %{_libdir}/%{name}/perl.so
1789 %{_mandir}/man5/collectd-perl.5*
1793 %defattr(644,root,root,755)
1794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1795 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1800 %defattr(640,root,root,755)
1801 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1802 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1803 %{_datadir}/%{name}/postgresql_default.conf
1807 %defattr(644,root,root,755)
1808 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1809 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1812 %defattr(644,root,root,755)
1813 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1814 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1817 %defattr(644,root,root,755)
1818 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1819 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1822 %defattr(644,root,root,755)
1823 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1824 %attr(755,root,root) %{_libdir}/%{name}/python.so
1825 %{_mandir}/man5/collectd-python.5*
1829 %defattr(644,root,root,755)
1830 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
1831 %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
1834 %defattr(644,root,root,755)
1835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1836 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1841 %defattr(644,root,root,755)
1842 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1843 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1847 %defattr(644,root,root,755)
1848 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1849 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1853 %defattr(644,root,root,755)
1854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1855 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1856 %{_mandir}/man5/collectd-snmp.5*
1860 %defattr(644,root,root,755)
1861 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1862 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1865 %defattr(644,root,root,755)
1866 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1867 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1870 %defattr(644,root,root,755)
1871 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1872 %attr(755,root,root) %{_libdir}/%{name}/table.so
1875 %defattr(644,root,root,755)
1876 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1877 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1879 %files target_notification
1880 %defattr(644,root,root,755)
1881 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1882 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1884 %files target_replace
1885 %defattr(644,root,root,755)
1886 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1887 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1890 %defattr(644,root,root,755)
1891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
1892 %attr(755,root,root) %{_libdir}/%{name}/target_scale.so
1895 %defattr(644,root,root,755)
1896 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1897 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1899 %files target_v5upgrade
1900 %defattr(644,root,root,755)
1901 %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
1904 %defattr(644,root,root,755)
1905 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1906 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1909 %defattr(644,root,root,755)
1910 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1911 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1914 %defattr(644,root,root,755)
1915 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1916 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1919 %defattr(644,root,root,755)
1920 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1921 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1924 %defattr(644,root,root,755)
1925 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
1926 %attr(755,root,root) %{_libdir}/%{name}/threshold.so
1927 %{_mandir}/man5/collectd-threshold.5*
1930 %defattr(644,root,root,755)
1931 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1932 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1933 %{_mandir}/man5/collectd-unixsock.5*
1936 %defattr(644,root,root,755)
1937 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1938 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1941 %defattr(644,root,root,755)
1942 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1943 %attr(755,root,root) %{_libdir}/%{name}/users.so
1946 %defattr(644,root,root,755)
1947 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1948 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1951 %defattr(644,root,root,755)
1952 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
1953 %attr(755,root,root) %{_libdir}/%{name}/varnish.so
1956 %defattr(644,root,root,755)
1957 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1958 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1961 %defattr(644,root,root,755)
1962 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1963 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1966 %defattr(644,root,root,755)
1967 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1968 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1971 %defattr(644,root,root,755)
1972 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
1973 %attr(755,root,root) %{_libdir}/%{name}/write_http.so
1977 %defattr(644,root,root,755)
1978 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1979 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1982 %files -n perl-Collectd
1983 %defattr(644,root,root,755)
1984 %{perl_vendorlib}/Collectd.pm
1985 %{perl_vendorlib}/Collectd
1986 %{_mandir}/man3/*.3*