2 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
3 %bcond_without dns # DNS plugin
4 %bcond_without ipmi # IPMI plugin
5 %bcond_without iptables # iptables plugin
6 %bcond_without libesmtp # notify_email plugin
7 %bcond_with multimeter # multimeter plugin
8 %bcond_without mysql # MySQL plugin
9 %bcond_without netlink # netlink plugin
10 %bcond_without notify # notify_desktop plugin
11 %bcond_without ping # ping plugin
12 %bcond_without psql # PostgreSQL plugin
13 %bcond_without rrd # rrdtool and rrdcached plugins
14 %bcond_without sensors # sensors plugin
15 %bcond_without snmp # SNMP plugin
16 %bcond_without ups # nut plugin
17 %bcond_without xml # ascent, bind and libvirt plugins
18 %bcond_without xmms # XMMS plugin
20 #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
22 %undefine with_iptables
23 %undefine with_netlink
25 Summary: Collects system information in RRD files
26 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
32 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
33 # Source0-md5: 8740670913a7740f976122f3070e592b
36 Source3: %{name}-http.conf
37 Source4: %{name}-lighttpd.conf
38 Source10: %{name}-df.conf
39 Source11: %{name}-rrdtool.conf
40 Patch0: %{name}-collection.patch
41 Patch1: %{name}-as_needed.patch
42 URL: http://collectd.org/
43 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
44 BuildRequires: autoconf
45 BuildRequires: automake
46 %{?with_curl:BuildRequires: curl-devel}
47 BuildRequires: gcc-c++
48 BuildRequires: hal-devel
49 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
50 BuildRequires: libdbi-devel
51 %{?with_libesmtp:BuildRequires: libesmtp-devel}
52 BuildRequires: libltdl-devel
53 %{?with_netlink:BuildRequires: libnetlink-devel}
54 %{?with_notify:BuildRequires: libnotify-devel}
55 %{?with_ping:BuildRequires: liboping-devel}
56 %{?with_dns:BuildRequires: libpcap-devel}
57 BuildRequires: libstatgrab-devel >= 0.12
58 BuildRequires: libtool
59 %{?with_xml:BuildRequires: libxml2-devel}
60 %{?with_sensors:BuildRequires: lm_sensors-devel}
61 %{?with_mysql:BuildRequires: mysql-devel}
62 %{?with_ups:BuildRequires: nut-devel}
63 BuildRequires: perl-devel
64 %{?with_psql:BuildRequires: postgresql-devel}
65 BuildRequires: rpmbuild(macros) >= 1.268
66 %{?with_rrd:BuildRequires: rrdtool-devel}
67 %{?with_snmp:BuildRequires: net-snmp-devel}
68 %{?with_xmms:BuildRequires: xmms-devel}
69 Requires(post,preun): /sbin/chkconfig
71 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73 %define _pkglibdir %{_sharedstatedir}/%{name}
74 %define _webapps /etc/webapps
75 %define _webapp %{name}
76 %define _webappdir %{_webapps}/%{_webapp}
77 %define _appdir %{_datadir}/%{_webapp}
80 collectd is a small daemon which collects system information every 10
81 seconds and writes the results in an RRD-file.
83 In contrast to most similar software, collectd is not a script but
84 written in plain C for performance and portability. As a daemon it
85 stays in memory, so there is no need to start up a heavy interpreter
86 every time new values should be logged. This allows collectd to have a
87 10 second resolution while being nice to the system.
89 %description -l pl.UTF-8
90 collectd to mały demon zbierający co 10 sekund informacje o systemie i
91 zapisujący wyniki do pliku RRD.
93 W odróżnieniu od innych podobnych programów collectd nie jest
94 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
95 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
96 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
97 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
98 sekund i nie obciążać zbytnio systemu.
101 Summary: %{name} libraries
102 Summary(pl.UTF-8): Biblioteki %{name}
108 %description libs -l pl.UTF-8
112 Summary: Header files for %{name} libraries
113 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
114 Group: Development/Libraries
115 Requires: %{name}-libs = %{version}-%{release}
118 Header files for %{name} libraries.
120 %description devel -l pl.UTF-8
121 Pliki nagłówkowe bibliotek %{name}.
124 Summary: apache-plugin for collectd
125 Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
127 Requires: %{name} = %{version}-%{release}
130 This plugin collectd data provided by Apache's `mod_status'.
132 %description apache -l pl.UTF-8
133 Wtyczka collectd zbierająca informacje udostępniane przez moduł
137 Summary: APC UPS plugin for collectd
138 Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd
140 Requires: %{name} = %{version}-%{release}
143 APC UPS plugin for collectd.
146 Summary: ascent-plugin for collectd
147 Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
149 Requires: %{name} = %{version}-%{release}
152 ascent plugin for collectd.
155 Summary: battery plugin for collectd
156 Summary(pl_PL.UTF-8): Wtyczka battery dla collectd
158 Requires: %{name} = %{version}-%{release}
161 This plugin collects the battery's charge, the drawn current and the
165 Summary: bind plugin for collectd
166 Summary(pl_PL.UTF-8): Wtyczka bind dla collectd
168 Requires: %{name} = %{version}-%{release}
171 Starting with BIND 9.5.0, the most widely used DNS server software provides
172 extensive statistics about queries, responses and lots of other information.
173 The bind plugin retrieves this information that's encoded in XML and provided
174 via HTTP and submits the values to collectd.
177 Summary: Web script for collectd
178 Summary(pl_PL.UTF-8): Web script for collectd
179 Group: Applications/WWW
180 Requires: %{name} = %{version}-%{release}
182 Requires: perl(Data::Dumper)
183 Requires: perl(HTML::Entities)
185 Requires: perl(URI::Escape)
186 Requires: webserver(cgi)
187 Suggests: fonts-TTF-DejaVu
189 %description collection
190 Web script for collectd.
193 Summary: conntrack-plugin for collectd
194 Summary(pl_PL.UTF-8): Wtyczka conntrack dla collectd
196 Requires: %{name} = %{version}-%{release}
198 %description conntrack
199 The conntrack-plugin collects the connection tracking table size.
202 Summary: cpu-plugin for collectd
203 Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
205 Requires: %{name} = %{version}-%{release}
208 The cpu-plugin collects the amount of time spent by the CPU in various states,
209 most notably executing user code, executing system code, waiting for IO
210 operations and being idle.
213 Summary: cpufreq-plugin for collectd
214 Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
216 Requires: %{name} = %{version}-%{release}
219 Collects the current CPU's frequency, mostly for mobile computers.
222 Summary: CSV output plugin for collectd
223 Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
225 Requires: %{name} = %{version}-%{release}
228 CSV output plugin for collectd.
231 Summary: cURL output plugin for collectd
232 Summary(pl_PL.UTF-8): Wtyczka wyjściowa cURL dla collectd
234 Requires: %{name} = %{version}-%{release}
237 The curl plugin uses the libcurl to read web pages and the match
238 infrastructure (the same code used by the tail plugin) to use regular
239 expressions with the received data.
242 Summary: dbi plugin for collectd
243 Summary(pl_PL.UTF-8): Wtyczka dbi dla collectd
245 Requires: %{name} = %{version}-%{release}
248 This plugin uses the dbi library to connect to various databases, execute
249 SQL statements and read back the results. dbi is an acronym for "database
250 interface" in case you were wondering about the name. You can configure how
251 each column is to be interpreted and the plugin will generate one or more
252 data sets from each row returned according to these rules.
255 Summary: df-plugin for collectd
256 Summary(pl_PL.UTF-8): Wtyczka df dla collectd
258 Requires: %{name} = %{version}-%{release}
261 The df-plugin collects file system usage information, i. e. basically how
262 much space on a mounted partition is used and how much is available. It's
263 named after and very similar to the df(1) UNIX command that's been around
267 Summary: disk-plugin for collectd
268 Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
270 Requires: %{name} = %{version}-%{release}
273 This plugin collects performance statistics of harddisks and, where
274 supported, partitions.
277 Summary: dns-plugin for collectd
278 Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
280 Requires: %{name} = %{version}-%{release}
281 Requires: perl-rrdtool
284 This plugin has a similar functionality to dnstop: It uses libpcap to get
285 a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
286 the packets and collects statistics of your DNS traffic.
289 Summary: email-plugin for collectd
290 Summary(pl_PL.UTF-8): Wtyczka email dla collectd
292 Requires: %{name} = %{version}-%{release}
295 The email plugin opens an UNIX-socket over which one can submit email
296 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
297 received/handled, spam scores and matched spam checks.
299 This plugin is intended to be used with the the
300 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
301 included in contrib/, but is of course not limited to that use.
304 Summary: entropy-plugin for collectd
305 Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
307 Requires: %{name} = %{version}-%{release}
310 entropy plugin for collectd.
313 Summary: exec-plugin for collectd
314 Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
316 Requires: %{name} = %{version}-%{release}
319 The exec plugin forks of an executable either to receive values or to
320 dispatch notifications to the outside world.
323 Summary: filecount-plugin for collectd
324 Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
326 Requires: %{name} = %{version}-%{release}
328 %description filecount
329 The filecount-plugin does something very simple: Count the number of files
330 in a directory and all its subdirectories. This can be used for a variety of
331 statistics, for example the queue length of an MTA, the number of PHP
332 sessions of a web server or simply the number of files in your home
336 Summary: fscache-plugin for collectd
337 Summary(pl_PL.UTF-8): Wtyczka fscache dla collectd
339 Requires: %{name} = %{version}-%{release}
342 The fscache-plugin collects statistics about Linux file-system based caching
346 Summary: hddtemp-plugin for collectd
347 Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
349 Requires: %{name} = %{version}-%{release}
350 Suggests: hddtemp-hddtempd
353 Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
354 queried by the external hddtemp-daemon.
357 Summary: interface-plugin for collectd
358 Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
360 Requires: %{name} = %{version}-%{release}
362 %description interface
363 The interface-plugin collects information about the traffic (octets), packets
364 and errors of interfaces.
367 Summary: iptables-plugin for collectd
368 Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
370 Requires: %{name} = %{version}-%{release}
372 %description iptables
373 With this plugin you can gather statistics from your ip_tables based
374 packetfilter (aka. firewall). It can collect the byte- and packet-counters
375 of selected rules and submit them to collectd. You can select rules that
376 should be collected wither by its position (e.g. "the fourth rule in the
377 INPUT queue in the filter table") or by its comment (using the COMMENT
378 match). This means that depending on your firewall layout you can collect
379 certain services (such as the amount of web-traffic), source or destination
380 hosts or networks, dropped packets and much more.
383 Summary: ipmi-plugin for collectd
384 Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
386 Requires: %{name} = %{version}-%{release}
389 ipmi plugin for collectd.
391 %description ipmi -l pl.UTF-8
392 Wtyczka ipmi dla collectd.
395 Summary: IRQs-plugin for collectd
396 Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
398 Requires: %{name} = %{version}-%{release}
401 IRQs plugin for collectd.
404 Summary: load-plugin for collectd
405 Summary(pl_PL.UTF-8): Wtyczka load dla collectd
407 Requires: %{name} = %{version}-%{release}
410 Collects the system load. These numbers give a rough overview over the
411 utilization of a machine, though their meaning is mostly overrated.
414 Summary: logfile-plugin for collectd
415 Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
417 Requires: %{name} = %{version}-%{release}
420 Logfile plugin for collectd.
423 Summary: match_regex plugin for collectd
424 Summary(pl_PL.UTF-8): Wtyczka match_regex dla collectd
426 Requires: %{name} = %{version}-%{release}
428 %description match_regex
429 match_regex plugin for collectd.
431 %package match_timediff
432 Summary: match_timediff plugin for collectd
433 Summary(pl_PL.UTF-8): Wtyczka match_timediff dla collectd
435 Requires: %{name} = %{version}-%{release}
437 %description match_timediff
438 match_timediff plugin for collectd.
441 Summary: match_value plugin for collectd
442 Summary(pl_PL.UTF-8): Wtyczka match_value dla collectd
444 Requires: %{name} = %{version}-%{release}
446 %description match_value
447 match_value plugin for collectd.
450 Summary: mbmon plugin for collectd
451 Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
453 Requires: %{name} = %{version}-%{release}
456 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
459 Summary: memcached-plugin for collectd
460 Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
462 Requires: %{name} = %{version}-%{release}
464 %description memcached
465 The memcached plugin connects to a memcached daemon and collects the number
466 of connections and requests handled by the daemon, the CPU resources consumed,
467 number of items cached, number of threads, and bytes sent and received.
470 Summary: memory-plugin for collectd
471 Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
473 Requires: %{name} = %{version}-%{release}
476 Collects physical memory utilization for collectd.
479 Summary: multimeter-plugin for collectd
480 Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
482 Requires: %{name} = %{version}-%{release}
484 %description multimeter
485 Multimeter plugin for collectd.
488 Summary: mysql-plugin for collectd
489 Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
491 Requires: %{name} = %{version}-%{release}
492 Requires: mysql-client
495 MySQL querying plugin. This plugins provides data of issued commands,
496 called handlers and database traffic.
498 %description mysql -l pl.UTF-8
499 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
500 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
503 Summary: netlink-plugin for collectd
504 Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
506 Requires: %{name} = %{version}-%{release}
509 This plugin will open a netlink socket to the Linux kernel and use it to get
510 statistics for interfaces, qdiscs, classes, and, if you can make use of it,
511 filters. Since in most setups many of the statistics this plugin can collect
512 aren't of interest, you can select which information to gather using the
516 Summary: network-plugin for collectd
517 Summary(pl_PL.UTF-8): Wtyczka network dla collectd
519 Requires: %{name} = %{version}-%{release}
522 nginx plugin for collectd.
525 Summary: NFS-plugin for collectd
526 Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
528 Requires: %{name} = %{version}-%{release}
531 The nfs plugin counts the number of procedure calls of the different NFS
535 Summary: nginx-plugin for collectd
536 Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
538 Requires: %{name} = %{version}-%{release}
541 This plugin collects the number of connections and requests handled by the
542 nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
543 the ngx_http_stub_status_module module, which isn't compiled by default.
545 %package notify_desktop
546 Summary: notify_desktop for collectd
547 Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
549 Requires: %{name} = %{version}-%{release}
551 %description notify_desktop
552 This plugin sends a desktop notification to a notification daemon, as
553 defined in the Desktop Notification Specification. To actually display the
554 notifications, notification-daemon is required and collectd has to be able
555 to access the X server.
557 %package notify_email
558 Summary: notify_email-plugin for collectd
559 Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
561 Requires: %{name} = %{version}-%{release}
563 %description notify_email
564 notify_email plugin for collectd.
567 Summary: ntpd-plugin for collectd
568 Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
570 Requires: %{name} = %{version}-%{release}
573 NTPd plugin for collectd.
576 Summary: nut-plugin for collectd
577 Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
579 Requires: %{name} = %{version}-%{release}
582 UPS statistics using the Network UPS Tools. These statistics include
583 basically everything NUT will give us, including voltages, currents, power,
584 frequencies, load, and temperatures.
587 Summary: openvpn plugin for collectd
588 Summary(pl_PL.UTF-8): Wtyczka openvpn dla collectd
590 Requires: %{name} = %{version}-%{release}
594 The OpenVPN plugin reads a status file maintained by OpenVPN and gathers
595 traffic statistics about connected clients.
598 Summary: ping-plugin for collectd
599 Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
601 Requires: %{name} = %{version}-%{release}
604 The network latency is measured as a roundtrip time. An ICMP-echo-request
605 (aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
606 "pong") to arrive is measured. If a reply is not received within one second
607 the plugin will no longer expect a reply and return. This may happen in
608 several circumstances, e. g. the packet is lost, the host is down, a router
609 has dismissed the packet, etc.
612 Summary: mysql-plugin for collectd
613 Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
615 Requires: %{name} = %{version}-%{release}
617 %description postgresql
618 The postgresql plugin queries statistics from PostgreSQL databases. It keeps
619 a persistent connection to all configured databases and tries to reconnect
620 if the connection has been interrupted.
623 Summary: powerdns-plugin for collectd
624 Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
626 Requires: %{name} = %{version}-%{release}
628 %description powerdns
629 The powerdns plugin queries statistics from an authoritative PowerDNS
630 nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
631 values, many of which are probably meaningless to most users, but may be
635 Summary: processes-plugin for collectd
636 Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
638 Requires: %{name} = %{version}-%{release}
640 %description processes
641 This plugin collects the number of processes, grouped by their state (e.g.
642 running, sleeping, zombies, etc.). In addition to that, it can select
643 detailed statistics about selected processes, grouped by name.
646 Summary: protocols-plugin for collectd
647 Summary(pl_PL.UTF-8): Wtyczka protocols dla collectd
649 Requires: %{name} = %{version}-%{release}
651 %description protocols
652 The protocols-plugin provides information about network protocols, such as
656 Summary: rrdtool-plugin for collectd
657 Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
659 Requires: %{name} = %{version}-%{release}
663 RRDTOOL plugin for collectd.
666 Summary: sensors-plugin for collectd
667 Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
669 Requires: %{name} = %{version}-%{release}
672 This plugin uses lm-sensors to read hardware sensors. You will need to
673 configure lm-sensors before this plugin will collect any usefull and correct
677 Summary: serial-plugin for collectd
678 Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
680 Requires: %{name} = %{version}-%{release}
683 Serial plugin for collectd.
686 Summary: snmp-plugin for collectd
687 Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
689 Requires: %{name} = %{version}-%{release}
692 The snmp plugin queries other hosts using SNMP, the Simple Network
693 Management Protocol, and translates the value it receives to collectd's
694 internal format and dispatches them. Depending on the write plugins you have
695 loaded they may be written to disk or submitted to another instance or
696 whatever you configured.
699 Summary: swap-plugin for collectd
700 Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
702 Requires: %{name} = %{version}-%{release}
705 Swap space plugin for collectd.
708 Summary: syslog-plugin for collectd
709 Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
711 Requires: %{name} = %{version}-%{release}
714 Syslog plugin for collectd.
717 Summary: table-plugin for collectd
718 Summary(pl_PL.UTF-8): Wtyczka table dla collectd
720 Requires: %{name} = %{version}-%{release}
723 The table-plugin provides parsing for table-like structured files,
724 such as many files beneath /proc.
726 %package target_notification
727 Summary: target_notification-plugin for collectd
728 Summary(pl_PL.UTF-8): Wtyczka target_notification dla collectd
730 Requires: %{name} = %{version}-%{release}
732 %description target_notification
733 target_notification plugin for collectd.
735 %package target_replace
736 Summary: target_replace-plugin for collectd
737 Summary(pl_PL.UTF-8): Wtyczka target_replace dla collectd
739 Requires: %{name} = %{version}-%{release}
741 %description target_replace
742 target_replace plugin for collectd.
745 Summary: target_set-plugin for collectd
746 Summary(pl_PL.UTF-8): Wtyczka target_set dla collectd
748 Requires: %{name} = %{version}-%{release}
750 %description target_set
751 target_set plugin for collectd.
754 Summary: tail-plugin for collectd
755 Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
757 Requires: %{name} = %{version}-%{release}
760 The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
761 does. Each line is given to one or more "matches" which test if the line is
762 relevant for any statistics using a regular expression.
765 Summary: tcpconns-plugin for collectd
766 Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
768 Requires: %{name} = %{version}-%{release}
770 %description tcpconns
771 The tcpconns-plugin counts the number of TCP connections to or from a
772 specified port. Typically the connectioins where you specify the local port
773 are incoming connections while the connections where you specify the remote
774 port are outgoing connections.
777 Summary: teamspeak2-plugin for collectd
778 Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
780 Requires: %{name} = %{version}-%{release}
782 %description teamspeak2
783 The teamspeak2 plugin connects to the query port of a teamspeak2 server and
784 polls interesting global and virtual server data. The plugin can query only
785 one physical server but unlimited virtual servers.
788 Summary: ted-plugin for collectd
789 Summary(pl_PL.UTF-8): Wtyczka ted dla collectd
791 Requires: %{name} = %{version}-%{release}
794 The TED-plugin reads power consumption measurements from “The Energy Detective”
798 Summary: thermal-plugin for collectd
799 Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
801 Requires: %{name} = %{version}-%{release}
804 Thermal plugin for collectd.
807 Summary: unixsock-plugin for collectd
808 Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
810 Requires: %{name} = %{version}-%{release}
812 %description unixsock
813 The unixsock plugin opens an UNIX-socket over which one can interact with
814 the daemon. This can be used to use the values collected by collectd in
815 other applications, such as monitoring, or submit externally collected
819 Summary: uptime-plugin for collectd
820 Summary(pl_PL.UTF-8): Wtyczka uptime dla collectd
822 Requires: %{name} = %{version}-%{release}
825 The uptime-plugin can collect the server's uptime.
828 Summary: users-plugin for collectd
829 Summary(pl_PL.UTF-8): Wtyczka users dla collectd
831 Requires: %{name} = %{version}-%{release}
834 Number of users currently logged in.
837 Summary: uuid-plugin for collectd
838 Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
840 Requires: %{name} = %{version}-%{release}
843 This plugin, if loaded, causes the Hostname to be taken from the machine's
844 UUID. The UUID is a universally unique designation for the machine, usually
845 taken from the machine's BIOS. This is most useful if the machine is
846 running in a virtual environment such as Xen, in which case the UUID is
847 preserved across shutdowns and migration.
850 Summary: vmem-plugin for collectd
851 Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
853 Requires: %{name} = %{version}-%{release}
856 The vmem plugin collects information about the usage of virtual memory.
857 Since the statistics provided by the Linux kernel are very detailed, they
858 are collected very detailed.
861 Summary: vserver-plugin for collectd
862 Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
864 Requires: %{name} = %{version}-%{release}
867 Collects information about the virtual servers running on a system, using
871 Summary: wireless-plugin for collectd
872 Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
874 Requires: %{name} = %{version}-%{release}
876 %description wireless
877 Wireless plugin for collectd.
880 Summary: xmms-plugin for collectd
881 Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
883 Requires: %{name} = %{version}-%{release}
886 This plugin collectd data provided by XMMS.
901 --with-libstatgrab=/usr \
902 --with-lm-sensors=/usr \
903 --with-libmysql=/usr \
904 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
905 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
906 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
907 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
908 --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
909 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
910 --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
911 --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
912 --%{?with_ups:en}%{!?with_ups:dis}able-nut \
913 --%{?with_ping:en}%{!?with_ping:dis}able-ping \
914 --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
915 --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
916 --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
917 --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
918 --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
919 %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
920 %{!?with_xml:--disable-{ascent,bind,libvirt}} \
926 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
927 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
928 BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
931 rm -rf $RPM_BUILD_ROOT
932 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
933 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
936 DESTDIR=$RPM_BUILD_ROOT
938 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
939 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
942 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
943 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
944 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
945 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
946 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
948 ### Configs instalation ###
949 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
950 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
951 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
954 # Example config in sources: src/collectd.conf
955 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
957 # Overwrite only files which we want to change:
958 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
959 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
962 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
965 rm -rf $RPM_BUILD_ROOT
968 /sbin/chkconfig --add %{name}
969 %service %{name} restart
972 if [ "$1" = "0" ]; then
973 %service -q %{name} stop
974 /sbin/chkconfig --del %{name}
977 %post libs -p /sbin/ldconfig
978 %postun libs -p /sbin/ldconfig
980 %define module_scripts() \
982 %service %{name} restart \
985 %service %{name} restart
987 %module_scripts apache
988 %module_scripts apcups
989 %module_scripts ascent
990 %module_scripts battery
992 %module_scripts conntrack
994 %module_scripts cpufreq
1001 %module_scripts email
1002 %module_scripts entropy
1003 %module_scripts exec
1004 %module_scripts filecount
1005 %module_scripts fscache
1006 %module_scripts hddtemp
1007 %module_scripts interface
1008 %module_scripts ipmi
1009 %module_scripts iptables
1011 %module_scripts load
1012 %module_scripts logfile
1013 %module_scripts match_regex
1014 %module_scripts match_timediff
1015 %module_scripts match_value
1016 %module_scripts mbmon
1017 %module_scripts memcached
1018 %module_scripts memory
1019 %module_scripts multimeter
1020 %module_scripts mysql
1021 %module_scripts netlink
1022 %module_scripts network
1024 %module_scripts nginx
1025 %module_scripts notify_desktop
1026 %module_scripts notify_email
1027 %module_scripts ntpd
1029 %module_scripts openvpn
1030 %module_scripts ping
1031 %module_scripts postgresql
1032 %module_scripts powerdns
1033 %module_scripts processes
1034 %module_scripts protocols
1035 %module_scripts rrdtool
1036 %module_scripts sensors
1037 %module_scripts serial
1038 %module_scripts snmp
1039 %module_scripts swap
1040 %module_scripts syslog
1041 %module_scripts table
1042 %module_scripts tail
1043 %module_scripts target_notification
1044 %module_scripts target_replace
1045 %module_scripts target_set
1046 %module_scripts tcpconns
1047 %module_scripts teamspeak2
1049 %module_scripts thermal
1050 %module_scripts unixsock
1051 %module_scripts uptime
1052 %module_scripts users
1053 %module_scripts uuid
1054 %module_scripts vmem
1055 %module_scripts vserver
1056 %module_scripts wireless
1057 %module_scripts xmms
1059 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1060 %webapp_register apache %{_webapp}
1062 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1063 %webapp_unregister apache %{_webapp}
1065 %triggerin collection -- apache < 2.2.0, apache-base
1066 %webapp_register httpd %{_webapp}
1068 %triggerun collection -- apache < 2.2.0, apache-base
1069 %webapp_unregister httpd %{_webapp}
1071 %triggerin collection -- lighttpd
1072 %webapp_register lighttpd %{_webapp}
1074 %triggerun collection -- lighttpd
1075 %webapp_unregister lighttpd %{_webapp}
1078 %defattr(644,root,root,755)
1079 %doc AUTHORS ChangeLog README TODO contrib
1080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1081 %dir %{_sysconfdir}/%{name}.d
1082 %attr(755,root,root) %{_sbindir}/collectd
1083 %attr(755,root,root) %{_sbindir}/collectdmon
1084 %attr(755,root,root) %{_bindir}/collectd-nagios
1085 %dir %{_datadir}/%{name}
1086 %{_datadir}/%{name}/types.db
1087 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1088 %{_mandir}/man1/collectd.1*
1089 %{_mandir}/man1/collectd-nagios.1*
1090 %{_mandir}/man5/collectd.conf.5*
1091 %{_mandir}/man5/collectd-perl.5*
1092 %{_mandir}/man1/collectdmon.1*
1093 %{_mandir}/man5/types.db.5*
1094 %dir %{_var}/lib/%{name}
1097 %defattr(644,root,root,755)
1098 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1099 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1100 %dir %{_libdir}/%{name}
1103 %defattr(644,root,root,755)
1104 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1105 %{_libdir}/libcollectdclient.la
1106 %dir %{_includedir}/%{name}
1107 %{_includedir}/%{name}/*.h
1108 %{_pkgconfigdir}/libcollectdclient.pc
1111 %defattr(644,root,root,755)
1113 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1114 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1115 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1116 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1118 %dir %{_appdir}/cgi-bin
1119 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1125 %defattr(640,root,root,755)
1126 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1127 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1132 %defattr(644,root,root,755)
1133 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1134 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1138 %defattr(640,root,root,755)
1139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1140 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1144 %defattr(644,root,root,755)
1145 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1146 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1151 %defattr(644,root,root,755)
1152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1153 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1158 %defattr(644,root,root,755)
1159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1160 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1163 %defattr(644,root,root,755)
1164 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1165 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1168 %defattr(644,root,root,755)
1169 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1170 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1173 %defattr(644,root,root,755)
1174 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1175 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1179 %defattr(640,root,root,755)
1180 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1181 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1185 %defattr(640,root,root,755)
1186 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1187 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1190 %defattr(644,root,root,755)
1191 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1192 %attr(755,root,root) %{_libdir}/%{name}/df.so
1195 %defattr(644,root,root,755)
1196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1197 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1201 %defattr(644,root,root,755)
1202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1203 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1207 %defattr(644,root,root,755)
1208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1209 %attr(755,root,root) %{_libdir}/%{name}/email.so
1210 %{_mandir}/man5/collectd-email.5*
1213 %defattr(644,root,root,755)
1214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1215 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1218 %defattr(644,root,root,755)
1219 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1220 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1221 %{_mandir}/man5/collectd-exec.5*
1224 %defattr(644,root,root,755)
1225 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1226 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1229 %defattr(644,root,root,755)
1230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1231 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1234 %defattr(644,root,root,755)
1235 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1236 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1239 %defattr(644,root,root,755)
1240 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1241 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1245 %defattr(644,root,root,755)
1246 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1247 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1250 %if %{with iptables}
1252 %defattr(644,root,root,755)
1253 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1254 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1258 %defattr(644,root,root,755)
1259 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1260 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1263 %defattr(644,root,root,755)
1264 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1265 %attr(755,root,root) %{_libdir}/%{name}/load.so
1268 %defattr(644,root,root,755)
1269 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1270 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1271 %{_var}/log/collectd.log
1274 %defattr(644,root,root,755)
1275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1276 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1278 %files match_timediff
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1283 %defattr(644,root,root,755)
1284 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1285 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1288 %defattr(644,root,root,755)
1289 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1290 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1293 %defattr(644,root,root,755)
1294 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1295 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1298 %defattr(644,root,root,755)
1299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1300 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1302 %if %{with multimeter}
1304 %defattr(644,root,root,755)
1305 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1306 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1311 %defattr(640,root,root,755)
1312 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1313 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1318 %defattr(644,root,root,755)
1319 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1320 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1324 %defattr(644,root,root,755)
1325 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1326 %attr(755,root,root) %{_libdir}/%{name}/network.so
1329 %defattr(644,root,root,755)
1330 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1331 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1335 %defattr(640,root,root,755)
1336 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1337 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1341 %files notify_desktop
1342 %defattr(644,root,root,755)
1343 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1344 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1347 %if %{with libesmtp}
1349 %defattr(640,root,root,755)
1350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1351 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1355 %defattr(644,root,root,755)
1356 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1357 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1361 %defattr(644,root,root,755)
1362 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1363 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1367 %defattr(644,root,root,755)
1368 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1369 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1373 %defattr(644,root,root,755)
1374 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1375 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1380 %defattr(640,root,root,755)
1381 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1382 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1383 %{_datadir}/%{name}/postgresql_default.conf
1387 %defattr(644,root,root,755)
1388 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1389 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1392 %defattr(644,root,root,755)
1393 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1394 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1397 %defattr(644,root,root,755)
1398 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1399 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1403 %defattr(644,root,root,755)
1404 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1405 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1410 %defattr(644,root,root,755)
1411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1412 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1416 %defattr(644,root,root,755)
1417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1418 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1422 %defattr(644,root,root,755)
1423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1424 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1425 %{_mandir}/man5/collectd-snmp.5*
1429 %defattr(644,root,root,755)
1430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1431 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1434 %defattr(644,root,root,755)
1435 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1436 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1439 %defattr(644,root,root,755)
1440 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1441 %attr(755,root,root) %{_libdir}/%{name}/table.so
1444 %defattr(644,root,root,755)
1445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1446 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1448 %files target_notification
1449 %defattr(644,root,root,755)
1450 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1451 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1453 %files target_replace
1454 %defattr(644,root,root,755)
1455 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1456 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1459 %defattr(644,root,root,755)
1460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1461 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1464 %defattr(644,root,root,755)
1465 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1466 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1469 %defattr(644,root,root,755)
1470 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1471 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1474 %defattr(644,root,root,755)
1475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1476 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1479 %defattr(644,root,root,755)
1480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1481 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1484 %defattr(644,root,root,755)
1485 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1486 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1487 %{_mandir}/man5/collectd-unixsock.5*
1490 %defattr(644,root,root,755)
1491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1492 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1495 %defattr(644,root,root,755)
1496 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1497 %attr(755,root,root) %{_libdir}/%{name}/users.so
1500 %defattr(644,root,root,755)
1501 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1502 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1505 %defattr(644,root,root,755)
1506 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1507 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1510 %defattr(644,root,root,755)
1511 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1512 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1515 %defattr(644,root,root,755)
1516 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1517 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1521 %defattr(644,root,root,755)
1522 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1523 %attr(755,root,root) %{_libdir}/%{name}/xmms.so