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 # libganglia . . . . . no (gm_protocol.h not found)
9 # libiokit . . . . . . no
10 # libjvm . . . . . . . no (javac not found)
11 # libkstat . . . . . . no (Solaris only)
12 # libkvm . . . . . . . no
13 # libnetapp . . . . . . no (netapp_api.h not found)
14 # librouteros . . . . . no ('routeros_api.h' not found)
15 # libtokyotyrant . . . no (tcrdb.h not found)
16 # libvirt . . . . . . . no (pkg-config doesn't know library)
17 # libyajl . . . . . . . no (yajl/yajl_parse.h not found)
18 # oracle . . . . . . . no (ORACLE_HOME is not set)
19 # - Disabled modules (build most of them an package):
20 # apple_sensors . . . no (obvious)
21 # ipvs . . . . . . . no (ip_vs.h not found - llh to be fixed)
22 # libvirt . . . . . . no (requires library)
23 # multimeter . . . . no ?
24 # onewire . . . . . . no (needs libowfs)
25 # tape . . . . . . . no ?
26 # gmond . . . . . . . . no
27 # java . . . . . . . . no
28 # netapp . . . . . . . no
29 # oracle . . . . . . . no
30 # routeros . . . . . . no
31 # tokyotyrant . . . . . no
32 # zfs_arc . . . . . . . no
33 # - logrotate file for logfile plugin
34 # - %desc -l pl for plugins
35 # - package SpamAssassin plugin from contrib
38 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
39 %bcond_without dns # DNS plugin
40 %bcond_without ipmi # IPMI plugin
41 %bcond_without iptables # iptables plugin
42 %bcond_without libesmtp # notify_email plugin
43 %bcond_with multimeter # multimeter plugin
44 %bcond_without mysql # MySQL plugin
45 %bcond_without netlink # netlink plugin
46 %bcond_without notify # notify_desktop plugin
47 %bcond_without ping # ping plugin
48 %bcond_without pgsql # PostgreSQL plugin
49 %bcond_without rrd # rrdtool and rrdcached plugins
50 %bcond_without sensors # sensors plugin
51 %bcond_without snmp # SNMP plugin
52 %bcond_without ups # nut plugin
53 %bcond_without varnish # varnish plugin
54 %bcond_without xml # ascent, bind and libvirt plugins
55 %bcond_without xmms # XMMS plugin
57 Summary: Collects system information in RRD files
58 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
64 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
65 # Source0-md5: 7bfea6e82d35b36f16d1da2c71397213
68 Source3: %{name}-http.conf
69 Source4: %{name}-lighttpd.conf
70 Source10: %{name}-df.conf
71 Source11: %{name}-rrdtool.conf
72 Patch0: %{name}-collection.patch
74 Patch2: netfilter.patch
75 Patch3: libnotify.patch
78 URL: http://collectd.org/
79 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
80 BuildRequires: autoconf
81 BuildRequires: automake
82 %{?with_curl:BuildRequires: curl-devel}
83 BuildRequires: hal-devel
84 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
85 BuildRequires: libdbi-devel
86 %{?with_libesmtp:BuildRequires: libesmtp-devel}
87 BuildRequires: libltdl-devel
88 BuildRequires: libmemcached-devel
89 BuildRequires: libnetlink-devel
90 %{?with_netlink:BuildRequires: libnetlink-devel}
91 %{?with_notify:BuildRequires: libnotify-devel >= 0.7.0}
92 %{?with_ping:BuildRequires: liboping-devel}
93 %{?with_dns:BuildRequires: libpcap-devel}
94 BuildRequires: libstatgrab-devel >= 0.12
95 BuildRequires: libstdc++-devel
96 BuildRequires: libtool
97 %{?with_xml:BuildRequires: libxml2-devel}
98 %{?with_sensors:BuildRequires: lm_sensors-devel}
99 %{?with_mysql:BuildRequires: mysql-devel}
100 BuildRequires: ncurses-devel
101 %{?with_snmp:BuildRequires: net-snmp-devel}
102 %{?with_ups:BuildRequires: nut-devel}
103 BuildRequires: perl-devel
104 BuildRequires: pkgconfig
105 %{?with_pgsql:BuildRequires: postgresql-devel}
106 BuildRequires: python-devel
107 BuildRequires: python-modules
108 BuildRequires: rpmbuild(macros) >= 1.268
109 %{?with_rrd:BuildRequires: rrdtool-devel}
110 %{?with_varnish:BuildRequires: varnish-devel}
112 #BuildRequires: xfsprogs-devel
113 %{?with_xmms:BuildRequires: xmms-devel}
114 Requires(post,preun): /sbin/chkconfig
116 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
118 %define _pkglibdir %{_sharedstatedir}/%{name}
119 %define _webapps /etc/webapps
120 %define _webapp %{name}
121 %define _webappdir %{_webapps}/%{_webapp}
122 %define _appdir %{_datadir}/%{_webapp}
125 collectd is a small daemon which collects system information every 10
126 seconds and writes the results in an RRD-file.
128 In contrast to most similar software, collectd is not a script but
129 written in plain C for performance and portability. As a daemon it
130 stays in memory, so there is no need to start up a heavy interpreter
131 every time new values should be logged. This allows collectd to have a
132 10 second resolution while being nice to the system.
134 %description -l pl.UTF-8
135 collectd to mały demon zbierający co 10 sekund informacje o systemie
136 i zapisujący wyniki do pliku RRD.
138 W odróżnieniu od innych podobnych programów collectd nie jest
139 skryptem, lecz jest napisany w czystym C z myślą o wydajności
140 i przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
141 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
142 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
143 sekund i nie obciążać zbytnio systemu.
146 Summary: %{name} libraries
147 Summary(pl.UTF-8): Biblioteki %{name}
153 %description libs -l pl.UTF-8
157 Summary: Header files for %{name} libraries
158 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
159 Group: Development/Libraries
160 Requires: %{name}-libs = %{version}-%{release}
163 Header files for %{name} libraries.
165 %description devel -l pl.UTF-8
166 Pliki nagłówkowe bibliotek %{name}.
169 Summary: Static files for %{name} libraries
170 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
171 Group: Development/Libraries
172 Requires: %{name}-libs = %{version}-%{release}
175 Static files for %{name} libraries.
177 %description static -l pl.UTF-8
178 Pliki statyczne bibliotek %{name}.
181 Summary: apache-plugin for collectd
182 Summary(pl.UTF-8): Wtyczka apache dla collectd
184 Requires: %{name} = %{version}-%{release}
187 This plugin collect data provided by Apache's `mod_status'.
189 %description apache -l pl.UTF-8
190 Wtyczka collectd zbierająca informacje udostępniane przez moduł
194 Summary: APC UPS plugin for collectd
195 Summary(pl.UTF-8): Wtyczka APC UPS dla collectd
197 Requires: %{name} = %{version}-%{release}
200 The APC UPS plugin connects to an instance of Apcupsd to read various
201 statistics about a connected uninterruptible power supply (UPS), such
202 as voltage, load, etc.
205 Summary: ascent-plugin for collectd
206 Summary(pl.UTF-8): Wtyczka ascent dla collectd
208 Requires: %{name} = %{version}-%{release}
211 The Ascent plugin reads and parses the statistics page of Ascent, a
212 free and open-source server software for the game World of Warcraft by
213 Blizzard Entertainment.
216 Summary: battery plugin for collectd
217 Summary(pl.UTF-8): Wtyczka battery dla collectd
219 Requires: %{name} = %{version}-%{release}
222 This plugin collects the battery's charge, the drawn current and the
226 Summary: bind plugin for collectd
227 Summary(pl.UTF-8): Wtyczka bind dla collectd
229 Requires: %{name} = %{version}-%{release}
232 Starting with BIND 9.5.0, the most widely used DNS server software
233 provides extensive statistics about queries, responses and lots of
234 other information. The bind plugin retrieves this information that's
235 encoded in XML and provided via HTTP and submits the values to
239 Summary: Web script for collectd
240 Summary(pl.UTF-8): Web script for collectd
241 Group: Applications/WWW
242 Requires: %{name} = %{version}-%{release}
244 Requires: perl(Data::Dumper)
245 Requires: perl(HTML::Entities)
247 Requires: perl(URI::Escape)
248 Requires: webserver(cgi)
249 Suggests: fonts-TTF-DejaVu
251 %description collection
252 Web script for collectd.
255 Summary: Web script for collectd
256 Summary(pl.UTF-8): Web script for collectd
257 Group: Applications/WWW
258 Requires: %{name} = %{version}-%{release}
259 Requires: perl(Config::General)
260 Requires: perl(HTML::Entities)
262 Requires: webserver(cgi)
263 Suggests: fonts-TTF-DejaVu
265 %description collection3
266 Web script for collectd.
268 %package contextswitch
269 Summary: contextswitch-plugin for collectd
270 Summary(pl.UTF-8): Wtyczka contextswitch dla collectd
272 Requires: %{name} = %{version}-%{release}
274 %description contextswitch
275 The ContextSwitch plugin collects the number of context switches done
276 by the operating system.
279 Summary: conntrack-plugin for collectd
280 Summary(pl.UTF-8): Wtyczka conntrack dla collectd
282 Requires: %{name} = %{version}-%{release}
284 %description conntrack
285 The conntrack-plugin collects the connection tracking table size.
288 Summary: cpu-plugin for collectd
289 Summary(pl.UTF-8): Wtyczka cpu dla collectd
291 Requires: %{name} = %{version}-%{release}
294 The cpu-plugin collects the amount of time spent by the CPU in various
295 states, most notably executing user code, executing system code,
296 waiting for IO operations and being idle.
299 Summary: cpufreq-plugin for collectd
300 Summary(pl.UTF-8): Wtyczka cpufreq dla collectd
302 Requires: %{name} = %{version}-%{release}
305 Collects the current CPU's frequency, mostly for mobile computers.
308 Summary: CSV output plugin for collectd
309 Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd
311 Requires: %{name} = %{version}-%{release}
314 CSV output plugin for collectd.
317 Summary: cURL output plugin for collectd
318 Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd
320 Requires: %{name} = %{version}-%{release}
323 The curl plugin uses the libcurl to read web pages and the match
324 infrastructure (the same code used by the tail plugin) to use regular
325 expressions with the received data.
328 Summary: cURL JSON plugin for collectd
329 Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd
331 Requires: %{name} = %{version}-%{release}
333 %description curl_json
334 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
335 using the cURL library and parses it according to the user's
336 configuration using Yet Another JSON Library (YAJL). This can be used
337 to query statistics information from a CouchDB instance, for example.
340 Summary: dbi plugin for collectd
341 Summary(pl.UTF-8): Wtyczka dbi dla collectd
343 Requires: %{name} = %{version}-%{release}
346 This plugin uses the dbi library to connect to various databases,
347 execute SQL statements and read back the results. dbi is an acronym
348 for "database interface" in case you were wondering about the name.
349 You can configure how each column is to be interpreted and the plugin
350 will generate one or more data sets from each row returned according
354 Summary: df-plugin for collectd
355 Summary(pl.UTF-8): Wtyczka df dla collectd
357 Requires: %{name} = %{version}-%{release}
360 The df-plugin collects file system usage information, i. e. basically
361 how much space on a mounted partition is used and how much is
362 available. It's named after and very similar to the df(1) UNIX command
363 that's been around forever.
366 Summary: disk-plugin for collectd
367 Summary(pl.UTF-8): Wtyczka disk dla collectd
369 Requires: %{name} = %{version}-%{release}
372 This plugin collects performance statistics of harddisks and, where
373 supported, partitions.
376 Summary: dns-plugin for collectd
377 Summary(pl.UTF-8): Wtyczka dns dla collectd
379 Requires: %{name} = %{version}-%{release}
380 Requires: perl-rrdtool
383 This plugin has a similar functionality to dnstop: It uses libpcap to
384 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
385 interprets the packets and collects statistics of your DNS traffic.
388 Summary: email-plugin for collectd
389 Summary(pl.UTF-8): Wtyczka email dla collectd
391 Requires: %{name} = %{version}-%{release}
394 The email plugin opens an UNIX-socket over which one can submit email
395 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
396 mails received/handled, spam scores and matched spam checks.
398 This plugin is intended to be used with the the
399 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
400 is included in contrib/, but is of course not limited to that use.
403 Summary: entropy-plugin for collectd
404 Summary(pl.UTF-8): Wtyczka entropy dla collectd
406 Requires: %{name} = %{version}-%{release}
409 The Entropy plugin collects the available entropy on a system. Entropy
410 is important to generate random numbers, which are used for
411 encryption, authorization and similar tasks.
414 Summary: exec-plugin for collectd
415 Summary(pl.UTF-8): Wtyczka exec dla collectd
417 Requires: %{name} = %{version}-%{release}
420 The exec plugin forks of an executable either to receive values or to
421 dispatch notifications to the outside world.
424 Summary: filecount-plugin for collectd
425 Summary(pl.UTF-8): Wtyczka filecount dla collectd
427 Requires: %{name} = %{version}-%{release}
429 %description filecount
430 The filecount-plugin does something very simple: Count the number of
431 files in a directory and all its subdirectories. This can be used for
432 a variety of statistics, for example the queue length of an MTA, the
433 number of PHP sessions of a web server or simply the number of files
434 in your home directory.
437 Summary: fscache-plugin for collectd
438 Summary(pl.UTF-8): Wtyczka fscache dla collectd
440 Requires: %{name} = %{version}-%{release}
443 The fscache-plugin collects statistics about Linux file-system based
447 Summary: hddtemp-plugin for collectd
448 Summary(pl.UTF-8): Wtyczka hddtemp dla collectd
450 Requires: %{name} = %{version}-%{release}
451 Suggests: hddtemp-hddtempd
454 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
455 and queried by the external hddtemp-daemon.
458 Summary: interface-plugin for collectd
459 Summary(pl.UTF-8): Wtyczka interface dla collectd
461 Requires: %{name} = %{version}-%{release}
463 %description interface
464 The interface-plugin collects information about the traffic (octets),
465 packets and errors of interfaces.
468 Summary: iptables-plugin for collectd
469 Summary(pl.UTF-8): Wtyczka iptables dla collectd
471 Requires: %{name} = %{version}-%{release}
473 %description iptables
474 With this plugin you can gather statistics from your ip_tables based
475 packetfilter (aka. firewall). It can collect the byte- and
476 packet-counters of selected rules and submit them to collectd. You can
477 select rules that should be collected wither by its position (e.g.
478 "the fourth rule in the INPUT queue in the filter table") or by its
479 comment (using the COMMENT match). This means that depending on your
480 firewall layout you can collect certain services (such as the amount
481 of web-traffic), source or destination hosts or networks, dropped
482 packets and much more.
485 Summary: ipmi-plugin for collectd
486 Summary(pl.UTF-8): Wtyczka ipmi dla collectd
488 Requires: %{name} = %{version}-%{release}
491 The IPMI plugin uses the OpenIPMI library to read hardware sensors
492 from servers using the Intelligent Platform Management Interface
493 (IPMI). IPMI is very common with server hardware but usually not
494 available in consumer hardware.
497 Summary: IRQs-plugin for collectd
498 Summary(pl.UTF-8): Wtyczka IRQs dla collectd
500 Requires: %{name} = %{version}-%{release}
503 The IRQ plugin collects the number of times each interrupt has been
504 handled by the operating system.
507 Summary: load-plugin for collectd
508 Summary(pl.UTF-8): Wtyczka load dla collectd
510 Requires: %{name} = %{version}-%{release}
513 Collects the system load. These numbers give a rough overview over the
514 utilization of a machine, though their meaning is mostly overrated.
517 Summary: logfile-plugin for collectd
518 Summary(pl.UTF-8): Wtyczka logfile dla collectd
520 Requires: %{name} = %{version}-%{release}
523 The LogFile plugin receives log messages from the daemon and writes
527 Summary: madwifi plugin for collectd
528 Summary(pl.UTF-8): Wtyczka madwifi dla collectd
530 Requires: %{name} = %{version}-%{release}
533 The MadWifi plugin collects information about Atheros wireless LAN
534 chipsets from the MadWifi driver. It uses the /sys filesystem to
535 identify cards handled by this driver automatically but can be
536 configured manually, too. Because very many statistics are available,
537 an advanced selection mechanism is provided.
539 %package match_empty_counter
540 Summary: match_empty_counter plugin for collectd
541 Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd
543 Requires: %{name} = %{version}-%{release}
545 %description match_empty_counter
546 Empty Counter match matches value lists, where at least one data
547 source is of type COUNTER and the counter value of all counter data
550 %package match_hashed
551 Summary: match_hashed plugin for collectd
552 Summary(pl.UTF-8): Wtyczka match_hashed dla collectd
554 Requires: %{name} = %{version}-%{release}
556 %description match_hashed
557 match_hashed plugin for collectd - match for simple load balancing and
561 Summary: match_regex plugin for collectd
562 Summary(pl.UTF-8): Wtyczka match_regex dla collectd
564 Requires: %{name} = %{version}-%{release}
566 %description match_regex
567 match_regex plugin for collectd.
569 %package match_timediff
570 Summary: match_timediff plugin for collectd
571 Summary(pl.UTF-8): Wtyczka match_timediff dla collectd
573 Requires: %{name} = %{version}-%{release}
575 %description match_timediff
576 match_timediff plugin for collectd.
579 Summary: match_value plugin for collectd
580 Summary(pl.UTF-8): Wtyczka match_value dla collectd
582 Requires: %{name} = %{version}-%{release}
584 %description match_value
585 match_value plugin for collectd.
588 Summary: mbmon plugin for collectd
589 Summary(pl.UTF-8): Wtyczka mbmon dla collectd
591 Requires: %{name} = %{version}-%{release}
594 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
597 Summary: memcachec-plugin for collectd
598 Summary(pl.UTF-8): Wtyczka memcachec dla collectd
600 Requires: %{name} = %{version}-%{release}
602 %description memcachec
603 The memcachec plugin connects to a memcached server, queries one or
604 more given pages and parses the returned data according to user
605 specification. The matches used are similar to the matches used in the
606 cURL and Tail plugins.
609 Summary: memcached-plugin for collectd
610 Summary(pl.UTF-8): Wtyczka memcached dla collectd
612 Requires: %{name} = %{version}-%{release}
614 %description memcached
615 The memcached plugin connects to a memcached daemon and collects the
616 number of connections and requests handled by the daemon, the CPU
617 resources consumed, number of items cached, number of threads, and
618 bytes sent and received.
621 Summary: memory-plugin for collectd
622 Summary(pl.UTF-8): Wtyczka memory dla collectd
624 Requires: %{name} = %{version}-%{release}
627 Collects physical memory utilization for collectd.
630 Summary: multimeter-plugin for collectd
631 Summary(pl.UTF-8): Wtyczka multimeter dla collectd
633 Requires: %{name} = %{version}-%{release}
635 %description multimeter
636 The Multimeter plugin reads a value (usually a voltage or current)
637 from a multimeter connected to a serial bus. The plugin tries
638 /dev/ttyS0-9 in order to find a multimeter – no configuration is
641 The multimeter used for development was a Metex M-4650CR.
644 Summary: mysql-plugin for collectd
645 Summary(pl.UTF-8): Moduł mysql dla collectd.
647 Requires: %{name} = %{version}-%{release}
648 Requires: mysql-client
651 MySQL querying plugin. This plugins provides data of issued commands,
652 called handlers and database traffic.
654 %description mysql -l pl.UTF-8
655 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
656 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
659 Summary: netlink-plugin for collectd
660 Summary(pl.UTF-8): Wtyczka netlink dla collectd
662 Requires: %{name} = %{version}-%{release}
665 This plugin will open a netlink socket to the Linux kernel and use it
666 to get statistics for interfaces, qdiscs, classes, and, if you can
667 make use of it, filters. Since in most setups many of the statistics
668 this plugin can collect aren't of interest, you can select which
669 information to gather using the configuration.
672 Summary: network-plugin for collectd
673 Summary(pl.UTF-8): Wtyczka network dla collectd
675 Requires: %{name} = %{version}-%{release}
678 The Network plugin can send values to other instances and receive
679 values from other %{name} instances.
682 Summary: NFS-plugin for collectd
683 Summary(pl.UTF-8): Wtyczka NFS dla collectd
685 Requires: %{name} = %{version}-%{release}
688 The nfs plugin counts the number of procedure calls of the different
692 Summary: nginx-plugin for collectd
693 Summary(pl.UTF-8): Wtyczka nginx dla collectd
695 Requires: %{name} = %{version}-%{release}
698 This plugin collects the number of connections and requests handled by
699 the nginx daemon, a HTTP and mail server/proxy. It queries the page
700 provided by the ngx_http_stub_status_module module, which isn't
703 %package notify_desktop
704 Summary: notify_desktop for collectd
705 Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd
707 Requires: %{name} = %{version}-%{release}
708 Requires: dbus(org.freedesktop.Notifications)
710 %description notify_desktop
711 This plugin sends a desktop notification to a notification daemon, as
712 defined in the Desktop Notification Specification.
714 %package notify_email
715 Summary: notify_email-plugin for collectd
716 Summary(pl.UTF-8): Wtyczka notify_email dla collectd
718 Requires: %{name} = %{version}-%{release}
720 %description notify_email
721 The Notify Email plugin uses libESMTP to send notifications to a
722 configured email address(es).
725 Summary: ntpd-plugin for collectd
726 Summary(pl.UTF-8): Wtyczka ntpd dla collectd
728 Requires: %{name} = %{version}-%{release}
731 The NTPd plugin queries an NTP server (usually the local one, where
732 statistics access is allowed) and extracts :
733 - "local" clock parameters: time offset, error and offset loop,
734 - parameters for each NTP server used to sync time: offset,
738 Summary: nut-plugin for collectd
739 Summary(pl.UTF-8): Wtyczka nut dla collectd
741 Requires: %{name} = %{version}-%{release}
744 UPS statistics using the Network UPS Tools. These statistics include
745 basically everything NUT will give us, including voltages, currents,
746 power, frequencies, load, and temperatures.
749 Summary: olsrd plugin for collectd
750 Summary(pl.UTF-8): Wtyczka olsrd dla collectd
752 Requires: %{name} = %{version}-%{release}
755 The olsrd plugin reads information about meshed networks from the
756 txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
759 Summary: openvpn plugin for collectd
760 Summary(pl.UTF-8): Wtyczka openvpn dla collectd
762 Requires: %{name} = %{version}-%{release}
766 The OpenVPN plugin reads a status file maintained by OpenVPN and
767 gathers traffic statistics about connected clients.
770 Summary: perl plugin for collectd
771 Summary(pl.UTF-8): Wtyczka perl dla collectd
773 Requires: %{name} = %{version}-%{release}
774 Requires: perl-Collectd = %{version}-%{release}
777 The Perl plugin embeds a Perl interpreter into collectd and exposes
778 the application programming interface (API) to Perl-scripts. This
779 allows to write own plugins in the popular scripting language, which
780 are then loaded and executed by the daemon without the need to start a
781 new process and interpreter every few seconds. Perl-modules written
782 for the Perl plugin are therefore more powerful and efficient than
783 scripts executed by the Exec plugin.
786 Summary: ping-plugin for collectd
787 Summary(pl.UTF-8): Wtyczka ping dla collectd
789 Requires: %{name} = %{version}-%{release}
790 Requires: liboping >= 1.1.2
793 The network latency is measured as a roundtrip time. An
794 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
795 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
796 not received within one second the plugin will no longer expect a
797 reply and return. This may happen in several circumstances, e. g. the
798 packet is lost, the host is down, a router has dismissed the packet,
802 Summary: mysql-plugin for collectd
803 Summary(pl.UTF-8): Moduł postgresql dla collectd.
805 Requires: %{name} = %{version}-%{release}
807 %description postgresql
808 The postgresql plugin queries statistics from PostgreSQL databases. It
809 keeps a persistent connection to all configured databases and tries to
810 reconnect if the connection has been interrupted.
813 Summary: powerdns-plugin for collectd
814 Summary(pl.UTF-8): Wtyczka powerdns dla collectd
816 Requires: %{name} = %{version}-%{release}
818 %description powerdns
819 The powerdns plugin queries statistics from an authoritative PowerDNS
820 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
821 of values, many of which are probably meaningless to most users, but
822 may be useful for some.
825 Summary: processes-plugin for collectd
826 Summary(pl.UTF-8): Wtyczka processes dla collectd
828 Requires: %{name} = %{version}-%{release}
830 %description processes
831 This plugin collects the number of processes, grouped by their state
832 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
833 select detailed statistics about selected processes, grouped by name.
836 Summary: protocols-plugin for collectd
837 Summary(pl.UTF-8): Wtyczka protocols dla collectd
839 Requires: %{name} = %{version}-%{release}
841 %description protocols
842 The protocols-plugin provides information about network protocols,
843 such as IP, TCP and UDP.
846 Summary: python-plugin for collectd
847 Summary(pl.UTF-8): Wtyczka python dla collectd
849 Requires: %{name} = %{version}-%{release}
852 The Python plugin embeds a Python interpreter into collectd and
853 exposes the application programming interface (API) to Python-scripts.
854 This allows to write own plugins in the popular scripting language,
855 which are then loaded and executed by the daemon without the need to
856 start a new process and interpreter every few seconds. Python-modules
857 written for the Python plugin are therefore more powerful and
858 efficient than scripts executed by the Exec plugin.
861 Summary: rrdcached-plugin for collectd
862 Summary(pl.UTF-8): Wtyczka rrdcached dla collectd
864 Requires: %{name} = %{version}-%{release}
866 %description rrdcached
867 The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
868 to store values to RRD files in an efficient manner. The combination
869 of the rrdcached plugin and the rrdcached daemon is very similar to
870 the way the rrdtool plugin works.
873 Summary: rrdtool-plugin for collectd
874 Summary(pl.UTF-8): Wtyczka rrdtool dla collectd
876 Requires: %{name} = %{version}-%{release}
880 The RRDtool plugin writes values to RRD-files using librrd.
883 Summary: sensors-plugin for collectd
884 Summary(pl.UTF-8): Wtyczka sensors dla collectd
886 Requires: %{name} = %{version}-%{release}
889 This plugin uses lm-sensors to read hardware sensors. You will need to
890 configure lm-sensors before this plugin will collect any usefull and
894 Summary: serial-plugin for collectd
895 Summary(pl.UTF-8): Wtyczka serial dla collectd
897 Requires: %{name} = %{version}-%{release}
900 The Serial plugin collects the traffic on serial interfaces.
903 Summary: snmp-plugin for collectd
904 Summary(pl.UTF-8): Wtyczka snmp dla collectd
906 Requires: %{name} = %{version}-%{release}
909 The snmp plugin queries other hosts using SNMP, the Simple Network
910 Management Protocol, and translates the value it receives to
911 collectd's internal format and dispatches them. Depending on the write
912 plugins you have loaded they may be written to disk or submitted to
913 another instance or whatever you configured.
916 Summary: swap-plugin for collectd
917 Summary(pl.UTF-8): Wtyczka swap dla collectd
919 Requires: %{name} = %{version}-%{release}
922 The Swap plugin collects the amount of memory currently written onto
923 hard disk or whatever the system calls “swap”.
926 Summary: syslog-plugin for collectd
927 Summary(pl.UTF-8): Wtyczka syslog dla collectd
929 Requires: %{name} = %{version}-%{release}
932 The SysLog plugin receives log messages from the daemon and dispatches
936 Summary: table-plugin for collectd
937 Summary(pl.UTF-8): Wtyczka table dla collectd
939 Requires: %{name} = %{version}-%{release}
942 The table-plugin provides parsing for table-like structured files,
943 such as many files beneath /proc.
945 %package target_notification
946 Summary: target_notification-plugin for collectd
947 Summary(pl.UTF-8): Wtyczka target_notification dla collectd
949 Requires: %{name} = %{version}-%{release}
951 %description target_notification
952 target_notification plugin for collectd.
954 %package target_replace
955 Summary: target_replace-plugin for collectd
956 Summary(pl.UTF-8): Wtyczka target_replace dla collectd
958 Requires: %{name} = %{version}-%{release}
960 %description target_replace
961 target_replace plugin for collectd.
963 %package target_scale
964 Summary: target_scale-plugin for collectd
965 Summary(pl.UTF-8): Wtyczka target_scale dla collectd
967 Requires: %{name} = %{version}-%{release}
969 %description target_scale
970 Target to scale (multiply) values by an arbitrary value.
973 Summary: target_set-plugin for collectd
974 Summary(pl.UTF-8): Wtyczka target_set dla collectd
976 Requires: %{name} = %{version}-%{release}
978 %description target_set
979 target_set plugin for collectd.
981 %package target_v5upgrade
982 Summary: target_v5upgrade-plugin for collectd
983 Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd
985 Requires: %{name} = %{version}-%{release}
987 %description target_v5upgrade
988 The v5 upgrade target can be used to upgrade version 4 data to a
989 changed version 5 layout.
992 Summary: tail-plugin for collectd
993 Summary(pl.UTF-8): Wtyczka tail dla collectd
995 Requires: %{name} = %{version}-%{release}
998 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
999 tail -F does. Each line is given to one or more "matches" which test
1000 if the line is relevant for any statistics using a regular expression.
1003 Summary: tcpconns-plugin for collectd
1004 Summary(pl.UTF-8): Wtyczka tcpconns dla collectd
1006 Requires: %{name} = %{version}-%{release}
1008 %description tcpconns
1009 The tcpconns-plugin counts the number of TCP connections to or from a
1010 specified port. Typically the connectioins where you specify the local
1011 port are incoming connections while the connections where you specify
1012 the remote port are outgoing connections.
1015 Summary: teamspeak2-plugin for collectd
1016 Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd
1018 Requires: %{name} = %{version}-%{release}
1020 %description teamspeak2
1021 The teamspeak2 plugin connects to the query port of a teamspeak2
1022 server and polls interesting global and virtual server data. The
1023 plugin can query only one physical server but unlimited virtual
1027 Summary: ted-plugin for collectd
1028 Summary(pl.UTF-8): Wtyczka ted dla collectd
1030 Requires: %{name} = %{version}-%{release}
1033 The TED-plugin reads power consumption measurements from “The Energy
1037 Summary: thermal-plugin for collectd
1038 Summary(pl.UTF-8): Wtyczka thermal dla collectd
1040 Requires: %{name} = %{version}-%{release}
1042 %description thermal
1043 The thermal plugin reads ACPI thermal zone information from the sysfs
1044 or procfs file system, i. e. mostly system temperature information.
1047 Summary: threshold-plugin for collectd
1048 Summary(pl.UTF-8): Wtyczka threshold dla collectd
1050 Requires: %{name} = %{version}-%{release}
1052 %description threshold
1053 threshold-plugin for collectd.
1056 Summary: unixsock-plugin for collectd
1057 Summary(pl.UTF-8): Wtyczka unixsock dla collectd
1059 Requires: %{name} = %{version}-%{release}
1061 %description unixsock
1062 The unixsock plugin opens an UNIX-socket over which one can interact
1063 with the daemon. This can be used to use the values collected by
1064 collectd in other applications, such as monitoring, or submit
1065 externally collected values to collectd.
1068 Summary: uptime-plugin for collectd
1069 Summary(pl.UTF-8): Wtyczka uptime dla collectd
1071 Requires: %{name} = %{version}-%{release}
1074 The uptime-plugin can collect the server's uptime.
1077 Summary: users-plugin for collectd
1078 Summary(pl.UTF-8): Wtyczka users dla collectd
1080 Requires: %{name} = %{version}-%{release}
1083 Number of users currently logged in.
1086 Summary: uuid-plugin for collectd
1087 Summary(pl.UTF-8): Wtyczka uuid dla collectd
1089 Requires: %{name} = %{version}-%{release}
1092 This plugin, if loaded, causes the Hostname to be taken from the
1093 machine's UUID. The UUID is a universally unique designation for the
1094 machine, usually taken from the machine's BIOS. This is most useful if
1095 the machine is running in a virtual environment such as Xen, in which
1096 case the UUID is preserved across shutdowns and migration.
1099 Summary: varnish-plugin for collectd
1100 Summary(pl.UTF-8): Wtyczka varnish dla collectd
1102 Requires: %{name} = %{version}-%{release}
1104 %description varnish
1105 The Varnish plugin collects information about Varnish, an HTTP
1109 Summary: vmem-plugin for collectd
1110 Summary(pl.UTF-8): Wtyczka vmem dla collectd
1112 Requires: %{name} = %{version}-%{release}
1115 The vmem plugin collects information about the usage of virtual
1116 memory. Since the statistics provided by the Linux kernel are very
1117 detailed, they are collected very detailed.
1120 Summary: vserver-plugin for collectd
1121 Summary(pl.UTF-8): Wtyczka vserver dla collectd
1123 Requires: %{name} = %{version}-%{release}
1125 %description vserver
1126 Collects information about the virtual servers running on a system,
1127 using Linux-Vserver.
1130 Summary: write_http-plugin for collectd
1131 Summary(pl.UTF-8): Wtyczka write_http dla collectd
1133 Requires: %{name} = %{version}-%{release}
1135 %description write_http
1136 The Write HTTP plugin sends the values collected by collectd to a
1137 web-server using HTTP POST requests. The data is formatted as PUTVAL
1141 Summary: wireless-plugin for collectd
1142 Summary(pl.UTF-8): Wtyczka wireless dla collectd
1144 Requires: %{name} = %{version}-%{release}
1146 %description wireless
1147 The Wireless plugin collects signal quality, signal power and
1148 signal-to-noise ratio for wireless LAN cards.
1151 Summary: xmms-plugin for collectd
1152 Summary(pl.UTF-8): Wtyczka xmms dla collectd
1154 Requires: %{name} = %{version}-%{release}
1157 The XMMS plugin is a plugin for the XMMS music player. It graphs the
1158 bit-rate and sampling rate as you play songs. Not really useful, just
1159 something that got written because we can.
1161 %package -n perl-Collectd
1162 Summary: Perl files from Collectd package
1165 %description -n perl-Collectd
1166 Perl files from Collectd package
1185 CPPFLAGS="-Wno-unused-but-set-variable" \
1186 c_cv_have_libperl=yes \
1187 --with-libstatgrab=/usr \
1188 --with-lm-sensors=/usr \
1189 --with-libmysql=/usr \
1191 %{__enable_disable dns} \
1192 %{__enable_disable ipmi} \
1193 %{__enable_disable iptables} \
1194 %{__enable_disable multimeter} \
1195 %{__enable_disable mysql} \
1196 %{__enable_disable netlink} \
1197 %{__enable_disable notify notify_desktop} \
1198 %{__enable_disable libesmtp notify_email} \
1199 %{__enable_disable ups nut} \
1200 %{__enable_disable ping} \
1201 %{__enable_disable pgsql postgresql} \
1202 %{__enable_disable rrd rrdtool} \
1203 %{__enable_disable sensors} \
1204 %{__enable_disable snmp} \
1205 %{__enable_disable xmms} \
1206 %{__enable_disable varnish} \
1207 %{__enable_disable curl} \
1208 %{__enable_disable curl apache} \
1209 %{__enable_disable curl ngix} \
1210 %{__enable_disable curl ascent} \
1211 %{__disable curl ascent} \
1212 %{__disable curl bind} \
1213 %{__disable xml ascent} \
1214 %{__disable xml bind} \
1219 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
1220 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
1221 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
1224 rm -rf $RPM_BUILD_ROOT
1225 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
1226 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/}
1229 DESTDIR=$RPM_BUILD_ROOT
1231 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
1232 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1235 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1236 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
1237 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1238 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1239 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1241 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1243 ### Configs instalation ###
1244 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1245 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1246 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1249 # Example config in sources: src/collectd.conf
1250 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1252 # Overwrite only files which we want to change:
1253 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1254 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1256 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1259 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1262 rm -rf $RPM_BUILD_ROOT
1265 /sbin/chkconfig --add %{name}
1266 %service %{name} restart
1269 if [ "$1" = "0" ]; then
1270 %service -q %{name} stop
1271 /sbin/chkconfig --del %{name}
1274 %post libs -p /sbin/ldconfig
1275 %postun libs -p /sbin/ldconfig
1277 %define module_scripts() \
1279 %service %{name} restart \
1282 %service %{name} restart
1284 %module_scripts apache
1285 %module_scripts apcups
1286 %module_scripts ascent
1287 %module_scripts battery
1288 %module_scripts bind
1289 %module_scripts contextswitch
1290 %module_scripts conntrack
1292 %module_scripts cpufreq
1294 %module_scripts curl
1295 %module_scripts curl_json
1298 %module_scripts disk
1300 %module_scripts email
1301 %module_scripts entropy
1302 %module_scripts exec
1303 %module_scripts filecount
1304 %module_scripts fscache
1305 %module_scripts hddtemp
1306 %module_scripts interface
1307 %module_scripts ipmi
1308 %module_scripts iptables
1310 %module_scripts load
1311 %module_scripts logfile
1312 %module_scripts madwifi
1313 %module_scripts match_empty_counter
1314 %module_scripts match_hashed
1315 %module_scripts match_regex
1316 %module_scripts match_timediff
1317 %module_scripts match_value
1318 %module_scripts mbmon
1319 %module_scripts memcachec
1320 %module_scripts memcached
1321 %module_scripts memory
1322 %module_scripts multimeter
1323 %module_scripts mysql
1324 %module_scripts netlink
1325 %module_scripts network
1327 %module_scripts nginx
1328 %module_scripts notify_desktop
1329 %module_scripts notify_email
1330 %module_scripts ntpd
1332 %module_scripts olsrd
1333 %module_scripts openvpn
1334 %module_scripts perl
1335 %module_scripts ping
1336 %module_scripts postgresql
1337 %module_scripts powerdns
1338 %module_scripts processes
1339 %module_scripts protocols
1340 %module_scripts python
1341 %module_scripts rrdcached
1342 %module_scripts rrdtool
1343 %module_scripts sensors
1344 %module_scripts serial
1345 %module_scripts snmp
1346 %module_scripts swap
1347 %module_scripts syslog
1348 %module_scripts table
1349 %module_scripts tail
1350 %module_scripts target_notification
1351 %module_scripts target_replace
1352 %module_scripts target_scale
1353 %module_scripts target_set
1354 %module_scripts target_v5upgrade
1355 %module_scripts tcpconns
1356 %module_scripts teamspeak2
1358 %module_scripts thermal
1359 %module_scripts threshold
1360 %module_scripts unixsock
1361 %module_scripts uptime
1362 %module_scripts users
1363 %module_scripts uuid
1364 %module_scripts varnish
1365 %module_scripts vmem
1366 %module_scripts vserver
1367 %module_scripts write_http
1368 %module_scripts wireless
1369 %module_scripts xmms
1371 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1372 %webapp_register apache %{_webapp}
1374 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1375 %webapp_unregister apache %{_webapp}
1377 %triggerin collection -- apache < 2.2.0, apache-base
1378 %webapp_register httpd %{_webapp}
1380 %triggerun collection -- apache < 2.2.0, apache-base
1381 %webapp_unregister httpd %{_webapp}
1383 %triggerin collection -- lighttpd
1384 %webapp_register lighttpd %{_webapp}
1386 %triggerun collection -- lighttpd
1387 %webapp_unregister lighttpd %{_webapp}
1390 %defattr(644,root,root,755)
1391 %doc AUTHORS ChangeLog README TODO contrib
1392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1393 %dir %{_sysconfdir}/%{name}.d
1394 %attr(755,root,root) %{_sbindir}/collectd
1395 %attr(755,root,root) %{_sbindir}/collectdmon
1396 %attr(755,root,root) %{_bindir}/collectdctl
1397 %attr(755,root,root) %{_bindir}/collectd-nagios
1398 %dir %{_libdir}/%{name}
1399 %dir %{_datadir}/%{name}
1400 %{_datadir}/%{name}/types.db
1401 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1402 %{_mandir}/man1/collectd.1*
1403 %{_mandir}/man1/collectd-nagios.1*
1404 %{_mandir}/man1/collectdctl.1*
1405 %{_mandir}/man1/collectdmon.1*
1406 %{_mandir}/man5/collectd.conf.5*
1407 %{_mandir}/man5/collectd-java.5*
1408 %{_mandir}/man5/types.db.5*
1409 %dir %{_var}/lib/%{name}
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1414 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1419 %{_libdir}/libcollectdclient.la
1420 %dir %{_includedir}/%{name}
1421 %{_includedir}/%{name}/*.h
1422 %{_pkgconfigdir}/libcollectdclient.pc
1425 %defattr(644,root,root,755)
1426 %{_libdir}/libcollectdclient.a
1427 %{_libdir}/%{name}/*.a
1430 %defattr(644,root,root,755)
1432 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1433 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1434 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1435 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1437 %dir %{_appdir}/cgi-bin
1438 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1441 %defattr(644,root,root,755)
1442 %{_appdir}/collection3
1448 %defattr(640,root,root,755)
1449 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1450 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1455 %defattr(644,root,root,755)
1456 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1457 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1461 %defattr(640,root,root,755)
1462 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1463 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1467 %defattr(644,root,root,755)
1468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1469 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1474 %defattr(644,root,root,755)
1475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1476 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1480 %files contextswitch
1481 %defattr(644,root,root,755)
1482 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1483 %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1486 %defattr(644,root,root,755)
1487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1488 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1491 %defattr(644,root,root,755)
1492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1493 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1496 %defattr(644,root,root,755)
1497 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1498 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1501 %defattr(644,root,root,755)
1502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1503 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1507 %defattr(640,root,root,755)
1508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1509 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1511 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1512 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1516 %defattr(640,root,root,755)
1517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
1518 %attr(755,root,root) %{_libdir}/%{name}/curl_json.so
1522 %defattr(640,root,root,755)
1523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1524 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1527 %defattr(644,root,root,755)
1528 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1529 %attr(755,root,root) %{_libdir}/%{name}/df.so
1532 %defattr(644,root,root,755)
1533 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1534 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1538 %defattr(644,root,root,755)
1539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1540 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1544 %defattr(644,root,root,755)
1545 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1546 %attr(755,root,root) %{_libdir}/%{name}/email.so
1547 %{_mandir}/man5/collectd-email.5*
1550 %defattr(644,root,root,755)
1551 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1552 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1555 %defattr(644,root,root,755)
1556 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1557 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1558 %{_mandir}/man5/collectd-exec.5*
1561 %defattr(644,root,root,755)
1562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1563 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1566 %defattr(644,root,root,755)
1567 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1568 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1571 %defattr(644,root,root,755)
1572 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1573 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1576 %defattr(644,root,root,755)
1577 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1578 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1582 %defattr(644,root,root,755)
1583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1584 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1587 %if %{with iptables}
1589 %defattr(644,root,root,755)
1590 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1591 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1595 %defattr(644,root,root,755)
1596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1597 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1600 %defattr(644,root,root,755)
1601 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1602 %attr(755,root,root) %{_libdir}/%{name}/load.so
1605 %defattr(644,root,root,755)
1606 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1607 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1608 %{_var}/log/collectd.log
1611 %defattr(644,root,root,755)
1612 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1613 %attr(755,root,root) %{_libdir}/%{name}/madwifi.so
1615 %files match_empty_counter
1616 %defattr(644,root,root,755)
1617 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1618 %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1621 %defattr(644,root,root,755)
1622 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1623 %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1626 %defattr(644,root,root,755)
1627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1628 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1630 %files match_timediff
1631 %defattr(644,root,root,755)
1632 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1636 %defattr(644,root,root,755)
1637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1638 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1641 %defattr(644,root,root,755)
1642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1643 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1646 %defattr(644,root,root,755)
1647 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1648 %attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1651 %defattr(644,root,root,755)
1652 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1653 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1656 %defattr(644,root,root,755)
1657 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1658 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1660 %if %{with multimeter}
1662 %defattr(644,root,root,755)
1663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1664 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1669 %defattr(640,root,root,755)
1670 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1671 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1676 %defattr(644,root,root,755)
1677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1678 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1682 %defattr(644,root,root,755)
1683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1684 %attr(755,root,root) %{_libdir}/%{name}/network.so
1687 %defattr(644,root,root,755)
1688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1689 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1693 %defattr(640,root,root,755)
1694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1695 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1699 %files notify_desktop
1700 %defattr(644,root,root,755)
1701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1702 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1705 %if %{with libesmtp}
1707 %defattr(640,root,root,755)
1708 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1709 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1713 %defattr(644,root,root,755)
1714 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1715 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1719 %defattr(644,root,root,755)
1720 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1721 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1725 %defattr(644,root,root,755)
1726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1727 %attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1730 %defattr(644,root,root,755)
1731 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1732 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1735 %defattr(644,root,root,755)
1736 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
1737 %attr(755,root,root) %{_libdir}/%{name}/perl.so
1738 %{_mandir}/man5/collectd-perl.5*
1742 %defattr(644,root,root,755)
1743 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1744 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1749 %defattr(640,root,root,755)
1750 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1751 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1752 %{_datadir}/%{name}/postgresql_default.conf
1756 %defattr(644,root,root,755)
1757 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1758 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1761 %defattr(644,root,root,755)
1762 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1763 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1766 %defattr(644,root,root,755)
1767 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1768 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1771 %defattr(644,root,root,755)
1772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1773 %attr(755,root,root) %{_libdir}/%{name}/python.so
1774 %{_mandir}/man5/collectd-python.5*
1778 %defattr(644,root,root,755)
1779 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
1780 %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
1783 %defattr(644,root,root,755)
1784 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1785 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1790 %defattr(644,root,root,755)
1791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1792 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1796 %defattr(644,root,root,755)
1797 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1798 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1802 %defattr(644,root,root,755)
1803 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1804 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1805 %{_mandir}/man5/collectd-snmp.5*
1809 %defattr(644,root,root,755)
1810 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1811 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1814 %defattr(644,root,root,755)
1815 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1816 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1819 %defattr(644,root,root,755)
1820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1821 %attr(755,root,root) %{_libdir}/%{name}/table.so
1824 %defattr(644,root,root,755)
1825 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1826 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1828 %files target_notification
1829 %defattr(644,root,root,755)
1830 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1831 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1833 %files target_replace
1834 %defattr(644,root,root,755)
1835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1836 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1839 %defattr(644,root,root,755)
1840 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
1841 %attr(755,root,root) %{_libdir}/%{name}/target_scale.so
1844 %defattr(644,root,root,755)
1845 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1846 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1848 %files target_v5upgrade
1849 %defattr(644,root,root,755)
1850 %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
1853 %defattr(644,root,root,755)
1854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1855 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1858 %defattr(644,root,root,755)
1859 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1860 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1863 %defattr(644,root,root,755)
1864 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1865 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1868 %defattr(644,root,root,755)
1869 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1870 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1873 %defattr(644,root,root,755)
1874 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
1875 %attr(755,root,root) %{_libdir}/%{name}/threshold.so
1876 %{_mandir}/man5/collectd-threshold.5*
1879 %defattr(644,root,root,755)
1880 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1881 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1882 %{_mandir}/man5/collectd-unixsock.5*
1885 %defattr(644,root,root,755)
1886 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1887 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1890 %defattr(644,root,root,755)
1891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1892 %attr(755,root,root) %{_libdir}/%{name}/users.so
1895 %defattr(644,root,root,755)
1896 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1897 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1900 %defattr(644,root,root,755)
1901 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
1902 %attr(755,root,root) %{_libdir}/%{name}/varnish.so
1905 %defattr(644,root,root,755)
1906 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1907 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1910 %defattr(644,root,root,755)
1911 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1912 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1915 %defattr(644,root,root,755)
1916 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1917 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1920 %defattr(644,root,root,755)
1921 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
1922 %attr(755,root,root) %{_libdir}/%{name}/write_http.so
1926 %defattr(644,root,root,755)
1927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1928 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1931 %files -n perl-Collectd
1932 %defattr(644,root,root,755)
1933 %{perl_vendorlib}/Collectd.pm
1934 %{perl_vendorlib}/Collectd