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
92 i 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
98 być zapisane nowe wartości. Dzięki temu collect może mieć
99 rozdzielczość 10 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: Web script for collectd
208 Summary(pl_PL.UTF-8): Web script for collectd
209 Group: Applications/WWW
210 Requires: %{name} = %{version}-%{release}
211 Requires: perl(Config::General)
212 Requires: perl(HTML::Entities)
214 Requires: webserver(cgi)
215 Suggests: fonts-TTF-DejaVu
217 %description collection3
218 Web script for collectd.
221 Summary: conntrack-plugin for collectd
222 Summary(pl_PL.UTF-8): Wtyczka conntrack dla collectd
224 Requires: %{name} = %{version}-%{release}
226 %description conntrack
227 The conntrack-plugin collects the connection tracking table size.
230 Summary: cpu-plugin for collectd
231 Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
233 Requires: %{name} = %{version}-%{release}
236 The cpu-plugin collects the amount of time spent by the CPU in various
237 states, most notably executing user code, executing system code,
238 waiting for IO operations and being idle.
241 Summary: cpufreq-plugin for collectd
242 Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
244 Requires: %{name} = %{version}-%{release}
247 Collects the current CPU's frequency, mostly for mobile computers.
250 Summary: CSV output plugin for collectd
251 Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
253 Requires: %{name} = %{version}-%{release}
256 CSV output plugin for collectd.
259 Summary: cURL output plugin for collectd
260 Summary(pl_PL.UTF-8): Wtyczka wyjściowa cURL dla collectd
262 Requires: %{name} = %{version}-%{release}
265 The curl plugin uses the libcurl to read web pages and the match
266 infrastructure (the same code used by the tail plugin) to use regular
267 expressions with the received data.
270 Summary: dbi plugin for collectd
271 Summary(pl_PL.UTF-8): Wtyczka dbi dla collectd
273 Requires: %{name} = %{version}-%{release}
276 This plugin uses the dbi library to connect to various databases,
277 execute SQL statements and read back the results. dbi is an acronym
278 for "database interface" in case you were wondering about the name.
279 You can configure how each column is to be interpreted and the plugin
280 will generate one or more data sets from each row returned according
284 Summary: df-plugin for collectd
285 Summary(pl_PL.UTF-8): Wtyczka df dla collectd
287 Requires: %{name} = %{version}-%{release}
290 The df-plugin collects file system usage information, i. e. basically
291 how much space on a mounted partition is used and how much is
292 available. It's named after and very similar to the df(1) UNIX command
293 that's been around forever.
296 Summary: disk-plugin for collectd
297 Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
299 Requires: %{name} = %{version}-%{release}
302 This plugin collects performance statistics of harddisks and, where
303 supported, partitions.
306 Summary: dns-plugin for collectd
307 Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
309 Requires: %{name} = %{version}-%{release}
310 Requires: perl-rrdtool
313 This plugin has a similar functionality to dnstop: It uses libpcap to
314 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
315 interprets the packets and collects statistics of your DNS traffic.
318 Summary: email-plugin for collectd
319 Summary(pl_PL.UTF-8): Wtyczka email dla collectd
321 Requires: %{name} = %{version}-%{release}
324 The email plugin opens an UNIX-socket over which one can submit email
325 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
326 mails received/handled, spam scores and matched spam checks.
328 This plugin is intended to be used with the the
329 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
330 is included in contrib/, but is of course not limited to that use.
333 Summary: entropy-plugin for collectd
334 Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
336 Requires: %{name} = %{version}-%{release}
339 entropy plugin for collectd.
342 Summary: exec-plugin for collectd
343 Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
345 Requires: %{name} = %{version}-%{release}
348 The exec plugin forks of an executable either to receive values or to
349 dispatch notifications to the outside world.
352 Summary: filecount-plugin for collectd
353 Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
355 Requires: %{name} = %{version}-%{release}
357 %description filecount
358 The filecount-plugin does something very simple: Count the number of
359 files in a directory and all its subdirectories. This can be used for
360 a variety of statistics, for example the queue length of an MTA, the
361 number of PHP sessions of a web server or simply the number of files
362 in your home directory.
365 Summary: fscache-plugin for collectd
366 Summary(pl_PL.UTF-8): Wtyczka fscache dla collectd
368 Requires: %{name} = %{version}-%{release}
371 The fscache-plugin collects statistics about Linux file-system based
375 Summary: hddtemp-plugin for collectd
376 Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
378 Requires: %{name} = %{version}-%{release}
379 Suggests: hddtemp-hddtempd
382 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
383 and queried by the external hddtemp-daemon.
386 Summary: interface-plugin for collectd
387 Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
389 Requires: %{name} = %{version}-%{release}
391 %description interface
392 The interface-plugin collects information about the traffic (octets),
393 packets and errors of interfaces.
396 Summary: iptables-plugin for collectd
397 Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
399 Requires: %{name} = %{version}-%{release}
401 %description iptables
402 With this plugin you can gather statistics from your ip_tables based
403 packetfilter (aka. firewall). It can collect the byte- and
404 packet-counters of selected rules and submit them to collectd. You can
405 select rules that should be collected wither by its position (e.g.
406 "the fourth rule in the INPUT queue in the filter table") or by its
407 comment (using the COMMENT match). This means that depending on your
408 firewall layout you can collect certain services (such as the amount
409 of web-traffic), source or destination hosts or networks, dropped
410 packets and much more.
413 Summary: ipmi-plugin for collectd
414 Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
416 Requires: %{name} = %{version}-%{release}
419 ipmi plugin for collectd.
421 %description ipmi -l pl.UTF-8
422 Wtyczka ipmi dla collectd.
425 Summary: IRQs-plugin for collectd
426 Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
428 Requires: %{name} = %{version}-%{release}
431 IRQs plugin for collectd.
434 Summary: load-plugin for collectd
435 Summary(pl_PL.UTF-8): Wtyczka load dla collectd
437 Requires: %{name} = %{version}-%{release}
440 Collects the system load. These numbers give a rough overview over the
441 utilization of a machine, though their meaning is mostly overrated.
444 Summary: logfile-plugin for collectd
445 Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
447 Requires: %{name} = %{version}-%{release}
450 Logfile plugin for collectd.
453 Summary: match_regex plugin for collectd
454 Summary(pl_PL.UTF-8): Wtyczka match_regex dla collectd
456 Requires: %{name} = %{version}-%{release}
458 %description match_regex
459 match_regex plugin for collectd.
461 %package match_timediff
462 Summary: match_timediff plugin for collectd
463 Summary(pl_PL.UTF-8): Wtyczka match_timediff dla collectd
465 Requires: %{name} = %{version}-%{release}
467 %description match_timediff
468 match_timediff plugin for collectd.
471 Summary: match_value plugin for collectd
472 Summary(pl_PL.UTF-8): Wtyczka match_value dla collectd
474 Requires: %{name} = %{version}-%{release}
476 %description match_value
477 match_value plugin for collectd.
480 Summary: mbmon plugin for collectd
481 Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
483 Requires: %{name} = %{version}-%{release}
486 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
489 Summary: memcached-plugin for collectd
490 Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
492 Requires: %{name} = %{version}-%{release}
494 %description memcached
495 The memcached plugin connects to a memcached daemon and collects the
496 number of connections and requests handled by the daemon, the CPU
497 resources consumed, number of items cached, number of threads, and
498 bytes sent and received.
501 Summary: memory-plugin for collectd
502 Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
504 Requires: %{name} = %{version}-%{release}
507 Collects physical memory utilization for collectd.
510 Summary: multimeter-plugin for collectd
511 Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
513 Requires: %{name} = %{version}-%{release}
515 %description multimeter
516 Multimeter plugin for collectd.
519 Summary: mysql-plugin for collectd
520 Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
522 Requires: %{name} = %{version}-%{release}
523 Requires: mysql-client
526 MySQL querying plugin. This plugins provides data of issued commands,
527 called handlers and database traffic.
529 %description mysql -l pl.UTF-8
530 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
531 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
534 Summary: netlink-plugin for collectd
535 Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
537 Requires: %{name} = %{version}-%{release}
540 This plugin will open a netlink socket to the Linux kernel and use it
541 to get statistics for interfaces, qdiscs, classes, and, if you can
542 make use of it, filters. Since in most setups many of the statistics
543 this plugin can collect aren't of interest, you can select which
544 information to gather using the configuration.
547 Summary: network-plugin for collectd
548 Summary(pl_PL.UTF-8): Wtyczka network dla collectd
550 Requires: %{name} = %{version}-%{release}
553 nginx plugin for collectd.
556 Summary: NFS-plugin for collectd
557 Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
559 Requires: %{name} = %{version}-%{release}
562 The nfs plugin counts the number of procedure calls of the different
566 Summary: nginx-plugin for collectd
567 Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
569 Requires: %{name} = %{version}-%{release}
572 This plugin collects the number of connections and requests handled by
573 the nginx daemon, a HTTP and mail server/proxy. It queries the page
574 provided by the ngx_http_stub_status_module module, which isn't
577 %package notify_desktop
578 Summary: notify_desktop for collectd
579 Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
581 Requires: %{name} = %{version}-%{release}
583 %description notify_desktop
584 This plugin sends a desktop notification to a notification daemon, as
585 defined in the Desktop Notification Specification. To actually display
586 the notifications, notification-daemon is required and collectd has to
587 be able to access the X server.
589 %package notify_email
590 Summary: notify_email-plugin for collectd
591 Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
593 Requires: %{name} = %{version}-%{release}
595 %description notify_email
596 notify_email plugin for collectd.
599 Summary: ntpd-plugin for collectd
600 Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
602 Requires: %{name} = %{version}-%{release}
605 NTPd plugin for collectd.
608 Summary: nut-plugin for collectd
609 Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
611 Requires: %{name} = %{version}-%{release}
614 UPS statistics using the Network UPS Tools. These statistics include
615 basically everything NUT will give us, including voltages, currents,
616 power, frequencies, load, and temperatures.
619 Summary: openvpn plugin for collectd
620 Summary(pl_PL.UTF-8): Wtyczka openvpn dla collectd
622 Requires: %{name} = %{version}-%{release}
626 The OpenVPN plugin reads a status file maintained by OpenVPN and
627 gathers traffic statistics about connected clients.
630 Summary: ping-plugin for collectd
631 Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
633 Requires: %{name} = %{version}-%{release}
634 Requires: liboping >= 1.1.2
637 The network latency is measured as a roundtrip time. An
638 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
639 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
640 not received within one second the plugin will no longer expect a
641 reply and return. This may happen in several circumstances, e. g. the
642 packet is lost, the host is down, a router has dismissed the packet,
646 Summary: mysql-plugin for collectd
647 Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
649 Requires: %{name} = %{version}-%{release}
651 %description postgresql
652 The postgresql plugin queries statistics from PostgreSQL databases. It
653 keeps a persistent connection to all configured databases and tries to
654 reconnect if the connection has been interrupted.
657 Summary: powerdns-plugin for collectd
658 Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
660 Requires: %{name} = %{version}-%{release}
662 %description powerdns
663 The powerdns plugin queries statistics from an authoritative PowerDNS
664 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
665 of values, many of which are probably meaningless to most users, but
666 may be useful for some.
669 Summary: processes-plugin for collectd
670 Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
672 Requires: %{name} = %{version}-%{release}
674 %description processes
675 This plugin collects the number of processes, grouped by their state
676 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
677 select detailed statistics about selected processes, grouped by name.
680 Summary: protocols-plugin for collectd
681 Summary(pl_PL.UTF-8): Wtyczka protocols dla collectd
683 Requires: %{name} = %{version}-%{release}
685 %description protocols
686 The protocols-plugin provides information about network protocols,
687 such as IP, TCP and UDP.
690 Summary: rrdtool-plugin for collectd
691 Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
693 Requires: %{name} = %{version}-%{release}
697 RRDTOOL plugin for collectd.
700 Summary: sensors-plugin for collectd
701 Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
703 Requires: %{name} = %{version}-%{release}
706 This plugin uses lm-sensors to read hardware sensors. You will need to
707 configure lm-sensors before this plugin will collect any usefull and
711 Summary: serial-plugin for collectd
712 Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
714 Requires: %{name} = %{version}-%{release}
717 Serial plugin for collectd.
720 Summary: snmp-plugin for collectd
721 Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
723 Requires: %{name} = %{version}-%{release}
726 The snmp plugin queries other hosts using SNMP, the Simple Network
727 Management Protocol, and translates the value it receives to
728 collectd's internal format and dispatches them. Depending on the write
729 plugins you have loaded they may be written to disk or submitted to
730 another instance or whatever you configured.
733 Summary: swap-plugin for collectd
734 Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
736 Requires: %{name} = %{version}-%{release}
739 Swap space plugin for collectd.
742 Summary: syslog-plugin for collectd
743 Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
745 Requires: %{name} = %{version}-%{release}
748 Syslog plugin for collectd.
751 Summary: table-plugin for collectd
752 Summary(pl_PL.UTF-8): Wtyczka table dla collectd
754 Requires: %{name} = %{version}-%{release}
757 The table-plugin provides parsing for table-like structured files,
758 such as many files beneath /proc.
760 %package target_notification
761 Summary: target_notification-plugin for collectd
762 Summary(pl_PL.UTF-8): Wtyczka target_notification dla collectd
764 Requires: %{name} = %{version}-%{release}
766 %description target_notification
767 target_notification plugin for collectd.
769 %package target_replace
770 Summary: target_replace-plugin for collectd
771 Summary(pl_PL.UTF-8): Wtyczka target_replace dla collectd
773 Requires: %{name} = %{version}-%{release}
775 %description target_replace
776 target_replace plugin for collectd.
779 Summary: target_set-plugin for collectd
780 Summary(pl_PL.UTF-8): Wtyczka target_set dla collectd
782 Requires: %{name} = %{version}-%{release}
784 %description target_set
785 target_set plugin for collectd.
788 Summary: tail-plugin for collectd
789 Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
791 Requires: %{name} = %{version}-%{release}
794 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
795 tail -F does. Each line is given to one or more "matches" which test
796 if the line is relevant for any statistics using a regular expression.
799 Summary: tcpconns-plugin for collectd
800 Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
802 Requires: %{name} = %{version}-%{release}
804 %description tcpconns
805 The tcpconns-plugin counts the number of TCP connections to or from a
806 specified port. Typically the connectioins where you specify the local
807 port are incoming connections while the connections where you specify
808 the remote port are outgoing connections.
811 Summary: teamspeak2-plugin for collectd
812 Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
814 Requires: %{name} = %{version}-%{release}
816 %description teamspeak2
817 The teamspeak2 plugin connects to the query port of a teamspeak2
818 server and polls interesting global and virtual server data. The
819 plugin can query only one physical server but unlimited virtual
823 Summary: ted-plugin for collectd
824 Summary(pl_PL.UTF-8): Wtyczka ted dla collectd
826 Requires: %{name} = %{version}-%{release}
829 The TED-plugin reads power consumption measurements from “The Energy
833 Summary: thermal-plugin for collectd
834 Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
836 Requires: %{name} = %{version}-%{release}
839 Thermal plugin for collectd.
842 Summary: unixsock-plugin for collectd
843 Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
845 Requires: %{name} = %{version}-%{release}
847 %description unixsock
848 The unixsock plugin opens an UNIX-socket over which one can interact
849 with the daemon. This can be used to use the values collected by
850 collectd in other applications, such as monitoring, or submit
851 externally collected values to collectd.
854 Summary: uptime-plugin for collectd
855 Summary(pl_PL.UTF-8): Wtyczka uptime dla collectd
857 Requires: %{name} = %{version}-%{release}
860 The uptime-plugin can collect the server's uptime.
863 Summary: users-plugin for collectd
864 Summary(pl_PL.UTF-8): Wtyczka users dla collectd
866 Requires: %{name} = %{version}-%{release}
869 Number of users currently logged in.
872 Summary: uuid-plugin for collectd
873 Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
875 Requires: %{name} = %{version}-%{release}
878 This plugin, if loaded, causes the Hostname to be taken from the
879 machine's UUID. The UUID is a universally unique designation for the
880 machine, usually taken from the machine's BIOS. This is most useful if
881 the machine is running in a virtual environment such as Xen, in which
882 case the UUID is preserved across shutdowns and migration.
885 Summary: vmem-plugin for collectd
886 Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
888 Requires: %{name} = %{version}-%{release}
891 The vmem plugin collects information about the usage of virtual
892 memory. Since the statistics provided by the Linux kernel are very
893 detailed, they are collected very detailed.
896 Summary: vserver-plugin for collectd
897 Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
899 Requires: %{name} = %{version}-%{release}
902 Collects information about the virtual servers running on a system,
906 Summary: wireless-plugin for collectd
907 Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
909 Requires: %{name} = %{version}-%{release}
911 %description wireless
912 Wireless plugin for collectd.
915 Summary: xmms-plugin for collectd
916 Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
918 Requires: %{name} = %{version}-%{release}
921 This plugin collectd data provided by XMMS.
923 %package -n perl-Collectd
924 Summary: Perl files from Collectd package
927 %description -n perl-Collectd
928 Perl files from Collectd package
943 --with-libstatgrab=/usr \
944 --with-lm-sensors=/usr \
945 --with-libmysql=/usr \
946 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
947 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
948 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
949 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
950 --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
951 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
952 --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
953 --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
954 --%{?with_ups:en}%{!?with_ups:dis}able-nut \
955 --%{?with_ping:en}%{!?with_ping:dis}able-ping \
956 --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
957 --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
958 --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
959 --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
960 --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
961 %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
962 %{!?with_xml:--disable-{ascent,bind,libvirt}} \
968 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
969 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
970 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
973 rm -rf $RPM_BUILD_ROOT
974 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
975 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/}
978 DESTDIR=$RPM_BUILD_ROOT
980 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
981 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
984 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
985 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
986 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
987 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
988 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
990 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
992 ### Configs instalation ###
993 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
994 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
995 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
998 # Example config in sources: src/collectd.conf
999 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1001 # Overwrite only files which we want to change:
1002 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1003 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1005 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1008 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1011 rm -rf $RPM_BUILD_ROOT
1014 /sbin/chkconfig --add %{name}
1015 %service %{name} restart
1018 if [ "$1" = "0" ]; then
1019 %service -q %{name} stop
1020 /sbin/chkconfig --del %{name}
1023 %post libs -p /sbin/ldconfig
1024 %postun libs -p /sbin/ldconfig
1026 %define module_scripts() \
1028 %service %{name} restart \
1031 %service %{name} restart
1033 %module_scripts apache
1034 %module_scripts apcups
1035 %module_scripts ascent
1036 %module_scripts battery
1037 %module_scripts bind
1038 %module_scripts conntrack
1040 %module_scripts cpufreq
1042 %module_scripts curl
1045 %module_scripts disk
1047 %module_scripts email
1048 %module_scripts entropy
1049 %module_scripts exec
1050 %module_scripts filecount
1051 %module_scripts fscache
1052 %module_scripts hddtemp
1053 %module_scripts interface
1054 %module_scripts ipmi
1055 %module_scripts iptables
1057 %module_scripts load
1058 %module_scripts logfile
1059 %module_scripts match_regex
1060 %module_scripts match_timediff
1061 %module_scripts match_value
1062 %module_scripts mbmon
1063 %module_scripts memcached
1064 %module_scripts memory
1065 %module_scripts multimeter
1066 %module_scripts mysql
1067 %module_scripts netlink
1068 %module_scripts network
1070 %module_scripts nginx
1071 %module_scripts notify_desktop
1072 %module_scripts notify_email
1073 %module_scripts ntpd
1075 %module_scripts openvpn
1076 %module_scripts ping
1077 %module_scripts postgresql
1078 %module_scripts powerdns
1079 %module_scripts processes
1080 %module_scripts protocols
1081 %module_scripts rrdtool
1082 %module_scripts sensors
1083 %module_scripts serial
1084 %module_scripts snmp
1085 %module_scripts swap
1086 %module_scripts syslog
1087 %module_scripts table
1088 %module_scripts tail
1089 %module_scripts target_notification
1090 %module_scripts target_replace
1091 %module_scripts target_set
1092 %module_scripts tcpconns
1093 %module_scripts teamspeak2
1095 %module_scripts thermal
1096 %module_scripts unixsock
1097 %module_scripts uptime
1098 %module_scripts users
1099 %module_scripts uuid
1100 %module_scripts vmem
1101 %module_scripts vserver
1102 %module_scripts wireless
1103 %module_scripts xmms
1105 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1106 %webapp_register apache %{_webapp}
1108 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1109 %webapp_unregister apache %{_webapp}
1111 %triggerin collection -- apache < 2.2.0, apache-base
1112 %webapp_register httpd %{_webapp}
1114 %triggerun collection -- apache < 2.2.0, apache-base
1115 %webapp_unregister httpd %{_webapp}
1117 %triggerin collection -- lighttpd
1118 %webapp_register lighttpd %{_webapp}
1120 %triggerun collection -- lighttpd
1121 %webapp_unregister lighttpd %{_webapp}
1124 %defattr(644,root,root,755)
1125 %doc AUTHORS ChangeLog README TODO contrib
1126 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1127 %dir %{_sysconfdir}/%{name}.d
1128 %attr(755,root,root) %{_sbindir}/collectd
1129 %attr(755,root,root) %{_sbindir}/collectdmon
1130 %attr(755,root,root) %{_bindir}/collectd-nagios
1131 %dir %{_datadir}/%{name}
1132 %{_datadir}/%{name}/types.db
1133 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1134 %{_mandir}/man1/collectd.1*
1135 %{_mandir}/man1/collectd-nagios.1*
1136 %{_mandir}/man1/collectdmon.1*
1137 %{_mandir}/man5/collectd.conf.5*
1138 %{_mandir}/man5/collectd-java.5*
1139 %{_mandir}/man5/collectd-perl.5*
1140 %{_mandir}/man5/types.db.5*
1141 %dir %{_var}/lib/%{name}
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1146 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1147 %dir %{_libdir}/%{name}
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1152 %{_libdir}/libcollectdclient.la
1153 %dir %{_includedir}/%{name}
1154 %{_includedir}/%{name}/*.h
1155 %{_pkgconfigdir}/libcollectdclient.pc
1158 %defattr(644,root,root,755)
1159 %{_libdir}/libcollectdclient.a
1160 %{_libdir}/%{name}/*.a
1163 %defattr(644,root,root,755)
1165 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1166 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1167 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1168 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1170 %dir %{_appdir}/cgi-bin
1171 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1174 %defattr(644,root,root,755)
1175 %{_appdir}/collection3
1181 %defattr(640,root,root,755)
1182 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1183 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1188 %defattr(644,root,root,755)
1189 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1190 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1194 %defattr(640,root,root,755)
1195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1196 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1200 %defattr(644,root,root,755)
1201 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1202 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1207 %defattr(644,root,root,755)
1208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1209 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1214 %defattr(644,root,root,755)
1215 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1216 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1219 %defattr(644,root,root,755)
1220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1221 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1224 %defattr(644,root,root,755)
1225 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1226 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1229 %defattr(644,root,root,755)
1230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1231 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1235 %defattr(640,root,root,755)
1236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1237 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1241 %defattr(640,root,root,755)
1242 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1243 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1246 %defattr(644,root,root,755)
1247 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1248 %attr(755,root,root) %{_libdir}/%{name}/df.so
1251 %defattr(644,root,root,755)
1252 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1253 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1257 %defattr(644,root,root,755)
1258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1259 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1263 %defattr(644,root,root,755)
1264 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1265 %attr(755,root,root) %{_libdir}/%{name}/email.so
1266 %{_mandir}/man5/collectd-email.5*
1269 %defattr(644,root,root,755)
1270 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1271 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1274 %defattr(644,root,root,755)
1275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1276 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1277 %{_mandir}/man5/collectd-exec.5*
1280 %defattr(644,root,root,755)
1281 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1282 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1285 %defattr(644,root,root,755)
1286 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1287 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1290 %defattr(644,root,root,755)
1291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1292 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1295 %defattr(644,root,root,755)
1296 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1297 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1301 %defattr(644,root,root,755)
1302 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1303 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1306 %if %{with iptables}
1308 %defattr(644,root,root,755)
1309 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1310 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1314 %defattr(644,root,root,755)
1315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1316 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1319 %defattr(644,root,root,755)
1320 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1321 %attr(755,root,root) %{_libdir}/%{name}/load.so
1324 %defattr(644,root,root,755)
1325 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1326 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1327 %{_var}/log/collectd.log
1330 %defattr(644,root,root,755)
1331 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1332 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1334 %files match_timediff
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1337 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1340 %defattr(644,root,root,755)
1341 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1342 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1345 %defattr(644,root,root,755)
1346 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1347 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1350 %defattr(644,root,root,755)
1351 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1352 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1355 %defattr(644,root,root,755)
1356 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1357 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1359 %if %{with multimeter}
1361 %defattr(644,root,root,755)
1362 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1363 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1368 %defattr(640,root,root,755)
1369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1370 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1375 %defattr(644,root,root,755)
1376 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1377 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1381 %defattr(644,root,root,755)
1382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1383 %attr(755,root,root) %{_libdir}/%{name}/network.so
1386 %defattr(644,root,root,755)
1387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1388 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1392 %defattr(640,root,root,755)
1393 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1394 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1398 %files notify_desktop
1399 %defattr(644,root,root,755)
1400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1401 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1404 %if %{with libesmtp}
1406 %defattr(640,root,root,755)
1407 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1408 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1412 %defattr(644,root,root,755)
1413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1414 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1418 %defattr(644,root,root,755)
1419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1420 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1424 %defattr(644,root,root,755)
1425 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1426 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1430 %defattr(644,root,root,755)
1431 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1432 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1437 %defattr(640,root,root,755)
1438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1439 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1440 %{_datadir}/%{name}/postgresql_default.conf
1444 %defattr(644,root,root,755)
1445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1446 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1449 %defattr(644,root,root,755)
1450 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1451 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1454 %defattr(644,root,root,755)
1455 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1456 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1460 %defattr(644,root,root,755)
1461 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1462 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1467 %defattr(644,root,root,755)
1468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1469 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1473 %defattr(644,root,root,755)
1474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1475 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1479 %defattr(644,root,root,755)
1480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1481 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1482 %{_mandir}/man5/collectd-snmp.5*
1486 %defattr(644,root,root,755)
1487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1488 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1491 %defattr(644,root,root,755)
1492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1493 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1496 %defattr(644,root,root,755)
1497 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1498 %attr(755,root,root) %{_libdir}/%{name}/table.so
1501 %defattr(644,root,root,755)
1502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1503 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1505 %files target_notification
1506 %defattr(644,root,root,755)
1507 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1508 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1510 %files target_replace
1511 %defattr(644,root,root,755)
1512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1513 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1516 %defattr(644,root,root,755)
1517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1518 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1521 %defattr(644,root,root,755)
1522 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1523 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1526 %defattr(644,root,root,755)
1527 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1528 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1531 %defattr(644,root,root,755)
1532 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1533 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1536 %defattr(644,root,root,755)
1537 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1538 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1541 %defattr(644,root,root,755)
1542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1543 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1544 %{_mandir}/man5/collectd-unixsock.5*
1547 %defattr(644,root,root,755)
1548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1549 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1552 %defattr(644,root,root,755)
1553 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1554 %attr(755,root,root) %{_libdir}/%{name}/users.so
1557 %defattr(644,root,root,755)
1558 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1559 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1562 %defattr(644,root,root,755)
1563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1564 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1567 %defattr(644,root,root,755)
1568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1569 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1572 %defattr(644,root,root,755)
1573 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1574 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1578 %defattr(644,root,root,755)
1579 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1580 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1583 %files -n perl-Collectd
1584 %defattr(644,root,root,755)
1585 %{perl_vendorlib}/Collectd.pm
1586 %{perl_vendorlib}/Collectd