1 # $Revision: 1.121 $, $Date: 2012-04-30 12:09:44 $
3 # - package contrib scripts as %doc
4 # - perl modules with Collectd classes package to separate package
5 # - Bundled libraries - check if its not changed ones and if it can be
7 # liboconfig . . . . . yes (shipped version)
8 # - Libraries not found by configure:
9 # libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
10 # libganglia . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
11 # libiokit . . . . . . no (Darwin only)
12 # libjvm . . . . . . . no (javac not found)
13 # libkstat . . . . . . no (Solaris only)
14 # libkvm . . . . . . . no (BSD only)
15 # libnetapp . . . . . . no (netapp_api.h not found) (properitary)
16 # libperfstat . . . . . no (AIX only)
17 # librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/)
18 # librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/)
19 # libtokyotyrant . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/)
20 # libyajl . . . . . . . no (yajl/yajl_parse.h not found)
21 # protobuf-c . . . . . no
22 # oracle . . . . . . . no (ORACLE_HOME is not set)
23 # - Disabled modules (build most of them an package):
24 # amqp . . . . . . . no
25 # apple_sensors . . . . no (Darwin only)
26 # gmond . . . . . . . . no
27 # ipvs . . . . . . . . no (ip_vs.h not found - llh to be fixed)
28 # java . . . . . . . . no
29 # lpar... . . . . . . . no
30 # multimeter . . . . . no ?
31 # netapp . . . . . . . no
32 # onewire . . . . . . . no (needs libowfs)
33 # oracle . . . . . . . no
34 # pinba . . . . . . . . no
35 # redis . . . . . . . . no
36 # routeros . . . . . . no
37 # tape . . . . . . . . no ?
38 # tokyotyrant . . . . . no
39 # write_redis . . . . . no
40 # zfs_arc . . . . . . . no
41 # - logrotate file for logfile plugin
42 # - %desc -l pl for plugins
43 # - package SpamAssassin plugin from contrib
46 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
47 %bcond_without dns # DNS plugin
48 %bcond_without ipmi # IPMI plugin
49 %bcond_without iptables # iptables plugin
50 %bcond_without libesmtp # notify_email plugin
51 %bcond_without libvirt # libvirt plugin
52 %bcond_without modbus # modbus plugin
53 %bcond_with multimeter # multimeter plugin
54 %bcond_without mysql # MySQL plugin
55 %bcond_without netlink # netlink plugin
56 %bcond_without notify # notify_desktop plugin
57 %bcond_without ping # ping plugin
58 %bcond_without pgsql # PostgreSQL plugin
59 %bcond_without rrd # rrdtool and rrdcached plugins
60 %bcond_without sensors # sensors plugin
61 %bcond_without snmp # SNMP plugin
62 %bcond_without ups # nut plugin
63 %bcond_without varnish # varnish plugin
64 %bcond_without xml # ascent, bind and libvirt plugins
65 %bcond_without xmms # XMMS plugin
67 Summary: Collects system information in RRD files
68 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
74 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
75 # Source0-md5: 47f70ae20801f10be355dc8109d696aa
78 Source3: %{name}-http.conf
79 Source4: %{name}-lighttpd.conf
80 Source10: %{name}-df.conf
81 Source11: %{name}-rrdtool.conf
82 Patch0: %{name}-collection.patch
87 Patch5: %{name}-netlink.patch
88 Patch6: %{name}-modbus.patch
89 URL: http://collectd.org/
90 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
91 BuildRequires: autoconf
92 BuildRequires: automake
93 %{?with_curl:BuildRequires: curl-devel}
94 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
95 BuildRequires: libdbi-devel
96 %{?with_libesmtp:BuildRequires: libesmtp-devel}
97 BuildRequires: libltdl-devel
98 BuildRequires: libmemcached-devel
99 %{?with_netlink:BuildRequires: libnetlink-devel >= 3.0.0}
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_modbus:BuildRequires: libmodbus-devel}
110 %{?with_mysql:BuildRequires: mysql-devel}
111 %{?with_libvirt:BuildRequires: libvirt-devel}
112 BuildRequires: ncurses-devel
113 %{?with_snmp:BuildRequires: net-snmp-devel}
114 %{?with_libvirt:BuildRequires: numactl-devel}
115 %{?with_ups:BuildRequires: nut-devel}
116 BuildRequires: perl-devel
117 BuildRequires: pkgconfig
118 %{?with_pgsql:BuildRequires: postgresql-devel}
119 BuildRequires: python-devel
120 BuildRequires: python-modules
121 BuildRequires: rpmbuild(macros) >= 1.268
122 %{?with_rrd:BuildRequires: rrdtool-devel}
123 %{?with_varnish:BuildRequires: varnish-devel}
125 #BuildRequires: xfsprogs-devel
126 %{?with_xmms:BuildRequires: xmms-devel}
127 BuildRequires: yajl-devel
128 Requires(post,preun): /sbin/chkconfig
129 Requires: %{name}-libs = %{version}-%{release}
131 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
133 %define _pkglibdir %{_sharedstatedir}/%{name}
134 %define _webapps /etc/webapps
135 %define _webapp %{name}
136 %define _webappdir %{_webapps}/%{_webapp}
137 %define _appdir %{_datadir}/%{_webapp}
140 collectd is a small daemon which collects system information every 10
141 seconds and writes the results in an RRD-file.
143 In contrast to most similar software, collectd is not a script but
144 written in plain C for performance and portability. As a daemon it
145 stays in memory, so there is no need to start up a heavy interpreter
146 every time new values should be logged. This allows collectd to have a
147 10 second resolution while being nice to the system.
149 %description -l pl.UTF-8
150 collectd to mały demon zbierający co 10 sekund informacje o systemie
151 i zapisujący wyniki do pliku RRD.
153 W odróżnieniu od innych podobnych programów collectd nie jest
154 skryptem, lecz jest napisany w czystym C z myślą o wydajności
155 i przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
156 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
157 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
158 sekund i nie obciążać zbytnio systemu.
161 Summary: %{name} libraries
162 Summary(pl.UTF-8): Biblioteki %{name}
168 %description libs -l pl.UTF-8
172 Summary: Header files for %{name} libraries
173 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
174 Group: Development/Libraries
175 Requires: %{name}-libs = %{version}-%{release}
178 Header files for %{name} libraries.
180 %description devel -l pl.UTF-8
181 Pliki nagłówkowe bibliotek %{name}.
184 Summary: Static files for %{name} libraries
185 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
186 Group: Development/Libraries
187 Requires: %{name}-libs = %{version}-%{release}
190 Static files for %{name} libraries.
192 %description static -l pl.UTF-8
193 Pliki statyczne bibliotek %{name}.
196 Summary: apache-plugin for collectd
197 Summary(pl.UTF-8): Wtyczka apache dla collectd
199 Requires: %{name} = %{version}-%{release}
202 This plugin collect data provided by Apache's `mod_status'.
204 %description apache -l pl.UTF-8
205 Wtyczka collectd zbierająca informacje udostępniane przez moduł
209 Summary: APC UPS plugin for collectd
210 Summary(pl.UTF-8): Wtyczka APC UPS dla collectd
212 Requires: %{name} = %{version}-%{release}
215 The APC UPS plugin connects to an instance of Apcupsd to read various
216 statistics about a connected uninterruptible power supply (UPS), such
217 as voltage, load, etc.
220 Summary: ascent-plugin for collectd
221 Summary(pl.UTF-8): Wtyczka ascent dla collectd
223 Requires: %{name} = %{version}-%{release}
226 The Ascent plugin reads and parses the statistics page of Ascent, a
227 free and open-source server software for the game World of Warcraft by
228 Blizzard Entertainment.
231 Summary: battery plugin for collectd
232 Summary(pl.UTF-8): Wtyczka battery dla collectd
234 Requires: %{name} = %{version}-%{release}
237 This plugin collects the battery's charge, the drawn current and the
241 Summary: bind plugin for collectd
242 Summary(pl.UTF-8): Wtyczka bind dla collectd
244 Requires: %{name} = %{version}-%{release}
247 Starting with BIND 9.5.0, the most widely used DNS server software
248 provides extensive statistics about queries, responses and lots of
249 other information. The bind plugin retrieves this information that's
250 encoded in XML and provided via HTTP and submits the values to
254 Summary: Web script for collectd
255 Summary(pl.UTF-8): Web script for collectd
256 Group: Applications/WWW
257 Requires: %{name} = %{version}-%{release}
259 Requires: perl(Data::Dumper)
260 Requires: perl(HTML::Entities)
262 Requires: perl(URI::Escape)
263 Requires: webserver(cgi)
264 Suggests: fonts-TTF-DejaVu
266 %description collection
267 Web script for collectd.
270 Summary: Web script for collectd
271 Summary(pl.UTF-8): Web script for collectd
272 Group: Applications/WWW
273 Requires: %{name} = %{version}-%{release}
274 Requires: perl-Collectd = %{version}-%{release}
275 Requires: perl(Config::General)
276 Requires: perl(HTML::Entities)
277 Requires: perl(Regexp::Common)
279 Requires: webserver(cgi)
280 Suggests: fonts-TTF-DejaVu
282 %description collection3
283 Web script for collectd.
285 %package contextswitch
286 Summary: contextswitch-plugin for collectd
287 Summary(pl.UTF-8): Wtyczka contextswitch dla collectd
289 Requires: %{name} = %{version}-%{release}
291 %description contextswitch
292 The ContextSwitch plugin collects the number of context switches done
293 by the operating system.
296 Summary: conntrack-plugin for collectd
297 Summary(pl.UTF-8): Wtyczka conntrack dla collectd
299 Requires: %{name} = %{version}-%{release}
301 %description conntrack
302 The conntrack-plugin collects the connection tracking table size.
305 Summary: cpu-plugin for collectd
306 Summary(pl.UTF-8): Wtyczka cpu dla collectd
308 Requires: %{name} = %{version}-%{release}
311 The cpu-plugin collects the amount of time spent by the CPU in various
312 states, most notably executing user code, executing system code,
313 waiting for IO operations and being idle.
316 Summary: cpufreq-plugin for collectd
317 Summary(pl.UTF-8): Wtyczka cpufreq dla collectd
319 Requires: %{name} = %{version}-%{release}
322 Collects the current CPU's frequency, mostly for mobile computers.
325 Summary: CSV output plugin for collectd
326 Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd
328 Requires: %{name} = %{version}-%{release}
331 CSV output plugin for collectd.
334 Summary: cURL output plugin for collectd
335 Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd
337 Requires: %{name} = %{version}-%{release}
340 The curl plugin uses the libcurl to read web pages and the match
341 infrastructure (the same code used by the tail plugin) to use regular
342 expressions with the received data.
345 Summary: cURL JSON plugin for collectd
346 Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd
348 Requires: %{name} = %{version}-%{release}
350 %description curl_json
351 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
352 using the cURL library and parses it according to the user's
353 configuration using Yet Another JSON Library (YAJL). This can be used
354 to query statistics information from a CouchDB instance, for example.
357 Summary: dbi plugin for collectd
358 Summary(pl.UTF-8): Wtyczka dbi dla collectd
360 Requires: %{name} = %{version}-%{release}
363 This plugin uses the dbi library to connect to various databases,
364 execute SQL statements and read back the results. dbi is an acronym
365 for "database interface" in case you were wondering about the name.
366 You can configure how each column is to be interpreted and the plugin
367 will generate one or more data sets from each row returned according
371 Summary: df-plugin for collectd
372 Summary(pl.UTF-8): Wtyczka df dla collectd
374 Requires: %{name} = %{version}-%{release}
377 The df-plugin collects file system usage information, i. e. basically
378 how much space on a mounted partition is used and how much is
379 available. It's named after and very similar to the df(1) UNIX command
380 that's been around forever.
383 Summary: disk-plugin for collectd
384 Summary(pl.UTF-8): Wtyczka disk dla collectd
386 Requires: %{name} = %{version}-%{release}
389 This plugin collects performance statistics of harddisks and, where
390 supported, partitions.
393 Summary: dns-plugin for collectd
394 Summary(pl.UTF-8): Wtyczka dns dla collectd
396 Requires: %{name} = %{version}-%{release}
397 Requires: perl-rrdtool
400 This plugin has a similar functionality to dnstop: It uses libpcap to
401 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
402 interprets the packets and collects statistics of your DNS traffic.
405 Summary: email-plugin for collectd
406 Summary(pl.UTF-8): Wtyczka email dla collectd
408 Requires: %{name} = %{version}-%{release}
411 The email plugin opens an UNIX-socket over which one can submit email
412 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
413 mails received/handled, spam scores and matched spam checks.
415 This plugin is intended to be used with the the
416 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
417 is included in contrib/, but is of course not limited to that use.
420 Summary: entropy-plugin for collectd
421 Summary(pl.UTF-8): Wtyczka entropy dla collectd
423 Requires: %{name} = %{version}-%{release}
426 The Entropy plugin collects the available entropy on a system. Entropy
427 is important to generate random numbers, which are used for
428 encryption, authorization and similar tasks.
431 Summary: exec-plugin for collectd
432 Summary(pl.UTF-8): Wtyczka exec dla collectd
434 Requires: %{name} = %{version}-%{release}
437 The exec plugin forks of an executable either to receive values or to
438 dispatch notifications to the outside world.
441 Summary: filecount-plugin for collectd
442 Summary(pl.UTF-8): Wtyczka filecount dla collectd
444 Requires: %{name} = %{version}-%{release}
446 %description filecount
447 The filecount-plugin does something very simple: Count the number of
448 files in a directory and all its subdirectories. This can be used for
449 a variety of statistics, for example the queue length of an MTA, the
450 number of PHP sessions of a web server or simply the number of files
451 in your home directory.
454 Summary: fscache-plugin for collectd
455 Summary(pl.UTF-8): Wtyczka fscache dla collectd
457 Requires: %{name} = %{version}-%{release}
460 The fscache-plugin collects statistics about Linux file-system based
464 Summary: hddtemp-plugin for collectd
465 Summary(pl.UTF-8): Wtyczka hddtemp dla collectd
467 Requires: %{name} = %{version}-%{release}
468 Suggests: hddtemp-hddtempd
471 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
472 and queried by the external hddtemp-daemon.
475 Summary: interface-plugin for collectd
476 Summary(pl.UTF-8): Wtyczka interface dla collectd
478 Requires: %{name} = %{version}-%{release}
480 %description interface
481 The interface-plugin collects information about the traffic (octets),
482 packets and errors of interfaces.
485 Summary: iptables-plugin for collectd
486 Summary(pl.UTF-8): Wtyczka iptables dla collectd
488 Requires: %{name} = %{version}-%{release}
490 %description iptables
491 With this plugin you can gather statistics from your ip_tables based
492 packetfilter (aka. firewall). It can collect the byte- and
493 packet-counters of selected rules and submit them to collectd. You can
494 select rules that should be collected wither by its position (e.g.
495 "the fourth rule in the INPUT queue in the filter table") or by its
496 comment (using the COMMENT match). This means that depending on your
497 firewall layout you can collect certain services (such as the amount
498 of web-traffic), source or destination hosts or networks, dropped
499 packets and much more.
502 Summary: ipmi-plugin for collectd
503 Summary(pl.UTF-8): Wtyczka ipmi dla collectd
505 Requires: %{name} = %{version}-%{release}
508 The IPMI plugin uses the OpenIPMI library to read hardware sensors
509 from servers using the Intelligent Platform Management Interface
510 (IPMI). IPMI is very common with server hardware but usually not
511 available in consumer hardware.
514 Summary: IRQs-plugin for collectd
515 Summary(pl.UTF-8): Wtyczka IRQs dla collectd
517 Requires: %{name} = %{version}-%{release}
520 The IRQ plugin collects the number of times each interrupt has been
521 handled by the operating system.
524 Summary: libvirt-plugin for collectd
525 Summary(pl.UTF-8): Wtyczka libvirt dla collectd
527 Requires: %{name} = %{version}-%{release}
530 The libvirt plugin uses the virtualization API libvirt, created by
531 RedHat's Emerging Technology group, to gather statistics about
532 virtualized guests on a system. This way, you can collect CPU, network
533 interface and block device usage for each guest without installing
534 collectd on the guest systems. Because the statistics are received
535 from the hypervisor directly, this works not only with
536 para-virtualized hosts, but with hardware virtualized machines, too.
539 Summary: load-plugin for collectd
540 Summary(pl.UTF-8): Wtyczka load dla collectd
542 Requires: %{name} = %{version}-%{release}
545 Collects the system load. These numbers give a rough overview over the
546 utilization of a machine, though their meaning is mostly overrated.
549 Summary: logfile-plugin for collectd
550 Summary(pl.UTF-8): Wtyczka logfile dla collectd
552 Requires: %{name} = %{version}-%{release}
555 The LogFile plugin receives log messages from the daemon and writes
559 Summary: madwifi plugin for collectd
560 Summary(pl.UTF-8): Wtyczka madwifi dla collectd
562 Requires: %{name} = %{version}-%{release}
565 The MadWifi plugin collects information about Atheros wireless LAN
566 chipsets from the MadWifi driver. It uses the /sys filesystem to
567 identify cards handled by this driver automatically but can be
568 configured manually, too. Because very many statistics are available,
569 an advanced selection mechanism is provided.
571 %package match_empty_counter
572 Summary: match_empty_counter plugin for collectd
573 Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd
575 Requires: %{name} = %{version}-%{release}
577 %description match_empty_counter
578 Empty Counter match matches value lists, where at least one data
579 source is of type COUNTER and the counter value of all counter data
582 %package match_hashed
583 Summary: match_hashed plugin for collectd
584 Summary(pl.UTF-8): Wtyczka match_hashed dla collectd
586 Requires: %{name} = %{version}-%{release}
588 %description match_hashed
589 match_hashed plugin for collectd - match for simple load balancing and
593 Summary: match_regex plugin for collectd
594 Summary(pl.UTF-8): Wtyczka match_regex dla collectd
596 Requires: %{name} = %{version}-%{release}
598 %description match_regex
599 match_regex plugin for collectd.
601 %package match_timediff
602 Summary: match_timediff plugin for collectd
603 Summary(pl.UTF-8): Wtyczka match_timediff dla collectd
605 Requires: %{name} = %{version}-%{release}
607 %description match_timediff
608 match_timediff plugin for collectd.
611 Summary: match_value plugin for collectd
612 Summary(pl.UTF-8): Wtyczka match_value dla collectd
614 Requires: %{name} = %{version}-%{release}
616 %description match_value
617 match_value plugin for collectd.
620 Summary: mbmon plugin for collectd
621 Summary(pl.UTF-8): Wtyczka mbmon dla collectd
623 Requires: %{name} = %{version}-%{release}
626 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
629 Summary: memcachec-plugin for collectd
630 Summary(pl.UTF-8): Wtyczka memcachec dla collectd
632 Requires: %{name} = %{version}-%{release}
634 %description memcachec
635 The memcachec plugin connects to a memcached server, queries one or
636 more given pages and parses the returned data according to user
637 specification. The matches used are similar to the matches used in the
638 cURL and Tail plugins.
641 Summary: memcached-plugin for collectd
642 Summary(pl.UTF-8): Wtyczka memcached dla collectd
644 Requires: %{name} = %{version}-%{release}
646 %description memcached
647 The memcached plugin connects to a memcached daemon and collects the
648 number of connections and requests handled by the daemon, the CPU
649 resources consumed, number of items cached, number of threads, and
650 bytes sent and received.
653 Summary: memory-plugin for collectd
654 Summary(pl.UTF-8): Wtyczka memory dla collectd
656 Requires: %{name} = %{version}-%{release}
659 Collects physical memory utilization for collectd.
662 Summary: modbus-plugin for collectd
663 Summary(pl.UTF-8): Wtyczka modbus dla collectd
665 Requires: %{name} = %{version}-%{release}
668 The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and
669 reads register values. It supports reading single registers (unsigned 16
670 bit values), large integer values (unsigned 32 bit values) and
671 floating point values (two registers interpreted as IEEE floats in big
675 Summary: multimeter-plugin for collectd
676 Summary(pl.UTF-8): Wtyczka multimeter dla collectd
678 Requires: %{name} = %{version}-%{release}
680 %description multimeter
681 The Multimeter plugin reads a value (usually a voltage or current)
682 from a multimeter connected to a serial bus. The plugin tries
683 /dev/ttyS0-9 in order to find a multimeter – no configuration is
686 The multimeter used for development was a Metex M-4650CR.
689 Summary: mysql-plugin for collectd
690 Summary(pl.UTF-8): Moduł mysql dla collectd.
692 Requires: %{name} = %{version}-%{release}
693 Requires: mysql-client
696 MySQL querying plugin. This plugins provides data of issued commands,
697 called handlers and database traffic.
699 %description mysql -l pl.UTF-8
700 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
701 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
704 Summary: netlink-plugin for collectd
705 Summary(pl.UTF-8): Wtyczka netlink dla collectd
707 Requires: %{name} = %{version}-%{release}
710 This plugin will open a netlink socket to the Linux kernel and use it
711 to get statistics for interfaces, qdiscs, classes, and, if you can
712 make use of it, filters. Since in most setups many of the statistics
713 this plugin can collect aren't of interest, you can select which
714 information to gather using the configuration.
717 Summary: network-plugin for collectd
718 Summary(pl.UTF-8): Wtyczka network dla collectd
720 Requires: %{name} = %{version}-%{release}
723 The Network plugin can send values to other instances and receive
724 values from other %{name} instances.
727 Summary: NFS-plugin for collectd
728 Summary(pl.UTF-8): Wtyczka NFS dla collectd
730 Requires: %{name} = %{version}-%{release}
733 The nfs plugin counts the number of procedure calls of the different
737 Summary: nginx-plugin for collectd
738 Summary(pl.UTF-8): Wtyczka nginx dla collectd
740 Requires: %{name} = %{version}-%{release}
743 This plugin collects the number of connections and requests handled by
744 the nginx daemon, a HTTP and mail server/proxy. It queries the page
745 provided by the ngx_http_stub_status_module module, which isn't
748 %package notify_desktop
749 Summary: notify_desktop for collectd
750 Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd
752 Requires: %{name} = %{version}-%{release}
753 Requires: dbus(org.freedesktop.Notifications)
755 %description notify_desktop
756 This plugin sends a desktop notification to a notification daemon, as
757 defined in the Desktop Notification Specification.
759 %package notify_email
760 Summary: notify_email-plugin for collectd
761 Summary(pl.UTF-8): Wtyczka notify_email dla collectd
763 Requires: %{name} = %{version}-%{release}
765 %description notify_email
766 The Notify Email plugin uses libESMTP to send notifications to a
767 configured email address(es).
770 Summary: ntpd-plugin for collectd
771 Summary(pl.UTF-8): Wtyczka ntpd dla collectd
773 Requires: %{name} = %{version}-%{release}
776 The NTPd plugin queries an NTP server (usually the local one, where
777 statistics access is allowed) and extracts :
778 - "local" clock parameters: time offset, error and offset loop,
779 - parameters for each NTP server used to sync time: offset,
783 Summary: nut-plugin for collectd
784 Summary(pl.UTF-8): Wtyczka nut dla collectd
786 Requires: %{name} = %{version}-%{release}
789 UPS statistics using the Network UPS Tools. These statistics include
790 basically everything NUT will give us, including voltages, currents,
791 power, frequencies, load, and temperatures.
794 Summary: olsrd plugin for collectd
795 Summary(pl.UTF-8): Wtyczka olsrd dla collectd
797 Requires: %{name} = %{version}-%{release}
800 The olsrd plugin reads information about meshed networks from the
801 txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
804 Summary: openvpn plugin for collectd
805 Summary(pl.UTF-8): Wtyczka openvpn dla collectd
807 Requires: %{name} = %{version}-%{release}
811 The OpenVPN plugin reads a status file maintained by OpenVPN and
812 gathers traffic statistics about connected clients.
815 Summary: perl plugin for collectd
816 Summary(pl.UTF-8): Wtyczka perl dla collectd
818 Requires: %{name} = %{version}-%{release}
819 Requires: perl-Collectd = %{version}-%{release}
822 The Perl plugin embeds a Perl interpreter into collectd and exposes
823 the application programming interface (API) to Perl-scripts. This
824 allows to write own plugins in the popular scripting language, which
825 are then loaded and executed by the daemon without the need to start a
826 new process and interpreter every few seconds. Perl-modules written
827 for the Perl plugin are therefore more powerful and efficient than
828 scripts executed by the Exec plugin.
831 Summary: ping-plugin for collectd
832 Summary(pl.UTF-8): Wtyczka ping dla collectd
834 Requires: %{name} = %{version}-%{release}
835 Requires: liboping >= 1.1.2
838 The network latency is measured as a roundtrip time. An
839 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
840 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
841 not received within one second the plugin will no longer expect a
842 reply and return. This may happen in several circumstances, e. g. the
843 packet is lost, the host is down, a router has dismissed the packet,
847 Summary: mysql-plugin for collectd
848 Summary(pl.UTF-8): Moduł postgresql dla collectd.
850 Requires: %{name} = %{version}-%{release}
852 %description postgresql
853 The postgresql plugin queries statistics from PostgreSQL databases. It
854 keeps a persistent connection to all configured databases and tries to
855 reconnect if the connection has been interrupted.
858 Summary: powerdns-plugin for collectd
859 Summary(pl.UTF-8): Wtyczka powerdns dla collectd
861 Requires: %{name} = %{version}-%{release}
863 %description powerdns
864 The powerdns plugin queries statistics from an authoritative PowerDNS
865 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
866 of values, many of which are probably meaningless to most users, but
867 may be useful for some.
870 Summary: processes-plugin for collectd
871 Summary(pl.UTF-8): Wtyczka processes dla collectd
873 Requires: %{name} = %{version}-%{release}
875 %description processes
876 This plugin collects the number of processes, grouped by their state
877 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
878 select detailed statistics about selected processes, grouped by name.
881 Summary: protocols-plugin for collectd
882 Summary(pl.UTF-8): Wtyczka protocols dla collectd
884 Requires: %{name} = %{version}-%{release}
886 %description protocols
887 The protocols-plugin provides information about network protocols,
888 such as IP, TCP and UDP.
891 Summary: python-plugin for collectd
892 Summary(pl.UTF-8): Wtyczka python dla collectd
894 Requires: %{name} = %{version}-%{release}
897 The Python plugin embeds a Python interpreter into collectd and
898 exposes the application programming interface (API) to Python-scripts.
899 This allows to write own plugins in the popular scripting language,
900 which are then loaded and executed by the daemon without the need to
901 start a new process and interpreter every few seconds. Python-modules
902 written for the Python plugin are therefore more powerful and
903 efficient than scripts executed by the Exec plugin.
906 Summary: rrdcached-plugin for collectd
907 Summary(pl.UTF-8): Wtyczka rrdcached dla collectd
909 Requires: %{name} = %{version}-%{release}
911 %description rrdcached
912 The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
913 to store values to RRD files in an efficient manner. The combination
914 of the rrdcached plugin and the rrdcached daemon is very similar to
915 the way the rrdtool plugin works.
918 Summary: rrdtool-plugin for collectd
919 Summary(pl.UTF-8): Wtyczka rrdtool dla collectd
921 Requires: %{name} = %{version}-%{release}
925 The RRDtool plugin writes values to RRD-files using librrd.
928 Summary: sensors-plugin for collectd
929 Summary(pl.UTF-8): Wtyczka sensors dla collectd
931 Requires: %{name} = %{version}-%{release}
934 This plugin uses lm-sensors to read hardware sensors. You will need to
935 configure lm-sensors before this plugin will collect any usefull and
939 Summary: serial-plugin for collectd
940 Summary(pl.UTF-8): Wtyczka serial dla collectd
942 Requires: %{name} = %{version}-%{release}
945 The Serial plugin collects the traffic on serial interfaces.
948 Summary: snmp-plugin for collectd
949 Summary(pl.UTF-8): Wtyczka snmp dla collectd
951 Requires: %{name} = %{version}-%{release}
954 The snmp plugin queries other hosts using SNMP, the Simple Network
955 Management Protocol, and translates the value it receives to
956 collectd's internal format and dispatches them. Depending on the write
957 plugins you have loaded they may be written to disk or submitted to
958 another instance or whatever you configured.
961 Summary: swap-plugin for collectd
962 Summary(pl.UTF-8): Wtyczka swap dla collectd
964 Requires: %{name} = %{version}-%{release}
967 The Swap plugin collects the amount of memory currently written onto
968 hard disk or whatever the system calls “swap”.
971 Summary: syslog-plugin for collectd
972 Summary(pl.UTF-8): Wtyczka syslog dla collectd
974 Requires: %{name} = %{version}-%{release}
977 The SysLog plugin receives log messages from the daemon and dispatches
981 Summary: table-plugin for collectd
982 Summary(pl.UTF-8): Wtyczka table dla collectd
984 Requires: %{name} = %{version}-%{release}
987 The table-plugin provides parsing for table-like structured files,
988 such as many files beneath /proc.
990 %package target_notification
991 Summary: target_notification-plugin for collectd
992 Summary(pl.UTF-8): Wtyczka target_notification dla collectd
994 Requires: %{name} = %{version}-%{release}
996 %description target_notification
997 target_notification plugin for collectd.
999 %package target_replace
1000 Summary: target_replace-plugin for collectd
1001 Summary(pl.UTF-8): Wtyczka target_replace dla collectd
1003 Requires: %{name} = %{version}-%{release}
1005 %description target_replace
1006 target_replace plugin for collectd.
1008 %package target_scale
1009 Summary: target_scale-plugin for collectd
1010 Summary(pl.UTF-8): Wtyczka target_scale dla collectd
1012 Requires: %{name} = %{version}-%{release}
1014 %description target_scale
1015 Target to scale (multiply) values by an arbitrary value.
1018 Summary: target_set-plugin for collectd
1019 Summary(pl.UTF-8): Wtyczka target_set dla collectd
1021 Requires: %{name} = %{version}-%{release}
1023 %description target_set
1024 target_set plugin for collectd.
1026 %package target_v5upgrade
1027 Summary: target_v5upgrade-plugin for collectd
1028 Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd
1030 Requires: %{name} = %{version}-%{release}
1032 %description target_v5upgrade
1033 The v5 upgrade target can be used to upgrade version 4 data to a
1034 changed version 5 layout.
1037 Summary: tail-plugin for collectd
1038 Summary(pl.UTF-8): Wtyczka tail dla collectd
1040 Requires: %{name} = %{version}-%{release}
1043 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
1044 tail -F does. Each line is given to one or more "matches" which test
1045 if the line is relevant for any statistics using a regular expression.
1048 Summary: tcpconns-plugin for collectd
1049 Summary(pl.UTF-8): Wtyczka tcpconns dla collectd
1051 Requires: %{name} = %{version}-%{release}
1053 %description tcpconns
1054 The tcpconns-plugin counts the number of TCP connections to or from a
1055 specified port. Typically the connectioins where you specify the local
1056 port are incoming connections while the connections where you specify
1057 the remote port are outgoing connections.
1060 Summary: teamspeak2-plugin for collectd
1061 Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd
1063 Requires: %{name} = %{version}-%{release}
1065 %description teamspeak2
1066 The teamspeak2 plugin connects to the query port of a teamspeak2
1067 server and polls interesting global and virtual server data. The
1068 plugin can query only one physical server but unlimited virtual
1072 Summary: ted-plugin for collectd
1073 Summary(pl.UTF-8): Wtyczka ted dla collectd
1075 Requires: %{name} = %{version}-%{release}
1078 The TED-plugin reads power consumption measurements from “The Energy
1082 Summary: thermal-plugin for collectd
1083 Summary(pl.UTF-8): Wtyczka thermal dla collectd
1085 Requires: %{name} = %{version}-%{release}
1087 %description thermal
1088 The thermal plugin reads ACPI thermal zone information from the sysfs
1089 or procfs file system, i. e. mostly system temperature information.
1092 Summary: threshold-plugin for collectd
1093 Summary(pl.UTF-8): Wtyczka threshold dla collectd
1095 Requires: %{name} = %{version}-%{release}
1097 %description threshold
1098 threshold-plugin for collectd.
1101 Summary: unixsock-plugin for collectd
1102 Summary(pl.UTF-8): Wtyczka unixsock dla collectd
1104 Requires: %{name} = %{version}-%{release}
1106 %description unixsock
1107 The unixsock plugin opens an UNIX-socket over which one can interact
1108 with the daemon. This can be used to use the values collected by
1109 collectd in other applications, such as monitoring, or submit
1110 externally collected values to collectd.
1113 Summary: uptime-plugin for collectd
1114 Summary(pl.UTF-8): Wtyczka uptime dla collectd
1116 Requires: %{name} = %{version}-%{release}
1119 The uptime-plugin can collect the server's uptime.
1122 Summary: users-plugin for collectd
1123 Summary(pl.UTF-8): Wtyczka users dla collectd
1125 Requires: %{name} = %{version}-%{release}
1128 Number of users currently logged in.
1131 Summary: uuid-plugin for collectd
1132 Summary(pl.UTF-8): Wtyczka uuid dla collectd
1134 Requires: %{name} = %{version}-%{release}
1137 This plugin, if loaded, causes the Hostname to be taken from the
1138 machine's UUID. The UUID is a universally unique designation for the
1139 machine, usually taken from the machine's BIOS. This is most useful if
1140 the machine is running in a virtual environment such as Xen, in which
1141 case the UUID is preserved across shutdowns and migration.
1144 Summary: varnish-plugin for collectd
1145 Summary(pl.UTF-8): Wtyczka varnish dla collectd
1147 Requires: %{name} = %{version}-%{release}
1149 %description varnish
1150 The Varnish plugin collects information about Varnish, an HTTP
1154 Summary: vmem-plugin for collectd
1155 Summary(pl.UTF-8): Wtyczka vmem dla collectd
1157 Requires: %{name} = %{version}-%{release}
1160 The vmem plugin collects information about the usage of virtual
1161 memory. Since the statistics provided by the Linux kernel are very
1162 detailed, they are collected very detailed.
1165 Summary: vserver-plugin for collectd
1166 Summary(pl.UTF-8): Wtyczka vserver dla collectd
1168 Requires: %{name} = %{version}-%{release}
1170 %description vserver
1171 Collects information about the virtual servers running on a system,
1172 using Linux-Vserver.
1175 Summary: write_http-plugin for collectd
1176 Summary(pl.UTF-8): Wtyczka write_http dla collectd
1178 Requires: %{name} = %{version}-%{release}
1180 %description write_http
1181 The Write HTTP plugin sends the values collected by collectd to a
1182 web-server using HTTP POST requests. The data is formatted as PUTVAL
1186 Summary: wireless-plugin for collectd
1187 Summary(pl.UTF-8): Wtyczka wireless dla collectd
1189 Requires: %{name} = %{version}-%{release}
1191 %description wireless
1192 The Wireless plugin collects signal quality, signal power and
1193 signal-to-noise ratio for wireless LAN cards.
1196 Summary: xmms-plugin for collectd
1197 Summary(pl.UTF-8): Wtyczka xmms dla collectd
1199 Requires: %{name} = %{version}-%{release}
1202 The XMMS plugin is a plugin for the XMMS music player. It graphs the
1203 bit-rate and sampling rate as you play songs. Not really useful, just
1204 something that got written because we can.
1206 %package -n perl-Collectd
1207 Summary: Perl files from Collectd package
1210 %description -n perl-Collectd
1211 Perl files from Collectd package
1231 CPPFLAGS="-Wno-unused-but-set-variable" \
1232 c_cv_have_libperl=yes \
1233 --with-libiptc=/usr \
1234 --with-libstatgrab=/usr \
1235 --with-lm-sensors=/usr \
1236 --with-libmysql=/usr \
1238 %{__enable_disable dns} \
1239 %{__enable_disable ipmi} \
1240 %{__enable_disable iptables} \
1241 %{__enable_disable multimeter} \
1242 %{__enable_disable mysql} \
1243 %{__enable_disable netlink} \
1244 %{__enable_disable notify notify_desktop} \
1245 %{__enable_disable libesmtp notify_email} \
1246 %{__enable_disable modbus } \
1247 %{__enable_disable libvirt} \
1248 %{__enable_disable ups nut} \
1249 %{__enable_disable ping} \
1250 %{__enable_disable pgsql postgresql} \
1251 %{__enable_disable rrd rrdtool} \
1252 %{__enable_disable sensors} \
1253 %{__enable_disable snmp} \
1254 %{__enable_disable xmms} \
1255 %{__enable_disable varnish} \
1256 %{__enable_disable curl} \
1257 %{__enable_disable curl apache} \
1258 %{__enable_disable curl ngix} \
1259 %{__enable_disable curl ascent} \
1260 %{__disable curl ascent} \
1261 %{__disable curl bind} \
1262 %{__disable xml ascent} \
1263 %{__disable xml bind} \
1267 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
1268 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
1269 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
1272 rm -rf $RPM_BUILD_ROOT
1273 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
1274 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
1277 DESTDIR=$RPM_BUILD_ROOT
1279 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
1280 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1283 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1284 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
1285 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1286 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1287 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1289 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1290 mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1291 ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf
1292 sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1294 ### Configs instalation ###
1295 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1296 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1297 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1300 # Example config in sources: src/collectd.conf
1301 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1303 # Overwrite only files which we want to change:
1304 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1305 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1307 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1308 mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/
1311 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1314 rm -rf $RPM_BUILD_ROOT
1317 /sbin/chkconfig --add %{name}
1318 %service %{name} restart
1321 if [ "$1" = "0" ]; then
1322 %service -q %{name} stop
1323 /sbin/chkconfig --del %{name}
1326 %post libs -p /sbin/ldconfig
1327 %postun libs -p /sbin/ldconfig
1329 %define module_scripts() \
1331 %service %{name} restart \
1334 %service %{name} restart
1336 %module_scripts apache
1337 %module_scripts apcups
1338 %module_scripts ascent
1339 %module_scripts battery
1340 %module_scripts bind
1341 %module_scripts contextswitch
1342 %module_scripts conntrack
1344 %module_scripts cpufreq
1346 %module_scripts curl
1347 %module_scripts curl_json
1350 %module_scripts disk
1352 %module_scripts email
1353 %module_scripts entropy
1354 %module_scripts exec
1355 %module_scripts filecount
1356 %module_scripts fscache
1357 %module_scripts hddtemp
1358 %module_scripts interface
1359 %module_scripts ipmi
1360 %module_scripts iptables
1362 %module_scripts libvirt
1363 %module_scripts load
1364 %module_scripts logfile
1365 %module_scripts madwifi
1366 %module_scripts match_empty_counter
1367 %module_scripts match_hashed
1368 %module_scripts match_regex
1369 %module_scripts match_timediff
1370 %module_scripts match_value
1371 %module_scripts mbmon
1372 %module_scripts memcachec
1373 %module_scripts memcached
1374 %module_scripts memory
1375 %module_scripts multimeter
1376 %module_scripts mysql
1377 %module_scripts netlink
1378 %module_scripts network
1380 %module_scripts nginx
1381 %module_scripts notify_desktop
1382 %module_scripts notify_email
1383 %module_scripts ntpd
1385 %module_scripts olsrd
1386 %module_scripts openvpn
1387 %module_scripts perl
1388 %module_scripts ping
1389 %module_scripts postgresql
1390 %module_scripts powerdns
1391 %module_scripts processes
1392 %module_scripts protocols
1393 %module_scripts python
1394 %module_scripts rrdcached
1395 %module_scripts rrdtool
1396 %module_scripts sensors
1397 %module_scripts serial
1398 %module_scripts snmp
1399 %module_scripts swap
1400 %module_scripts syslog
1401 %module_scripts table
1402 %module_scripts tail
1403 %module_scripts target_notification
1404 %module_scripts target_replace
1405 %module_scripts target_scale
1406 %module_scripts target_set
1407 %module_scripts target_v5upgrade
1408 %module_scripts tcpconns
1409 %module_scripts teamspeak2
1411 %module_scripts thermal
1412 %module_scripts threshold
1413 %module_scripts unixsock
1414 %module_scripts uptime
1415 %module_scripts users
1416 %module_scripts uuid
1417 %module_scripts varnish
1418 %module_scripts vmem
1419 %module_scripts vserver
1420 %module_scripts write_http
1421 %module_scripts wireless
1422 %module_scripts xmms
1424 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1425 %webapp_register apache %{_webapp}
1427 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1428 %webapp_unregister apache %{_webapp}
1430 %triggerin collection -- apache < 2.2.0, apache-base
1431 %webapp_register httpd %{_webapp}
1433 %triggerun collection -- apache < 2.2.0, apache-base
1434 %webapp_unregister httpd %{_webapp}
1436 %triggerin collection -- lighttpd
1437 %webapp_register lighttpd %{_webapp}
1439 %triggerun collection -- lighttpd
1440 %webapp_unregister lighttpd %{_webapp}
1443 %defattr(644,root,root,755)
1444 %doc AUTHORS ChangeLog README TODO contrib
1445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1446 %dir %{_sysconfdir}/%{name}.d
1448 %attr(755,root,root) %{_sbindir}/collectd
1449 %attr(755,root,root) %{_sbindir}/collectdmon
1450 %attr(755,root,root) %{_bindir}/collectdctl
1451 %attr(755,root,root) %{_bindir}/collectd-nagios
1452 %dir %{_libdir}/%{name}
1453 %dir %{_datadir}/%{name}
1454 %{_datadir}/%{name}/types.db
1455 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1456 %{_mandir}/man1/collectd.1*
1457 %{_mandir}/man1/collectd-nagios.1*
1458 %{_mandir}/man1/collectdctl.1*
1459 %{_mandir}/man1/collectdmon.1*
1460 %{_mandir}/man5/collectd.conf.5*
1461 %{_mandir}/man5/collectd-java.5*
1462 %{_mandir}/man5/types.db.5*
1463 %dir %{_var}/lib/%{name}
1466 %defattr(644,root,root,755)
1467 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1468 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1473 %{_libdir}/libcollectdclient.la
1474 %dir %{_includedir}/%{name}
1475 %{_includedir}/%{name}/*.h
1476 %{_pkgconfigdir}/libcollectdclient.pc
1479 %defattr(644,root,root,755)
1480 %{_libdir}/libcollectdclient.a
1481 %{_libdir}/%{name}/*.a
1484 %defattr(644,root,root,755)
1485 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1486 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1487 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1488 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1490 %dir %{_appdir}/cgi-bin
1491 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1494 %defattr(644,root,root,755)
1495 %doc contrib/collection3/README
1496 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf
1497 %dir %{_appdir}/collection3
1498 %dir %{_appdir}/collection3/bin
1499 %attr(755,root,root) %{_appdir}/collection3/bin/*.cgi
1500 %{_appdir}/collection3/etc
1501 %{_appdir}/collection3/lib
1502 %{_appdir}/collection3/share
1508 %defattr(640,root,root,755)
1509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1510 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1515 %defattr(644,root,root,755)
1516 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1517 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1521 %defattr(640,root,root,755)
1522 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1523 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1527 %defattr(644,root,root,755)
1528 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1529 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1534 %defattr(644,root,root,755)
1535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1536 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1540 %files contextswitch
1541 %defattr(644,root,root,755)
1542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1543 %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1546 %defattr(644,root,root,755)
1547 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1548 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1551 %defattr(644,root,root,755)
1552 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1553 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1556 %defattr(644,root,root,755)
1557 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1558 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1561 %defattr(644,root,root,755)
1562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1563 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1567 %defattr(640,root,root,755)
1568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1569 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1572 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1576 %defattr(640,root,root,755)
1577 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
1578 %attr(755,root,root) %{_libdir}/%{name}/curl_json.so
1582 %defattr(640,root,root,755)
1583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1584 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1587 %defattr(644,root,root,755)
1588 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1589 %attr(755,root,root) %{_libdir}/%{name}/df.so
1592 %defattr(644,root,root,755)
1593 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1594 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1598 %defattr(644,root,root,755)
1599 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1600 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1604 %defattr(644,root,root,755)
1605 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1606 %attr(755,root,root) %{_libdir}/%{name}/email.so
1607 %{_mandir}/man5/collectd-email.5*
1610 %defattr(644,root,root,755)
1611 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1612 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1615 %defattr(644,root,root,755)
1616 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1617 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1618 %{_mandir}/man5/collectd-exec.5*
1621 %defattr(644,root,root,755)
1622 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1623 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1626 %defattr(644,root,root,755)
1627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1628 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1631 %defattr(644,root,root,755)
1632 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1633 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1636 %defattr(644,root,root,755)
1637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1638 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1642 %defattr(644,root,root,755)
1643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1644 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1647 %if %{with iptables}
1649 %defattr(644,root,root,755)
1650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1651 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1655 %defattr(644,root,root,755)
1656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1657 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1661 %defattr(644,root,root,755)
1662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
1663 %attr(755,root,root) %{_libdir}/%{name}/libvirt.so
1667 %defattr(644,root,root,755)
1668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1669 %attr(755,root,root) %{_libdir}/%{name}/load.so
1672 %defattr(644,root,root,755)
1673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1674 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1675 %{_var}/log/collectd.log
1678 %defattr(644,root,root,755)
1679 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1680 %attr(755,root,root) %{_libdir}/%{name}/madwifi.so
1682 %files match_empty_counter
1683 %defattr(644,root,root,755)
1684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1685 %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1688 %defattr(644,root,root,755)
1689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1690 %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1693 %defattr(644,root,root,755)
1694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1695 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1697 %files match_timediff
1698 %defattr(644,root,root,755)
1699 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1700 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1703 %defattr(644,root,root,755)
1704 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1705 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1708 %defattr(644,root,root,755)
1709 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1710 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1713 %defattr(644,root,root,755)
1714 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1715 %attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1718 %defattr(644,root,root,755)
1719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1720 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1723 %defattr(644,root,root,755)
1724 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1725 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1729 %defattr(644,root,root,755)
1730 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/modbus.conf
1731 %attr(755,root,root) %{_libdir}/%{name}/modbus.so
1734 %if %{with multimeter}
1736 %defattr(644,root,root,755)
1737 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1738 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1743 %defattr(640,root,root,755)
1744 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1745 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1750 %defattr(644,root,root,755)
1751 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1752 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1756 %defattr(644,root,root,755)
1757 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1758 %attr(755,root,root) %{_libdir}/%{name}/network.so
1761 %defattr(644,root,root,755)
1762 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1763 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1767 %defattr(640,root,root,755)
1768 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1769 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1773 %files notify_desktop
1774 %defattr(644,root,root,755)
1775 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1776 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1779 %if %{with libesmtp}
1781 %defattr(640,root,root,755)
1782 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1783 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1787 %defattr(644,root,root,755)
1788 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1789 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1793 %defattr(644,root,root,755)
1794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1795 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1799 %defattr(644,root,root,755)
1800 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1801 %attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1804 %defattr(644,root,root,755)
1805 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1806 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1809 %defattr(644,root,root,755)
1810 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
1811 %attr(755,root,root) %{_libdir}/%{name}/perl.so
1812 %{_mandir}/man5/collectd-perl.5*
1816 %defattr(644,root,root,755)
1817 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1818 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1823 %defattr(640,root,root,755)
1824 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1825 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1826 %{_datadir}/%{name}/postgresql_default.conf
1830 %defattr(644,root,root,755)
1831 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1832 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1835 %defattr(644,root,root,755)
1836 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1837 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1840 %defattr(644,root,root,755)
1841 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1842 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1845 %defattr(644,root,root,755)
1846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1847 %attr(755,root,root) %{_libdir}/%{name}/python.so
1848 %{_mandir}/man5/collectd-python.5*
1852 %defattr(644,root,root,755)
1853 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
1854 %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
1857 %defattr(644,root,root,755)
1858 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1859 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1864 %defattr(644,root,root,755)
1865 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1866 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1870 %defattr(644,root,root,755)
1871 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1872 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1876 %defattr(644,root,root,755)
1877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1878 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1879 %{_mandir}/man5/collectd-snmp.5*
1883 %defattr(644,root,root,755)
1884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1885 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1888 %defattr(644,root,root,755)
1889 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1890 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1893 %defattr(644,root,root,755)
1894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1895 %attr(755,root,root) %{_libdir}/%{name}/table.so
1898 %defattr(644,root,root,755)
1899 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1900 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1902 %files target_notification
1903 %defattr(644,root,root,755)
1904 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1905 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1907 %files target_replace
1908 %defattr(644,root,root,755)
1909 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1910 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1913 %defattr(644,root,root,755)
1914 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
1915 %attr(755,root,root) %{_libdir}/%{name}/target_scale.so
1918 %defattr(644,root,root,755)
1919 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1920 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1922 %files target_v5upgrade
1923 %defattr(644,root,root,755)
1924 %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
1927 %defattr(644,root,root,755)
1928 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1929 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1932 %defattr(644,root,root,755)
1933 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1934 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1937 %defattr(644,root,root,755)
1938 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1939 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1942 %defattr(644,root,root,755)
1943 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1944 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1947 %defattr(644,root,root,755)
1948 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
1949 %attr(755,root,root) %{_libdir}/%{name}/threshold.so
1950 %{_mandir}/man5/collectd-threshold.5*
1953 %defattr(644,root,root,755)
1954 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1955 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1956 %{_mandir}/man5/collectd-unixsock.5*
1959 %defattr(644,root,root,755)
1960 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1961 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1964 %defattr(644,root,root,755)
1965 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1966 %attr(755,root,root) %{_libdir}/%{name}/users.so
1969 %defattr(644,root,root,755)
1970 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1971 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1974 %defattr(644,root,root,755)
1975 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
1976 %attr(755,root,root) %{_libdir}/%{name}/varnish.so
1979 %defattr(644,root,root,755)
1980 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1981 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1984 %defattr(644,root,root,755)
1985 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1986 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1989 %defattr(644,root,root,755)
1990 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1991 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1994 %defattr(644,root,root,755)
1995 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
1996 %attr(755,root,root) %{_libdir}/%{name}/write_http.so
2000 %defattr(644,root,root,755)
2001 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
2002 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
2005 %files -n perl-Collectd
2006 %defattr(644,root,root,755)
2007 %{perl_vendorlib}/Collectd.pm
2008 %{perl_vendorlib}/Collectd
2009 %{_mandir}/man3/*.3*