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
26 Summary: Collects system information in RRD files
27 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
33 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
34 # Source0-md5: 20e95914219a32bfd51d01333dbb7c01
37 Source3: %{name}-http.conf
38 Source4: %{name}-lighttpd.conf
39 Source10: %{name}-df.conf
40 Source11: %{name}-rrdtool.conf
41 Patch0: %{name}-collection.patch
42 Patch1: %{name}-as_needed.patch
43 URL: http://collectd.org/
44 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
45 BuildRequires: autoconf
46 BuildRequires: automake
47 %{?with_curl:BuildRequires: curl-devel}
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: libstdc++-devel
59 BuildRequires: libtool
60 %{?with_xml:BuildRequires: libxml2-devel}
61 %{?with_sensors:BuildRequires: lm_sensors-devel}
62 %{?with_mysql:BuildRequires: mysql-devel}
63 %{?with_snmp:BuildRequires: net-snmp-devel}
64 %{?with_ups:BuildRequires: nut-devel}
65 BuildRequires: perl-devel
66 %{?with_psql:BuildRequires: postgresql-devel}
67 BuildRequires: rpmbuild(macros) >= 1.268
68 %{?with_rrd:BuildRequires: rrdtool-devel}
69 %{?with_xmms:BuildRequires: xmms-devel}
70 Requires(post,preun): /sbin/chkconfig
72 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
74 %define _pkglibdir %{_sharedstatedir}/%{name}
75 %define _webapps /etc/webapps
76 %define _webapp %{name}
77 %define _webappdir %{_webapps}/%{_webapp}
78 %define _appdir %{_datadir}/%{_webapp}
81 collectd is a small daemon which collects system information every 10
82 seconds and writes the results in an RRD-file.
84 In contrast to most similar software, collectd is not a script but
85 written in plain C for performance and portability. As a daemon it
86 stays in memory, so there is no need to start up a heavy interpreter
87 every time new values should be logged. This allows collectd to have a
88 10 second resolution while being nice to the system.
90 %description -l pl.UTF-8
91 collectd to mały demon zbierający co 10 sekund informacje o systemie i
92 zapisujący wyniki do pliku RRD.
94 W odróżnieniu od innych podobnych programów collectd nie jest
95 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
96 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
97 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
98 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
99 sekund i nie obciążać zbytnio systemu.
102 Summary: %{name} libraries
103 Summary(pl.UTF-8): Biblioteki %{name}
109 %description libs -l pl.UTF-8
113 Summary: Header files for %{name} libraries
114 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
115 Group: Development/Libraries
116 Requires: %{name}-libs = %{version}-%{release}
119 Header files for %{name} libraries.
121 %description devel -l pl.UTF-8
122 Pliki nagłówkowe bibliotek %{name}.
125 Summary: Static files for %{name} libraries
126 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
127 Group: Development/Libraries
128 Requires: %{name}-libs = %{version}-%{release}
131 Static files for %{name} libraries.
133 %description static -l pl.UTF-8
134 Pliki statyczne bibliotek %{name}.
137 Summary: apache-plugin for collectd
138 Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
140 Requires: %{name} = %{version}-%{release}
143 This plugin collect data provided by Apache's `mod_status'.
145 %description apache -l pl.UTF-8
146 Wtyczka collectd zbierająca informacje udostępniane przez moduł
150 Summary: APC UPS plugin for collectd
151 Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd
153 Requires: %{name} = %{version}-%{release}
156 APC UPS plugin for collectd.
159 Summary: ascent-plugin for collectd
160 Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
162 Requires: %{name} = %{version}-%{release}
165 ascent plugin for collectd.
168 Summary: battery plugin for collectd
169 Summary(pl_PL.UTF-8): Wtyczka battery dla collectd
171 Requires: %{name} = %{version}-%{release}
174 This plugin collects the battery's charge, the drawn current and the
178 Summary: bind plugin for collectd
179 Summary(pl_PL.UTF-8): Wtyczka bind dla collectd
181 Requires: %{name} = %{version}-%{release}
184 Starting with BIND 9.5.0, the most widely used DNS server software
185 provides extensive statistics about queries, responses and lots of
186 other information. The bind plugin retrieves this information that's
187 encoded in XML and provided via HTTP and submits the values to
191 Summary: Web script for collectd
192 Summary(pl_PL.UTF-8): Web script for collectd
193 Group: Applications/WWW
194 Requires: %{name} = %{version}-%{release}
196 Requires: perl(Data::Dumper)
197 Requires: perl(HTML::Entities)
199 Requires: perl(URI::Escape)
200 Requires: webserver(cgi)
201 Suggests: fonts-TTF-DejaVu
203 %description collection
204 Web script for collectd.
207 Summary: conntrack-plugin for collectd
208 Summary(pl_PL.UTF-8): Wtyczka conntrack dla collectd
210 Requires: %{name} = %{version}-%{release}
212 %description conntrack
213 The conntrack-plugin collects the connection tracking table size.
216 Summary: cpu-plugin for collectd
217 Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
219 Requires: %{name} = %{version}-%{release}
222 The cpu-plugin collects the amount of time spent by the CPU in various
223 states, most notably executing user code, executing system code,
224 waiting for IO operations and being idle.
227 Summary: cpufreq-plugin for collectd
228 Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
230 Requires: %{name} = %{version}-%{release}
233 Collects the current CPU's frequency, mostly for mobile computers.
236 Summary: CSV output plugin for collectd
237 Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
239 Requires: %{name} = %{version}-%{release}
242 CSV output plugin for collectd.
245 Summary: cURL output plugin for collectd
246 Summary(pl_PL.UTF-8): Wtyczka wyjściowa cURL dla collectd
248 Requires: %{name} = %{version}-%{release}
251 The curl plugin uses the libcurl to read web pages and the match
252 infrastructure (the same code used by the tail plugin) to use regular
253 expressions with the received data.
256 Summary: dbi plugin for collectd
257 Summary(pl_PL.UTF-8): Wtyczka dbi dla collectd
259 Requires: %{name} = %{version}-%{release}
262 This plugin uses the dbi library to connect to various databases,
263 execute SQL statements and read back the results. dbi is an acronym
264 for "database interface" in case you were wondering about the name.
265 You can configure how each column is to be interpreted and the plugin
266 will generate one or more data sets from each row returned according
270 Summary: df-plugin for collectd
271 Summary(pl_PL.UTF-8): Wtyczka df dla collectd
273 Requires: %{name} = %{version}-%{release}
276 The df-plugin collects file system usage information, i. e. basically
277 how much space on a mounted partition is used and how much is
278 available. It's named after and very similar to the df(1) UNIX command
279 that's been around forever.
282 Summary: disk-plugin for collectd
283 Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
285 Requires: %{name} = %{version}-%{release}
288 This plugin collects performance statistics of harddisks and, where
289 supported, partitions.
292 Summary: dns-plugin for collectd
293 Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
295 Requires: %{name} = %{version}-%{release}
296 Requires: perl-rrdtool
299 This plugin has a similar functionality to dnstop: It uses libpcap to
300 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
301 interprets the packets and collects statistics of your DNS traffic.
304 Summary: email-plugin for collectd
305 Summary(pl_PL.UTF-8): Wtyczka email dla collectd
307 Requires: %{name} = %{version}-%{release}
310 The email plugin opens an UNIX-socket over which one can submit email
311 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
312 mails received/handled, spam scores and matched spam checks.
314 This plugin is intended to be used with the the
315 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
316 is included in contrib/, but is of course not limited to that use.
319 Summary: entropy-plugin for collectd
320 Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
322 Requires: %{name} = %{version}-%{release}
325 entropy plugin for collectd.
328 Summary: exec-plugin for collectd
329 Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
331 Requires: %{name} = %{version}-%{release}
334 The exec plugin forks of an executable either to receive values or to
335 dispatch notifications to the outside world.
338 Summary: filecount-plugin for collectd
339 Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
341 Requires: %{name} = %{version}-%{release}
343 %description filecount
344 The filecount-plugin does something very simple: Count the number of
345 files in a directory and all its subdirectories. This can be used for
346 a variety of statistics, for example the queue length of an MTA, the
347 number of PHP sessions of a web server or simply the number of files
348 in your home directory.
351 Summary: fscache-plugin for collectd
352 Summary(pl_PL.UTF-8): Wtyczka fscache dla collectd
354 Requires: %{name} = %{version}-%{release}
357 The fscache-plugin collects statistics about Linux file-system based
361 Summary: hddtemp-plugin for collectd
362 Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
364 Requires: %{name} = %{version}-%{release}
365 Suggests: hddtemp-hddtempd
368 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
369 and queried by the external hddtemp-daemon.
372 Summary: interface-plugin for collectd
373 Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
375 Requires: %{name} = %{version}-%{release}
377 %description interface
378 The interface-plugin collects information about the traffic (octets),
379 packets and errors of interfaces.
382 Summary: iptables-plugin for collectd
383 Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
385 Requires: %{name} = %{version}-%{release}
387 %description iptables
388 With this plugin you can gather statistics from your ip_tables based
389 packetfilter (aka. firewall). It can collect the byte- and
390 packet-counters of selected rules and submit them to collectd. You can
391 select rules that should be collected wither by its position (e.g.
392 "the fourth rule in the INPUT queue in the filter table") or by its
393 comment (using the COMMENT match). This means that depending on your
394 firewall layout you can collect certain services (such as the amount
395 of web-traffic), source or destination hosts or networks, dropped
396 packets and much more.
399 Summary: ipmi-plugin for collectd
400 Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
402 Requires: %{name} = %{version}-%{release}
405 ipmi plugin for collectd.
407 %description ipmi -l pl.UTF-8
408 Wtyczka ipmi dla collectd.
411 Summary: IRQs-plugin for collectd
412 Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
414 Requires: %{name} = %{version}-%{release}
417 IRQs plugin for collectd.
420 Summary: load-plugin for collectd
421 Summary(pl_PL.UTF-8): Wtyczka load dla collectd
423 Requires: %{name} = %{version}-%{release}
426 Collects the system load. These numbers give a rough overview over the
427 utilization of a machine, though their meaning is mostly overrated.
430 Summary: logfile-plugin for collectd
431 Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
433 Requires: %{name} = %{version}-%{release}
436 Logfile plugin for collectd.
439 Summary: match_regex plugin for collectd
440 Summary(pl_PL.UTF-8): Wtyczka match_regex dla collectd
442 Requires: %{name} = %{version}-%{release}
444 %description match_regex
445 match_regex plugin for collectd.
447 %package match_timediff
448 Summary: match_timediff plugin for collectd
449 Summary(pl_PL.UTF-8): Wtyczka match_timediff dla collectd
451 Requires: %{name} = %{version}-%{release}
453 %description match_timediff
454 match_timediff plugin for collectd.
457 Summary: match_value plugin for collectd
458 Summary(pl_PL.UTF-8): Wtyczka match_value dla collectd
460 Requires: %{name} = %{version}-%{release}
462 %description match_value
463 match_value plugin for collectd.
466 Summary: mbmon plugin for collectd
467 Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
469 Requires: %{name} = %{version}-%{release}
472 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
475 Summary: memcached-plugin for collectd
476 Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
478 Requires: %{name} = %{version}-%{release}
480 %description memcached
481 The memcached plugin connects to a memcached daemon and collects the
482 number of connections and requests handled by the daemon, the CPU
483 resources consumed, number of items cached, number of threads, and
484 bytes sent and received.
487 Summary: memory-plugin for collectd
488 Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
490 Requires: %{name} = %{version}-%{release}
493 Collects physical memory utilization for collectd.
496 Summary: multimeter-plugin for collectd
497 Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
499 Requires: %{name} = %{version}-%{release}
501 %description multimeter
502 Multimeter plugin for collectd.
505 Summary: mysql-plugin for collectd
506 Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
508 Requires: %{name} = %{version}-%{release}
509 Requires: mysql-client
512 MySQL querying plugin. This plugins provides data of issued commands,
513 called handlers and database traffic.
515 %description mysql -l pl.UTF-8
516 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
517 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
520 Summary: netlink-plugin for collectd
521 Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
523 Requires: %{name} = %{version}-%{release}
526 This plugin will open a netlink socket to the Linux kernel and use it
527 to get statistics for interfaces, qdiscs, classes, and, if you can
528 make use of it, filters. Since in most setups many of the statistics
529 this plugin can collect aren't of interest, you can select which
530 information to gather using the configuration.
533 Summary: network-plugin for collectd
534 Summary(pl_PL.UTF-8): Wtyczka network dla collectd
536 Requires: %{name} = %{version}-%{release}
539 nginx plugin for collectd.
542 Summary: NFS-plugin for collectd
543 Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
545 Requires: %{name} = %{version}-%{release}
548 The nfs plugin counts the number of procedure calls of the different
552 Summary: nginx-plugin for collectd
553 Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
555 Requires: %{name} = %{version}-%{release}
558 This plugin collects the number of connections and requests handled by
559 the nginx daemon, a HTTP and mail server/proxy. It queries the page
560 provided by the ngx_http_stub_status_module module, which isn't
563 %package notify_desktop
564 Summary: notify_desktop for collectd
565 Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
567 Requires: %{name} = %{version}-%{release}
569 %description notify_desktop
570 This plugin sends a desktop notification to a notification daemon, as
571 defined in the Desktop Notification Specification. To actually display
572 the notifications, notification-daemon is required and collectd has to
573 be able to access the X server.
575 %package notify_email
576 Summary: notify_email-plugin for collectd
577 Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
579 Requires: %{name} = %{version}-%{release}
581 %description notify_email
582 notify_email plugin for collectd.
585 Summary: ntpd-plugin for collectd
586 Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
588 Requires: %{name} = %{version}-%{release}
591 NTPd plugin for collectd.
594 Summary: nut-plugin for collectd
595 Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
597 Requires: %{name} = %{version}-%{release}
600 UPS statistics using the Network UPS Tools. These statistics include
601 basically everything NUT will give us, including voltages, currents,
602 power, frequencies, load, and temperatures.
605 Summary: openvpn plugin for collectd
606 Summary(pl_PL.UTF-8): Wtyczka openvpn dla collectd
608 Requires: %{name} = %{version}-%{release}
612 The OpenVPN plugin reads a status file maintained by OpenVPN and
613 gathers traffic statistics about connected clients.
616 Summary: ping-plugin for collectd
617 Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
619 Requires: %{name} = %{version}-%{release}
620 Requires: liboping >= 1.1.2
623 The network latency is measured as a roundtrip time. An
624 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
625 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
626 not received within one second the plugin will no longer expect a
627 reply and return. This may happen in several circumstances, e. g. the
628 packet is lost, the host is down, a router has dismissed the packet,
632 Summary: mysql-plugin for collectd
633 Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
635 Requires: %{name} = %{version}-%{release}
637 %description postgresql
638 The postgresql plugin queries statistics from PostgreSQL databases. It
639 keeps a persistent connection to all configured databases and tries to
640 reconnect if the connection has been interrupted.
643 Summary: powerdns-plugin for collectd
644 Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
646 Requires: %{name} = %{version}-%{release}
648 %description powerdns
649 The powerdns plugin queries statistics from an authoritative PowerDNS
650 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
651 of values, many of which are probably meaningless to most users, but
652 may be useful for some.
655 Summary: processes-plugin for collectd
656 Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
658 Requires: %{name} = %{version}-%{release}
660 %description processes
661 This plugin collects the number of processes, grouped by their state
662 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
663 select detailed statistics about selected processes, grouped by name.
666 Summary: protocols-plugin for collectd
667 Summary(pl_PL.UTF-8): Wtyczka protocols dla collectd
669 Requires: %{name} = %{version}-%{release}
671 %description protocols
672 The protocols-plugin provides information about network protocols,
673 such as IP, TCP and UDP.
676 Summary: rrdtool-plugin for collectd
677 Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
679 Requires: %{name} = %{version}-%{release}
683 RRDTOOL plugin for collectd.
686 Summary: sensors-plugin for collectd
687 Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
689 Requires: %{name} = %{version}-%{release}
692 This plugin uses lm-sensors to read hardware sensors. You will need to
693 configure lm-sensors before this plugin will collect any usefull and
697 Summary: serial-plugin for collectd
698 Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
700 Requires: %{name} = %{version}-%{release}
703 Serial plugin for collectd.
706 Summary: snmp-plugin for collectd
707 Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
709 Requires: %{name} = %{version}-%{release}
712 The snmp plugin queries other hosts using SNMP, the Simple Network
713 Management Protocol, and translates the value it receives to
714 collectd's internal format and dispatches them. Depending on the write
715 plugins you have loaded they may be written to disk or submitted to
716 another instance or whatever you configured.
719 Summary: swap-plugin for collectd
720 Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
722 Requires: %{name} = %{version}-%{release}
725 Swap space plugin for collectd.
728 Summary: syslog-plugin for collectd
729 Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
731 Requires: %{name} = %{version}-%{release}
734 Syslog plugin for collectd.
737 Summary: table-plugin for collectd
738 Summary(pl_PL.UTF-8): Wtyczka table dla collectd
740 Requires: %{name} = %{version}-%{release}
743 The table-plugin provides parsing for table-like structured files,
744 such as many files beneath /proc.
746 %package target_notification
747 Summary: target_notification-plugin for collectd
748 Summary(pl_PL.UTF-8): Wtyczka target_notification dla collectd
750 Requires: %{name} = %{version}-%{release}
752 %description target_notification
753 target_notification plugin for collectd.
755 %package target_replace
756 Summary: target_replace-plugin for collectd
757 Summary(pl_PL.UTF-8): Wtyczka target_replace dla collectd
759 Requires: %{name} = %{version}-%{release}
761 %description target_replace
762 target_replace plugin for collectd.
765 Summary: target_set-plugin for collectd
766 Summary(pl_PL.UTF-8): Wtyczka target_set dla collectd
768 Requires: %{name} = %{version}-%{release}
770 %description target_set
771 target_set plugin for collectd.
774 Summary: tail-plugin for collectd
775 Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
777 Requires: %{name} = %{version}-%{release}
780 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
781 tail -F does. Each line is given to one or more "matches" which test
782 if the line is relevant for any statistics using a regular expression.
785 Summary: tcpconns-plugin for collectd
786 Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
788 Requires: %{name} = %{version}-%{release}
790 %description tcpconns
791 The tcpconns-plugin counts the number of TCP connections to or from a
792 specified port. Typically the connectioins where you specify the local
793 port are incoming connections while the connections where you specify
794 the remote port are outgoing connections.
797 Summary: teamspeak2-plugin for collectd
798 Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
800 Requires: %{name} = %{version}-%{release}
802 %description teamspeak2
803 The teamspeak2 plugin connects to the query port of a teamspeak2
804 server and polls interesting global and virtual server data. The
805 plugin can query only one physical server but unlimited virtual
809 Summary: ted-plugin for collectd
810 Summary(pl_PL.UTF-8): Wtyczka ted dla collectd
812 Requires: %{name} = %{version}-%{release}
815 The TED-plugin reads power consumption measurements from “The Energy
819 Summary: thermal-plugin for collectd
820 Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
822 Requires: %{name} = %{version}-%{release}
825 Thermal plugin for collectd.
828 Summary: unixsock-plugin for collectd
829 Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
831 Requires: %{name} = %{version}-%{release}
833 %description unixsock
834 The unixsock plugin opens an UNIX-socket over which one can interact
835 with the daemon. This can be used to use the values collected by
836 collectd in other applications, such as monitoring, or submit
837 externally collected values to collectd.
840 Summary: uptime-plugin for collectd
841 Summary(pl_PL.UTF-8): Wtyczka uptime dla collectd
843 Requires: %{name} = %{version}-%{release}
846 The uptime-plugin can collect the server's uptime.
849 Summary: users-plugin for collectd
850 Summary(pl_PL.UTF-8): Wtyczka users dla collectd
852 Requires: %{name} = %{version}-%{release}
855 Number of users currently logged in.
858 Summary: uuid-plugin for collectd
859 Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
861 Requires: %{name} = %{version}-%{release}
864 This plugin, if loaded, causes the Hostname to be taken from the
865 machine's UUID. The UUID is a universally unique designation for the
866 machine, usually taken from the machine's BIOS. This is most useful if
867 the machine is running in a virtual environment such as Xen, in which
868 case the UUID is preserved across shutdowns and migration.
871 Summary: vmem-plugin for collectd
872 Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
874 Requires: %{name} = %{version}-%{release}
877 The vmem plugin collects information about the usage of virtual
878 memory. Since the statistics provided by the Linux kernel are very
879 detailed, they are collected very detailed.
882 Summary: vserver-plugin for collectd
883 Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
885 Requires: %{name} = %{version}-%{release}
888 Collects information about the virtual servers running on a system,
892 Summary: wireless-plugin for collectd
893 Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
895 Requires: %{name} = %{version}-%{release}
897 %description wireless
898 Wireless plugin for collectd.
901 Summary: xmms-plugin for collectd
902 Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
904 Requires: %{name} = %{version}-%{release}
907 This plugin collectd data provided by XMMS.
922 --with-libstatgrab=/usr \
923 --with-lm-sensors=/usr \
924 --with-libmysql=/usr \
925 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
926 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
927 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
928 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
929 --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
930 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
931 --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
932 --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
933 --%{?with_ups:en}%{!?with_ups:dis}able-nut \
934 --%{?with_ping:en}%{!?with_ping:dis}able-ping \
935 --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
936 --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
937 --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
938 --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
939 --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
940 %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
941 %{!?with_xml:--disable-{ascent,bind,libvirt}} \
947 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
948 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
949 BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
952 rm -rf $RPM_BUILD_ROOT
953 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
954 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
957 DESTDIR=$RPM_BUILD_ROOT
959 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
960 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
963 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
964 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
965 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
966 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
967 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
969 ### Configs instalation ###
970 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
971 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
972 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
975 # Example config in sources: src/collectd.conf
976 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
978 # Overwrite only files which we want to change:
979 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
980 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
983 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
986 rm -rf $RPM_BUILD_ROOT
989 /sbin/chkconfig --add %{name}
990 %service %{name} restart
993 if [ "$1" = "0" ]; then
994 %service -q %{name} stop
995 /sbin/chkconfig --del %{name}
998 %post libs -p /sbin/ldconfig
999 %postun libs -p /sbin/ldconfig
1001 %define module_scripts() \
1003 %service %{name} restart \
1006 %service %{name} restart
1008 %module_scripts apache
1009 %module_scripts apcups
1010 %module_scripts ascent
1011 %module_scripts battery
1012 %module_scripts bind
1013 %module_scripts conntrack
1015 %module_scripts cpufreq
1017 %module_scripts curl
1020 %module_scripts disk
1022 %module_scripts email
1023 %module_scripts entropy
1024 %module_scripts exec
1025 %module_scripts filecount
1026 %module_scripts fscache
1027 %module_scripts hddtemp
1028 %module_scripts interface
1029 %module_scripts ipmi
1030 %module_scripts iptables
1032 %module_scripts load
1033 %module_scripts logfile
1034 %module_scripts match_regex
1035 %module_scripts match_timediff
1036 %module_scripts match_value
1037 %module_scripts mbmon
1038 %module_scripts memcached
1039 %module_scripts memory
1040 %module_scripts multimeter
1041 %module_scripts mysql
1042 %module_scripts netlink
1043 %module_scripts network
1045 %module_scripts nginx
1046 %module_scripts notify_desktop
1047 %module_scripts notify_email
1048 %module_scripts ntpd
1050 %module_scripts openvpn
1051 %module_scripts ping
1052 %module_scripts postgresql
1053 %module_scripts powerdns
1054 %module_scripts processes
1055 %module_scripts protocols
1056 %module_scripts rrdtool
1057 %module_scripts sensors
1058 %module_scripts serial
1059 %module_scripts snmp
1060 %module_scripts swap
1061 %module_scripts syslog
1062 %module_scripts table
1063 %module_scripts tail
1064 %module_scripts target_notification
1065 %module_scripts target_replace
1066 %module_scripts target_set
1067 %module_scripts tcpconns
1068 %module_scripts teamspeak2
1070 %module_scripts thermal
1071 %module_scripts unixsock
1072 %module_scripts uptime
1073 %module_scripts users
1074 %module_scripts uuid
1075 %module_scripts vmem
1076 %module_scripts vserver
1077 %module_scripts wireless
1078 %module_scripts xmms
1080 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1081 %webapp_register apache %{_webapp}
1083 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1084 %webapp_unregister apache %{_webapp}
1086 %triggerin collection -- apache < 2.2.0, apache-base
1087 %webapp_register httpd %{_webapp}
1089 %triggerun collection -- apache < 2.2.0, apache-base
1090 %webapp_unregister httpd %{_webapp}
1092 %triggerin collection -- lighttpd
1093 %webapp_register lighttpd %{_webapp}
1095 %triggerun collection -- lighttpd
1096 %webapp_unregister lighttpd %{_webapp}
1099 %defattr(644,root,root,755)
1100 %doc AUTHORS ChangeLog README TODO contrib
1101 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1102 %dir %{_sysconfdir}/%{name}.d
1103 %attr(755,root,root) %{_sbindir}/collectd
1104 %attr(755,root,root) %{_sbindir}/collectdmon
1105 %attr(755,root,root) %{_bindir}/collectd-nagios
1106 %dir %{_datadir}/%{name}
1107 %{_datadir}/%{name}/types.db
1108 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1109 %{_mandir}/man1/collectd.1*
1110 %{_mandir}/man1/collectd-nagios.1*
1111 %{_mandir}/man1/collectdmon.1*
1112 %{_mandir}/man5/collectd.conf.5*
1113 %{_mandir}/man5/collectd-java.5*
1114 %{_mandir}/man5/collectd-perl.5*
1115 %{_mandir}/man5/types.db.5*
1116 %dir %{_var}/lib/%{name}
1119 %defattr(644,root,root,755)
1120 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1121 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1122 %dir %{_libdir}/%{name}
1125 %defattr(644,root,root,755)
1126 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1127 %{_libdir}/libcollectdclient.la
1128 %dir %{_includedir}/%{name}
1129 %{_includedir}/%{name}/*.h
1130 %{_pkgconfigdir}/libcollectdclient.pc
1133 %defattr(644,root,root,755)
1134 %{_libdir}/libcollectdclient.a
1135 %{_libdir}/%{name}/*.a
1138 %defattr(644,root,root,755)
1140 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1141 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1142 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1143 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1145 %dir %{_appdir}/cgi-bin
1146 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1152 %defattr(640,root,root,755)
1153 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1154 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1159 %defattr(644,root,root,755)
1160 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1161 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1165 %defattr(640,root,root,755)
1166 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1167 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1171 %defattr(644,root,root,755)
1172 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1173 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1178 %defattr(644,root,root,755)
1179 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1180 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1185 %defattr(644,root,root,755)
1186 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1187 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1190 %defattr(644,root,root,755)
1191 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1192 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1195 %defattr(644,root,root,755)
1196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1197 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1200 %defattr(644,root,root,755)
1201 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1202 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1206 %defattr(640,root,root,755)
1207 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1208 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1212 %defattr(640,root,root,755)
1213 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1214 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1217 %defattr(644,root,root,755)
1218 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1219 %attr(755,root,root) %{_libdir}/%{name}/df.so
1222 %defattr(644,root,root,755)
1223 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1224 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1228 %defattr(644,root,root,755)
1229 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1230 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1234 %defattr(644,root,root,755)
1235 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1236 %attr(755,root,root) %{_libdir}/%{name}/email.so
1237 %{_mandir}/man5/collectd-email.5*
1240 %defattr(644,root,root,755)
1241 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1242 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1245 %defattr(644,root,root,755)
1246 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1247 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1248 %{_mandir}/man5/collectd-exec.5*
1251 %defattr(644,root,root,755)
1252 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1253 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1256 %defattr(644,root,root,755)
1257 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1258 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1261 %defattr(644,root,root,755)
1262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1263 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1266 %defattr(644,root,root,755)
1267 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1268 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1272 %defattr(644,root,root,755)
1273 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1274 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1277 %if %{with iptables}
1279 %defattr(644,root,root,755)
1280 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1281 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1285 %defattr(644,root,root,755)
1286 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1287 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1290 %defattr(644,root,root,755)
1291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1292 %attr(755,root,root) %{_libdir}/%{name}/load.so
1295 %defattr(644,root,root,755)
1296 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1297 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1298 %{_var}/log/collectd.log
1301 %defattr(644,root,root,755)
1302 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1303 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1305 %files match_timediff
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1308 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1311 %defattr(644,root,root,755)
1312 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1313 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1316 %defattr(644,root,root,755)
1317 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1318 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1321 %defattr(644,root,root,755)
1322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1323 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1326 %defattr(644,root,root,755)
1327 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1328 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1330 %if %{with multimeter}
1332 %defattr(644,root,root,755)
1333 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1334 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1339 %defattr(640,root,root,755)
1340 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1341 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1346 %defattr(644,root,root,755)
1347 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1348 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1352 %defattr(644,root,root,755)
1353 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1354 %attr(755,root,root) %{_libdir}/%{name}/network.so
1357 %defattr(644,root,root,755)
1358 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1359 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1363 %defattr(640,root,root,755)
1364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1365 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1369 %files notify_desktop
1370 %defattr(644,root,root,755)
1371 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1372 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1375 %if %{with libesmtp}
1377 %defattr(640,root,root,755)
1378 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1379 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1383 %defattr(644,root,root,755)
1384 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1385 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1389 %defattr(644,root,root,755)
1390 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1391 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1395 %defattr(644,root,root,755)
1396 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1397 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1401 %defattr(644,root,root,755)
1402 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1403 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1408 %defattr(640,root,root,755)
1409 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1410 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1411 %{_datadir}/%{name}/postgresql_default.conf
1415 %defattr(644,root,root,755)
1416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1417 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1420 %defattr(644,root,root,755)
1421 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1422 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1425 %defattr(644,root,root,755)
1426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1427 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1431 %defattr(644,root,root,755)
1432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1433 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1438 %defattr(644,root,root,755)
1439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1440 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1444 %defattr(644,root,root,755)
1445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1446 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1450 %defattr(644,root,root,755)
1451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1452 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1453 %{_mandir}/man5/collectd-snmp.5*
1457 %defattr(644,root,root,755)
1458 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1459 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1462 %defattr(644,root,root,755)
1463 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1464 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1467 %defattr(644,root,root,755)
1468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1469 %attr(755,root,root) %{_libdir}/%{name}/table.so
1472 %defattr(644,root,root,755)
1473 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1474 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1476 %files target_notification
1477 %defattr(644,root,root,755)
1478 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1479 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1481 %files target_replace
1482 %defattr(644,root,root,755)
1483 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1484 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1487 %defattr(644,root,root,755)
1488 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1489 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1492 %defattr(644,root,root,755)
1493 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1494 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1497 %defattr(644,root,root,755)
1498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1499 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1502 %defattr(644,root,root,755)
1503 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1504 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1507 %defattr(644,root,root,755)
1508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1509 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1512 %defattr(644,root,root,755)
1513 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1514 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1515 %{_mandir}/man5/collectd-unixsock.5*
1518 %defattr(644,root,root,755)
1519 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1520 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1523 %defattr(644,root,root,755)
1524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1525 %attr(755,root,root) %{_libdir}/%{name}/users.so
1528 %defattr(644,root,root,755)
1529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1530 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1533 %defattr(644,root,root,755)
1534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1535 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1538 %defattr(644,root,root,755)
1539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1540 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1543 %defattr(644,root,root,755)
1544 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1545 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1549 %defattr(644,root,root,755)
1550 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1551 %attr(755,root,root) %{_libdir}/%{name}/xmms.so