2 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
3 %bcond_without dns # DNS plugin
4 %bcond_without ipmi # IPMI plugin
5 %bcond_without iptables # iptables plugin
6 %bcond_without libesmtp # notify_email plugin
7 %bcond_with multimeter # multimeter plugin
8 %bcond_without mysql # MySQL plugin
9 %bcond_without netlink # netlink plugin
10 %bcond_without notify # notify_desktop plugin
11 %bcond_without ping # ping plugin
12 %bcond_without psql # PostgreSQL plugin
13 %bcond_without rrd # rrdtool and rrdcached plugins
14 %bcond_without sensors # sensors plugin
15 %bcond_without snmp # SNMP plugin
16 %bcond_without ups # nut plugin
17 %bcond_without xml # ascent, bind and libvirt plugins
18 %bcond_without xmms # XMMS plugin
20 #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
22 %undefine with_iptables
23 %undefine with_netlink
25 Summary: Collects system information in RRD files
26 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
32 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
33 # Source0-md5: 20e95914219a32bfd51d01333dbb7c01
36 Source3: %{name}-http.conf
37 Source4: %{name}-lighttpd.conf
38 Source10: %{name}-df.conf
39 Source11: %{name}-rrdtool.conf
40 Patch0: %{name}-collection.patch
41 Patch1: %{name}-as_needed.patch
42 URL: http://collectd.org/
43 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
44 BuildRequires: autoconf
45 BuildRequires: automake
46 %{?with_curl:BuildRequires: curl-devel}
47 BuildRequires: gcc-c++
48 BuildRequires: hal-devel
49 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
50 BuildRequires: libdbi-devel
51 %{?with_libesmtp:BuildRequires: libesmtp-devel}
52 BuildRequires: libltdl-devel
53 %{?with_netlink:BuildRequires: libnetlink-devel}
54 %{?with_notify:BuildRequires: libnotify-devel}
55 %{?with_ping:BuildRequires: liboping-devel}
56 %{?with_dns:BuildRequires: libpcap-devel}
57 BuildRequires: libstatgrab-devel >= 0.12
58 BuildRequires: libtool
59 %{?with_xml:BuildRequires: libxml2-devel}
60 %{?with_sensors:BuildRequires: lm_sensors-devel}
61 %{?with_mysql:BuildRequires: mysql-devel}
62 %{?with_ups:BuildRequires: nut-devel}
63 BuildRequires: perl-devel
64 %{?with_psql:BuildRequires: postgresql-devel}
65 BuildRequires: rpmbuild(macros) >= 1.268
66 %{?with_rrd:BuildRequires: rrdtool-devel}
67 %{?with_snmp:BuildRequires: net-snmp-devel}
68 %{?with_xmms:BuildRequires: xmms-devel}
69 Requires(post,preun): /sbin/chkconfig
71 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73 %define _pkglibdir %{_sharedstatedir}/%{name}
74 %define _webapps /etc/webapps
75 %define _webapp %{name}
76 %define _webappdir %{_webapps}/%{_webapp}
77 %define _appdir %{_datadir}/%{_webapp}
80 collectd is a small daemon which collects system information every 10
81 seconds and writes the results in an RRD-file.
83 In contrast to most similar software, collectd is not a script but
84 written in plain C for performance and portability. As a daemon it
85 stays in memory, so there is no need to start up a heavy interpreter
86 every time new values should be logged. This allows collectd to have a
87 10 second resolution while being nice to the system.
89 %description -l pl.UTF-8
90 collectd to mały demon zbierający co 10 sekund informacje o systemie i
91 zapisujący wyniki do pliku RRD.
93 W odróżnieniu od innych podobnych programów collectd nie jest
94 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
95 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
96 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
97 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
98 sekund i nie obciążać zbytnio systemu.
101 Summary: %{name} libraries
102 Summary(pl.UTF-8): Biblioteki %{name}
108 %description libs -l pl.UTF-8
112 Summary: Header files for %{name} libraries
113 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
114 Group: Development/Libraries
115 Requires: %{name}-libs = %{version}-%{release}
118 Header files for %{name} libraries.
120 %description devel -l pl.UTF-8
121 Pliki nagłówkowe bibliotek %{name}.
124 Summary: Static files for %{name} libraries
125 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
126 Group: Development/Libraries
127 Requires: %{name}-libs = %{version}-%{release}
130 Static files for %{name} libraries.
132 %description devel -l pl.UTF-8
133 Pliki statyczne bibliotek %{name}.
136 Summary: apache-plugin for collectd
137 Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
139 Requires: %{name} = %{version}-%{release}
142 This plugin collectd data provided by Apache's `mod_status'.
144 %description apache -l pl.UTF-8
145 Wtyczka collectd zbierająca informacje udostępniane przez moduł
149 Summary: APC UPS plugin for collectd
150 Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd
152 Requires: %{name} = %{version}-%{release}
155 APC UPS plugin for collectd.
158 Summary: ascent-plugin for collectd
159 Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
161 Requires: %{name} = %{version}-%{release}
164 ascent plugin for collectd.
167 Summary: battery plugin for collectd
168 Summary(pl_PL.UTF-8): Wtyczka battery dla collectd
170 Requires: %{name} = %{version}-%{release}
173 This plugin collects the battery's charge, the drawn current and the
177 Summary: bind plugin for collectd
178 Summary(pl_PL.UTF-8): Wtyczka bind dla collectd
180 Requires: %{name} = %{version}-%{release}
183 Starting with BIND 9.5.0, the most widely used DNS server software provides
184 extensive statistics about queries, responses and lots of other information.
185 The bind plugin retrieves this information that's encoded in XML and provided
186 via HTTP and submits the values to collectd.
189 Summary: Web script for collectd
190 Summary(pl_PL.UTF-8): Web script for collectd
191 Group: Applications/WWW
192 Requires: %{name} = %{version}-%{release}
194 Requires: perl(Data::Dumper)
195 Requires: perl(HTML::Entities)
197 Requires: perl(URI::Escape)
198 Requires: webserver(cgi)
199 Suggests: fonts-TTF-DejaVu
201 %description collection
202 Web script for collectd.
205 Summary: conntrack-plugin for collectd
206 Summary(pl_PL.UTF-8): Wtyczka conntrack dla collectd
208 Requires: %{name} = %{version}-%{release}
210 %description conntrack
211 The conntrack-plugin collects the connection tracking table size.
214 Summary: cpu-plugin for collectd
215 Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
217 Requires: %{name} = %{version}-%{release}
220 The cpu-plugin collects the amount of time spent by the CPU in various states,
221 most notably executing user code, executing system code, waiting for IO
222 operations and being idle.
225 Summary: cpufreq-plugin for collectd
226 Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
228 Requires: %{name} = %{version}-%{release}
231 Collects the current CPU's frequency, mostly for mobile computers.
234 Summary: CSV output plugin for collectd
235 Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
237 Requires: %{name} = %{version}-%{release}
240 CSV output plugin for collectd.
243 Summary: cURL output plugin for collectd
244 Summary(pl_PL.UTF-8): Wtyczka wyjściowa cURL dla collectd
246 Requires: %{name} = %{version}-%{release}
249 The curl plugin uses the libcurl to read web pages and the match
250 infrastructure (the same code used by the tail plugin) to use regular
251 expressions with the received data.
254 Summary: dbi plugin for collectd
255 Summary(pl_PL.UTF-8): Wtyczka dbi dla collectd
257 Requires: %{name} = %{version}-%{release}
260 This plugin uses the dbi library to connect to various databases, execute
261 SQL statements and read back the results. dbi is an acronym for "database
262 interface" in case you were wondering about the name. You can configure how
263 each column is to be interpreted and the plugin will generate one or more
264 data sets from each row returned according to these rules.
267 Summary: df-plugin for collectd
268 Summary(pl_PL.UTF-8): Wtyczka df dla collectd
270 Requires: %{name} = %{version}-%{release}
273 The df-plugin collects file system usage information, i. e. basically how
274 much space on a mounted partition is used and how much is available. It's
275 named after and very similar to the df(1) UNIX command that's been around
279 Summary: disk-plugin for collectd
280 Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
282 Requires: %{name} = %{version}-%{release}
285 This plugin collects performance statistics of harddisks and, where
286 supported, partitions.
289 Summary: dns-plugin for collectd
290 Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
292 Requires: %{name} = %{version}-%{release}
293 Requires: perl-rrdtool
296 This plugin has a similar functionality to dnstop: It uses libpcap to get
297 a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
298 the packets and collects statistics of your DNS traffic.
301 Summary: email-plugin for collectd
302 Summary(pl_PL.UTF-8): Wtyczka email dla collectd
304 Requires: %{name} = %{version}-%{release}
307 The email plugin opens an UNIX-socket over which one can submit email
308 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
309 received/handled, spam scores and matched spam checks.
311 This plugin is intended to be used with the the
312 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
313 included in contrib/, but is of course not limited to that use.
316 Summary: entropy-plugin for collectd
317 Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
319 Requires: %{name} = %{version}-%{release}
322 entropy plugin for collectd.
325 Summary: exec-plugin for collectd
326 Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
328 Requires: %{name} = %{version}-%{release}
331 The exec plugin forks of an executable either to receive values or to
332 dispatch notifications to the outside world.
335 Summary: filecount-plugin for collectd
336 Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
338 Requires: %{name} = %{version}-%{release}
340 %description filecount
341 The filecount-plugin does something very simple: Count the number of files
342 in a directory and all its subdirectories. This can be used for a variety of
343 statistics, for example the queue length of an MTA, the number of PHP
344 sessions of a web server or simply the number of files in your home
348 Summary: fscache-plugin for collectd
349 Summary(pl_PL.UTF-8): Wtyczka fscache dla collectd
351 Requires: %{name} = %{version}-%{release}
354 The fscache-plugin collects statistics about Linux file-system based caching
358 Summary: hddtemp-plugin for collectd
359 Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
361 Requires: %{name} = %{version}-%{release}
362 Suggests: hddtemp-hddtempd
365 Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
366 queried by the external hddtemp-daemon.
369 Summary: interface-plugin for collectd
370 Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
372 Requires: %{name} = %{version}-%{release}
374 %description interface
375 The interface-plugin collects information about the traffic (octets), packets
376 and errors of interfaces.
379 Summary: iptables-plugin for collectd
380 Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
382 Requires: %{name} = %{version}-%{release}
384 %description iptables
385 With this plugin you can gather statistics from your ip_tables based
386 packetfilter (aka. firewall). It can collect the byte- and packet-counters
387 of selected rules and submit them to collectd. You can select rules that
388 should be collected wither by its position (e.g. "the fourth rule in the
389 INPUT queue in the filter table") or by its comment (using the COMMENT
390 match). This means that depending on your firewall layout you can collect
391 certain services (such as the amount of web-traffic), source or destination
392 hosts or networks, dropped packets and much more.
395 Summary: ipmi-plugin for collectd
396 Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
398 Requires: %{name} = %{version}-%{release}
401 ipmi plugin for collectd.
403 %description ipmi -l pl.UTF-8
404 Wtyczka ipmi dla collectd.
407 Summary: IRQs-plugin for collectd
408 Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
410 Requires: %{name} = %{version}-%{release}
413 IRQs plugin for collectd.
416 Summary: load-plugin for collectd
417 Summary(pl_PL.UTF-8): Wtyczka load dla collectd
419 Requires: %{name} = %{version}-%{release}
422 Collects the system load. These numbers give a rough overview over the
423 utilization of a machine, though their meaning is mostly overrated.
426 Summary: logfile-plugin for collectd
427 Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
429 Requires: %{name} = %{version}-%{release}
432 Logfile plugin for collectd.
435 Summary: match_regex plugin for collectd
436 Summary(pl_PL.UTF-8): Wtyczka match_regex dla collectd
438 Requires: %{name} = %{version}-%{release}
440 %description match_regex
441 match_regex plugin for collectd.
443 %package match_timediff
444 Summary: match_timediff plugin for collectd
445 Summary(pl_PL.UTF-8): Wtyczka match_timediff dla collectd
447 Requires: %{name} = %{version}-%{release}
449 %description match_timediff
450 match_timediff plugin for collectd.
453 Summary: match_value plugin for collectd
454 Summary(pl_PL.UTF-8): Wtyczka match_value dla collectd
456 Requires: %{name} = %{version}-%{release}
458 %description match_value
459 match_value plugin for collectd.
462 Summary: mbmon plugin for collectd
463 Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
465 Requires: %{name} = %{version}-%{release}
468 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
471 Summary: memcached-plugin for collectd
472 Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
474 Requires: %{name} = %{version}-%{release}
476 %description memcached
477 The memcached plugin connects to a memcached daemon and collects the number
478 of connections and requests handled by the daemon, the CPU resources consumed,
479 number of items cached, number of threads, and bytes sent and received.
482 Summary: memory-plugin for collectd
483 Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
485 Requires: %{name} = %{version}-%{release}
488 Collects physical memory utilization for collectd.
491 Summary: multimeter-plugin for collectd
492 Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
494 Requires: %{name} = %{version}-%{release}
496 %description multimeter
497 Multimeter plugin for collectd.
500 Summary: mysql-plugin for collectd
501 Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
503 Requires: %{name} = %{version}-%{release}
504 Requires: mysql-client
507 MySQL querying plugin. This plugins provides data of issued commands,
508 called handlers and database traffic.
510 %description mysql -l pl.UTF-8
511 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
512 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
515 Summary: netlink-plugin for collectd
516 Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
518 Requires: %{name} = %{version}-%{release}
521 This plugin will open a netlink socket to the Linux kernel and use it to get
522 statistics for interfaces, qdiscs, classes, and, if you can make use of it,
523 filters. Since in most setups many of the statistics this plugin can collect
524 aren't of interest, you can select which information to gather using the
528 Summary: network-plugin for collectd
529 Summary(pl_PL.UTF-8): Wtyczka network dla collectd
531 Requires: %{name} = %{version}-%{release}
534 nginx plugin for collectd.
537 Summary: NFS-plugin for collectd
538 Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
540 Requires: %{name} = %{version}-%{release}
543 The nfs plugin counts the number of procedure calls of the different NFS
547 Summary: nginx-plugin for collectd
548 Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
550 Requires: %{name} = %{version}-%{release}
553 This plugin collects the number of connections and requests handled by the
554 nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
555 the ngx_http_stub_status_module module, which isn't compiled by default.
557 %package notify_desktop
558 Summary: notify_desktop for collectd
559 Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
561 Requires: %{name} = %{version}-%{release}
563 %description notify_desktop
564 This plugin sends a desktop notification to a notification daemon, as
565 defined in the Desktop Notification Specification. To actually display the
566 notifications, notification-daemon is required and collectd has to be able
567 to access the X server.
569 %package notify_email
570 Summary: notify_email-plugin for collectd
571 Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
573 Requires: %{name} = %{version}-%{release}
575 %description notify_email
576 notify_email plugin for collectd.
579 Summary: ntpd-plugin for collectd
580 Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
582 Requires: %{name} = %{version}-%{release}
585 NTPd plugin for collectd.
588 Summary: nut-plugin for collectd
589 Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
591 Requires: %{name} = %{version}-%{release}
594 UPS statistics using the Network UPS Tools. These statistics include
595 basically everything NUT will give us, including voltages, currents, power,
596 frequencies, load, and temperatures.
599 Summary: openvpn plugin for collectd
600 Summary(pl_PL.UTF-8): Wtyczka openvpn dla collectd
602 Requires: %{name} = %{version}-%{release}
606 The OpenVPN plugin reads a status file maintained by OpenVPN and gathers
607 traffic statistics about connected clients.
610 Summary: ping-plugin for collectd
611 Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
613 Requires: %{name} = %{version}-%{release}
614 Requires: liboping >= 1.1.2
617 The network latency is measured as a roundtrip time. An ICMP-echo-request
618 (aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
619 "pong") to arrive is measured. If a reply is not received within one second
620 the plugin will no longer expect a reply and return. This may happen in
621 several circumstances, e. g. the packet is lost, the host is down, a router
622 has dismissed the packet, etc.
625 Summary: mysql-plugin for collectd
626 Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
628 Requires: %{name} = %{version}-%{release}
630 %description postgresql
631 The postgresql plugin queries statistics from PostgreSQL databases. It keeps
632 a persistent connection to all configured databases and tries to reconnect
633 if the connection has been interrupted.
636 Summary: powerdns-plugin for collectd
637 Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
639 Requires: %{name} = %{version}-%{release}
641 %description powerdns
642 The powerdns plugin queries statistics from an authoritative PowerDNS
643 nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
644 values, many of which are probably meaningless to most users, but may be
648 Summary: processes-plugin for collectd
649 Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
651 Requires: %{name} = %{version}-%{release}
653 %description processes
654 This plugin collects the number of processes, grouped by their state (e.g.
655 running, sleeping, zombies, etc.). In addition to that, it can select
656 detailed statistics about selected processes, grouped by name.
659 Summary: protocols-plugin for collectd
660 Summary(pl_PL.UTF-8): Wtyczka protocols dla collectd
662 Requires: %{name} = %{version}-%{release}
664 %description protocols
665 The protocols-plugin provides information about network protocols, such as
669 Summary: rrdtool-plugin for collectd
670 Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
672 Requires: %{name} = %{version}-%{release}
676 RRDTOOL plugin for collectd.
679 Summary: sensors-plugin for collectd
680 Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
682 Requires: %{name} = %{version}-%{release}
685 This plugin uses lm-sensors to read hardware sensors. You will need to
686 configure lm-sensors before this plugin will collect any usefull and correct
690 Summary: serial-plugin for collectd
691 Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
693 Requires: %{name} = %{version}-%{release}
696 Serial plugin for collectd.
699 Summary: snmp-plugin for collectd
700 Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
702 Requires: %{name} = %{version}-%{release}
705 The snmp plugin queries other hosts using SNMP, the Simple Network
706 Management Protocol, and translates the value it receives to collectd's
707 internal format and dispatches them. Depending on the write plugins you have
708 loaded they may be written to disk or submitted to another instance or
709 whatever you configured.
712 Summary: swap-plugin for collectd
713 Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
715 Requires: %{name} = %{version}-%{release}
718 Swap space plugin for collectd.
721 Summary: syslog-plugin for collectd
722 Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
724 Requires: %{name} = %{version}-%{release}
727 Syslog plugin for collectd.
730 Summary: table-plugin for collectd
731 Summary(pl_PL.UTF-8): Wtyczka table dla collectd
733 Requires: %{name} = %{version}-%{release}
736 The table-plugin provides parsing for table-like structured files,
737 such as many files beneath /proc.
739 %package target_notification
740 Summary: target_notification-plugin for collectd
741 Summary(pl_PL.UTF-8): Wtyczka target_notification dla collectd
743 Requires: %{name} = %{version}-%{release}
745 %description target_notification
746 target_notification plugin for collectd.
748 %package target_replace
749 Summary: target_replace-plugin for collectd
750 Summary(pl_PL.UTF-8): Wtyczka target_replace dla collectd
752 Requires: %{name} = %{version}-%{release}
754 %description target_replace
755 target_replace plugin for collectd.
758 Summary: target_set-plugin for collectd
759 Summary(pl_PL.UTF-8): Wtyczka target_set dla collectd
761 Requires: %{name} = %{version}-%{release}
763 %description target_set
764 target_set plugin for collectd.
767 Summary: tail-plugin for collectd
768 Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
770 Requires: %{name} = %{version}-%{release}
773 The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
774 does. Each line is given to one or more "matches" which test if the line is
775 relevant for any statistics using a regular expression.
778 Summary: tcpconns-plugin for collectd
779 Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
781 Requires: %{name} = %{version}-%{release}
783 %description tcpconns
784 The tcpconns-plugin counts the number of TCP connections to or from a
785 specified port. Typically the connectioins where you specify the local port
786 are incoming connections while the connections where you specify the remote
787 port are outgoing connections.
790 Summary: teamspeak2-plugin for collectd
791 Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
793 Requires: %{name} = %{version}-%{release}
795 %description teamspeak2
796 The teamspeak2 plugin connects to the query port of a teamspeak2 server and
797 polls interesting global and virtual server data. The plugin can query only
798 one physical server but unlimited virtual servers.
801 Summary: ted-plugin for collectd
802 Summary(pl_PL.UTF-8): Wtyczka ted dla collectd
804 Requires: %{name} = %{version}-%{release}
807 The TED-plugin reads power consumption measurements from “The Energy Detective”
811 Summary: thermal-plugin for collectd
812 Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
814 Requires: %{name} = %{version}-%{release}
817 Thermal plugin for collectd.
820 Summary: unixsock-plugin for collectd
821 Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
823 Requires: %{name} = %{version}-%{release}
825 %description unixsock
826 The unixsock plugin opens an UNIX-socket over which one can interact with
827 the daemon. This can be used to use the values collected by collectd in
828 other applications, such as monitoring, or submit externally collected
832 Summary: uptime-plugin for collectd
833 Summary(pl_PL.UTF-8): Wtyczka uptime dla collectd
835 Requires: %{name} = %{version}-%{release}
838 The uptime-plugin can collect the server's uptime.
841 Summary: users-plugin for collectd
842 Summary(pl_PL.UTF-8): Wtyczka users dla collectd
844 Requires: %{name} = %{version}-%{release}
847 Number of users currently logged in.
850 Summary: uuid-plugin for collectd
851 Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
853 Requires: %{name} = %{version}-%{release}
856 This plugin, if loaded, causes the Hostname to be taken from the machine's
857 UUID. The UUID is a universally unique designation for the machine, usually
858 taken from the machine's BIOS. This is most useful if the machine is
859 running in a virtual environment such as Xen, in which case the UUID is
860 preserved across shutdowns and migration.
863 Summary: vmem-plugin for collectd
864 Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
866 Requires: %{name} = %{version}-%{release}
869 The vmem plugin collects information about the usage of virtual memory.
870 Since the statistics provided by the Linux kernel are very detailed, they
871 are collected very detailed.
874 Summary: vserver-plugin for collectd
875 Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
877 Requires: %{name} = %{version}-%{release}
880 Collects information about the virtual servers running on a system, using
884 Summary: wireless-plugin for collectd
885 Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
887 Requires: %{name} = %{version}-%{release}
889 %description wireless
890 Wireless plugin for collectd.
893 Summary: xmms-plugin for collectd
894 Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
896 Requires: %{name} = %{version}-%{release}
899 This plugin collectd data provided by XMMS.
914 --with-libstatgrab=/usr \
915 --with-lm-sensors=/usr \
916 --with-libmysql=/usr \
917 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
918 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
919 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
920 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
921 --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
922 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
923 --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
924 --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
925 --%{?with_ups:en}%{!?with_ups:dis}able-nut \
926 --%{?with_ping:en}%{!?with_ping:dis}able-ping \
927 --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
928 --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
929 --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
930 --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
931 --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
932 %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
933 %{!?with_xml:--disable-{ascent,bind,libvirt}} \
939 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
940 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
941 BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
944 rm -rf $RPM_BUILD_ROOT
945 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
946 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
949 DESTDIR=$RPM_BUILD_ROOT
951 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
952 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
955 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
956 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
957 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
958 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
959 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
961 ### Configs instalation ###
962 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
963 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
964 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
967 # Example config in sources: src/collectd.conf
968 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
970 # Overwrite only files which we want to change:
971 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
972 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
975 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
978 rm -rf $RPM_BUILD_ROOT
981 /sbin/chkconfig --add %{name}
982 %service %{name} restart
985 if [ "$1" = "0" ]; then
986 %service -q %{name} stop
987 /sbin/chkconfig --del %{name}
990 %post libs -p /sbin/ldconfig
991 %postun libs -p /sbin/ldconfig
993 %define module_scripts() \
995 %service %{name} restart \
998 %service %{name} restart
1000 %module_scripts apache
1001 %module_scripts apcups
1002 %module_scripts ascent
1003 %module_scripts battery
1004 %module_scripts bind
1005 %module_scripts conntrack
1007 %module_scripts cpufreq
1009 %module_scripts curl
1012 %module_scripts disk
1014 %module_scripts email
1015 %module_scripts entropy
1016 %module_scripts exec
1017 %module_scripts filecount
1018 %module_scripts fscache
1019 %module_scripts hddtemp
1020 %module_scripts interface
1021 %module_scripts ipmi
1022 %module_scripts iptables
1024 %module_scripts load
1025 %module_scripts logfile
1026 %module_scripts match_regex
1027 %module_scripts match_timediff
1028 %module_scripts match_value
1029 %module_scripts mbmon
1030 %module_scripts memcached
1031 %module_scripts memory
1032 %module_scripts multimeter
1033 %module_scripts mysql
1034 %module_scripts netlink
1035 %module_scripts network
1037 %module_scripts nginx
1038 %module_scripts notify_desktop
1039 %module_scripts notify_email
1040 %module_scripts ntpd
1042 %module_scripts openvpn
1043 %module_scripts ping
1044 %module_scripts postgresql
1045 %module_scripts powerdns
1046 %module_scripts processes
1047 %module_scripts protocols
1048 %module_scripts rrdtool
1049 %module_scripts sensors
1050 %module_scripts serial
1051 %module_scripts snmp
1052 %module_scripts swap
1053 %module_scripts syslog
1054 %module_scripts table
1055 %module_scripts tail
1056 %module_scripts target_notification
1057 %module_scripts target_replace
1058 %module_scripts target_set
1059 %module_scripts tcpconns
1060 %module_scripts teamspeak2
1062 %module_scripts thermal
1063 %module_scripts unixsock
1064 %module_scripts uptime
1065 %module_scripts users
1066 %module_scripts uuid
1067 %module_scripts vmem
1068 %module_scripts vserver
1069 %module_scripts wireless
1070 %module_scripts xmms
1072 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1073 %webapp_register apache %{_webapp}
1075 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1076 %webapp_unregister apache %{_webapp}
1078 %triggerin collection -- apache < 2.2.0, apache-base
1079 %webapp_register httpd %{_webapp}
1081 %triggerun collection -- apache < 2.2.0, apache-base
1082 %webapp_unregister httpd %{_webapp}
1084 %triggerin collection -- lighttpd
1085 %webapp_register lighttpd %{_webapp}
1087 %triggerun collection -- lighttpd
1088 %webapp_unregister lighttpd %{_webapp}
1091 %defattr(644,root,root,755)
1092 %doc AUTHORS ChangeLog README TODO contrib
1093 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1094 %dir %{_sysconfdir}/%{name}.d
1095 %attr(755,root,root) %{_sbindir}/collectd
1096 %attr(755,root,root) %{_sbindir}/collectdmon
1097 %attr(755,root,root) %{_bindir}/collectd-nagios
1098 %dir %{_datadir}/%{name}
1099 %{_datadir}/%{name}/types.db
1100 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1101 %{_mandir}/man1/collectd.1*
1102 %{_mandir}/man1/collectd-nagios.1*
1103 %{_mandir}/man1/collectdmon.1*
1104 %{_mandir}/man5/collectd.conf.5*
1105 %{_mandir}/man5/collectd-java.5.gz
1106 %{_mandir}/man5/collectd-perl.5*
1107 %{_mandir}/man5/types.db.5*
1108 %dir %{_var}/lib/%{name}
1111 %defattr(644,root,root,755)
1112 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1113 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1114 %dir %{_libdir}/%{name}
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1119 %{_libdir}/libcollectdclient.la
1120 %dir %{_includedir}/%{name}
1121 %{_includedir}/%{name}/*.h
1122 %{_pkgconfigdir}/libcollectdclient.pc
1125 %defattr(644,root,root,755)
1126 %{_libdir}/libcollectdclient.a
1127 %{_libdir}/%{name}/*.a
1130 %defattr(644,root,root,755)
1132 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1133 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1134 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1135 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1137 %dir %{_appdir}/cgi-bin
1138 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1144 %defattr(640,root,root,755)
1145 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1146 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1151 %defattr(644,root,root,755)
1152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1153 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1157 %defattr(640,root,root,755)
1158 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1159 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1163 %defattr(644,root,root,755)
1164 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1165 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1170 %defattr(644,root,root,755)
1171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1172 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1177 %defattr(644,root,root,755)
1178 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1179 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1182 %defattr(644,root,root,755)
1183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1184 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1187 %defattr(644,root,root,755)
1188 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1189 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1192 %defattr(644,root,root,755)
1193 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1194 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1198 %defattr(640,root,root,755)
1199 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1200 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1204 %defattr(640,root,root,755)
1205 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1206 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1209 %defattr(644,root,root,755)
1210 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1211 %attr(755,root,root) %{_libdir}/%{name}/df.so
1214 %defattr(644,root,root,755)
1215 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1216 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1220 %defattr(644,root,root,755)
1221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1222 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1226 %defattr(644,root,root,755)
1227 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1228 %attr(755,root,root) %{_libdir}/%{name}/email.so
1229 %{_mandir}/man5/collectd-email.5*
1232 %defattr(644,root,root,755)
1233 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1234 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1237 %defattr(644,root,root,755)
1238 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1239 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1240 %{_mandir}/man5/collectd-exec.5*
1243 %defattr(644,root,root,755)
1244 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1245 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1248 %defattr(644,root,root,755)
1249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1250 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1253 %defattr(644,root,root,755)
1254 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1255 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1258 %defattr(644,root,root,755)
1259 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1260 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1264 %defattr(644,root,root,755)
1265 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1266 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1269 %if %{with iptables}
1271 %defattr(644,root,root,755)
1272 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1273 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1277 %defattr(644,root,root,755)
1278 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1279 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1282 %defattr(644,root,root,755)
1283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1284 %attr(755,root,root) %{_libdir}/%{name}/load.so
1287 %defattr(644,root,root,755)
1288 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1289 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1290 %{_var}/log/collectd.log
1293 %defattr(644,root,root,755)
1294 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1295 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1297 %files match_timediff
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1300 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1303 %defattr(644,root,root,755)
1304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1305 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1308 %defattr(644,root,root,755)
1309 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1310 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1313 %defattr(644,root,root,755)
1314 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1315 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1318 %defattr(644,root,root,755)
1319 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1320 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1322 %if %{with multimeter}
1324 %defattr(644,root,root,755)
1325 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1326 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1331 %defattr(640,root,root,755)
1332 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1333 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1338 %defattr(644,root,root,755)
1339 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1340 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1344 %defattr(644,root,root,755)
1345 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1346 %attr(755,root,root) %{_libdir}/%{name}/network.so
1349 %defattr(644,root,root,755)
1350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1351 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1355 %defattr(640,root,root,755)
1356 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1357 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1361 %files notify_desktop
1362 %defattr(644,root,root,755)
1363 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1364 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1367 %if %{with libesmtp}
1369 %defattr(640,root,root,755)
1370 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1371 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1375 %defattr(644,root,root,755)
1376 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1377 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1381 %defattr(644,root,root,755)
1382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1383 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1387 %defattr(644,root,root,755)
1388 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1389 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1393 %defattr(644,root,root,755)
1394 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1395 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1400 %defattr(640,root,root,755)
1401 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1402 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1403 %{_datadir}/%{name}/postgresql_default.conf
1407 %defattr(644,root,root,755)
1408 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1409 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1412 %defattr(644,root,root,755)
1413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1414 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1417 %defattr(644,root,root,755)
1418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1419 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1423 %defattr(644,root,root,755)
1424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1425 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1430 %defattr(644,root,root,755)
1431 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1432 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1436 %defattr(644,root,root,755)
1437 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1438 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1442 %defattr(644,root,root,755)
1443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1444 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1445 %{_mandir}/man5/collectd-snmp.5*
1449 %defattr(644,root,root,755)
1450 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1451 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1454 %defattr(644,root,root,755)
1455 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1456 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1459 %defattr(644,root,root,755)
1460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1461 %attr(755,root,root) %{_libdir}/%{name}/table.so
1464 %defattr(644,root,root,755)
1465 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1466 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1468 %files target_notification
1469 %defattr(644,root,root,755)
1470 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1471 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1473 %files target_replace
1474 %defattr(644,root,root,755)
1475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1476 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1479 %defattr(644,root,root,755)
1480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1481 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1484 %defattr(644,root,root,755)
1485 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1486 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1489 %defattr(644,root,root,755)
1490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1491 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1494 %defattr(644,root,root,755)
1495 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1496 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1499 %defattr(644,root,root,755)
1500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1501 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1504 %defattr(644,root,root,755)
1505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1506 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1507 %{_mandir}/man5/collectd-unixsock.5*
1510 %defattr(644,root,root,755)
1511 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1512 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1515 %defattr(644,root,root,755)
1516 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1517 %attr(755,root,root) %{_libdir}/%{name}/users.so
1520 %defattr(644,root,root,755)
1521 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1522 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1525 %defattr(644,root,root,755)
1526 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1527 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1530 %defattr(644,root,root,755)
1531 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1532 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1535 %defattr(644,root,root,755)
1536 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1537 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1541 %defattr(644,root,root,755)
1542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1543 %attr(755,root,root) %{_libdir}/%{name}/xmms.so