2 # - package contrib scripts as %doc
3 # - perl modules with Collectd classes package to separate package
5 # apple_sensors . . . no (obvious)
6 # ipvs . . . . . . . no (ip_vs.h not found - llh to be fixed)
7 # libvirt . . . . . . no (requires library)
8 # multimeter . . . . no ?
9 # onewire . . . . . . no (needs libowfs)
10 # perl . . . . . . . no (buggy perl: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467072)
11 # rrdcached . . . . . no (requires rrdtool >= 1.4.0)
12 # tape . . . . . . . no ?
13 # - logrotate file for logfile plugin
14 # - %desc -l pl for plugins
15 # - package SpamAssassin plugin from contrib
18 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
19 %bcond_without dns # DNS plugin
20 %bcond_without ipmi # IPMI plugin
21 %bcond_without iptables # iptables plugin
22 %bcond_without libesmtp # notify_email plugin
23 %bcond_with multimeter # multimeter plugin
24 %bcond_without mysql # MySQL plugin
25 %bcond_without netlink # netlink plugin
26 %bcond_without notify # notify_desktop plugin
27 %bcond_without ping # ping plugin
28 %bcond_without psql # PostgreSQL plugin
29 %bcond_without rrd # rrdtool and rrdcached plugins
30 %bcond_without sensors # sensors plugin
31 %bcond_without snmp # SNMP plugin
32 %bcond_without ups # nut plugin
33 %bcond_without xml # ascent, bind and libvirt plugins
34 %bcond_without xmms # XMMS plugin
36 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
38 %undefine with_iptables
39 %undefine with_netlink
42 Summary: Collects system information in RRD files
43 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
49 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
50 # Source0-md5: 5018d578cbacdca4e874876dc6275865
53 Source3: %{name}-http.conf
54 Source4: %{name}-lighttpd.conf
55 Source10: %{name}-df.conf
56 Source11: %{name}-rrdtool.conf
57 Patch0: %{name}-collection.patch
58 URL: http://collectd.org/
59 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
60 BuildRequires: autoconf
61 BuildRequires: automake
62 %{?with_curl:BuildRequires: curl-devel}
63 BuildRequires: hal-devel
64 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
65 BuildRequires: libdbi-devel
66 %{?with_libesmtp:BuildRequires: libesmtp-devel}
67 BuildRequires: libltdl-devel
68 %{?with_netlink:BuildRequires: libnetlink-devel}
69 %{?with_notify:BuildRequires: libnotify-devel}
70 %{?with_ping:BuildRequires: liboping-devel}
71 %{?with_dns:BuildRequires: libpcap-devel}
72 BuildRequires: libstatgrab-devel >= 0.12
73 BuildRequires: libstdc++-devel
74 BuildRequires: libtool
75 %{?with_xml:BuildRequires: libxml2-devel}
76 %{?with_sensors:BuildRequires: lm_sensors-devel}
77 %{?with_mysql:BuildRequires: mysql-devel}
78 %{?with_snmp:BuildRequires: net-snmp-devel}
79 %{?with_ups:BuildRequires: nut-devel}
80 BuildRequires: perl-devel
81 %{?with_psql:BuildRequires: postgresql-devel}
82 BuildRequires: rpmbuild(macros) >= 1.268
83 %{?with_rrd:BuildRequires: rrdtool-devel}
84 %{?with_xmms:BuildRequires: xmms-devel}
85 Requires(post,preun): /sbin/chkconfig
87 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89 %define _pkglibdir %{_sharedstatedir}/%{name}
90 %define _webapps /etc/webapps
91 %define _webapp %{name}
92 %define _webappdir %{_webapps}/%{_webapp}
93 %define _appdir %{_datadir}/%{_webapp}
96 collectd is a small daemon which collects system information every 10
97 seconds and writes the results in an RRD-file.
99 In contrast to most similar software, collectd is not a script but
100 written in plain C for performance and portability. As a daemon it
101 stays in memory, so there is no need to start up a heavy interpreter
102 every time new values should be logged. This allows collectd to have a
103 10 second resolution while being nice to the system.
105 %description -l pl.UTF-8
106 collectd to mały demon zbierający co 10 sekund informacje o systemie
107 i zapisujący wyniki do pliku RRD.
109 W odróżnieniu od innych podobnych programów collectd nie jest
110 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
111 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
112 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny
113 być zapisane nowe wartości. Dzięki temu collect może mieć
114 rozdzielczość 10 sekund i nie obciążać zbytnio systemu.
117 Summary: %{name} libraries
118 Summary(pl.UTF-8): Biblioteki %{name}
124 %description libs -l pl.UTF-8
128 Summary: Header files for %{name} libraries
129 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
130 Group: Development/Libraries
131 Requires: %{name}-libs = %{version}-%{release}
134 Header files for %{name} libraries.
136 %description devel -l pl.UTF-8
137 Pliki nagłówkowe bibliotek %{name}.
140 Summary: Static files for %{name} libraries
141 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
142 Group: Development/Libraries
143 Requires: %{name}-libs = %{version}-%{release}
146 Static files for %{name} libraries.
148 %description static -l pl.UTF-8
149 Pliki statyczne bibliotek %{name}.
152 Summary: apache-plugin for collectd
153 Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
155 Requires: %{name} = %{version}-%{release}
158 This plugin collect data provided by Apache's `mod_status'.
160 %description apache -l pl.UTF-8
161 Wtyczka collectd zbierająca informacje udostępniane przez moduł
165 Summary: APC UPS plugin for collectd
166 Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd
168 Requires: %{name} = %{version}-%{release}
171 APC UPS plugin for collectd.
174 Summary: ascent-plugin for collectd
175 Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
177 Requires: %{name} = %{version}-%{release}
180 ascent plugin for collectd.
183 Summary: battery plugin for collectd
184 Summary(pl_PL.UTF-8): Wtyczka battery dla collectd
186 Requires: %{name} = %{version}-%{release}
189 This plugin collects the battery's charge, the drawn current and the
193 Summary: bind plugin for collectd
194 Summary(pl_PL.UTF-8): Wtyczka bind dla collectd
196 Requires: %{name} = %{version}-%{release}
199 Starting with BIND 9.5.0, the most widely used DNS server software
200 provides extensive statistics about queries, responses and lots of
201 other information. The bind plugin retrieves this information that's
202 encoded in XML and provided via HTTP and submits the values to
206 Summary: Web script for collectd
207 Summary(pl_PL.UTF-8): Web script for collectd
208 Group: Applications/WWW
209 Requires: %{name} = %{version}-%{release}
211 Requires: perl(Data::Dumper)
212 Requires: perl(HTML::Entities)
214 Requires: perl(URI::Escape)
215 Requires: webserver(cgi)
216 Suggests: fonts-TTF-DejaVu
218 %description collection
219 Web script for collectd.
222 Summary: Web script for collectd
223 Summary(pl_PL.UTF-8): Web script for collectd
224 Group: Applications/WWW
225 Requires: %{name} = %{version}-%{release}
226 Requires: perl(Config::General)
227 Requires: perl(HTML::Entities)
229 Requires: webserver(cgi)
230 Suggests: fonts-TTF-DejaVu
232 %description collection3
233 Web script for collectd.
236 Summary: conntrack-plugin for collectd
237 Summary(pl_PL.UTF-8): Wtyczka conntrack dla collectd
239 Requires: %{name} = %{version}-%{release}
241 %description conntrack
242 The conntrack-plugin collects the connection tracking table size.
245 Summary: cpu-plugin for collectd
246 Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
248 Requires: %{name} = %{version}-%{release}
251 The cpu-plugin collects the amount of time spent by the CPU in various
252 states, most notably executing user code, executing system code,
253 waiting for IO operations and being idle.
256 Summary: cpufreq-plugin for collectd
257 Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
259 Requires: %{name} = %{version}-%{release}
262 Collects the current CPU's frequency, mostly for mobile computers.
265 Summary: CSV output plugin for collectd
266 Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
268 Requires: %{name} = %{version}-%{release}
271 CSV output plugin for collectd.
274 Summary: cURL output plugin for collectd
275 Summary(pl_PL.UTF-8): Wtyczka wyjściowa cURL dla collectd
277 Requires: %{name} = %{version}-%{release}
280 The curl plugin uses the libcurl to read web pages and the match
281 infrastructure (the same code used by the tail plugin) to use regular
282 expressions with the received data.
285 Summary: dbi plugin for collectd
286 Summary(pl_PL.UTF-8): Wtyczka dbi dla collectd
288 Requires: %{name} = %{version}-%{release}
291 This plugin uses the dbi library to connect to various databases,
292 execute SQL statements and read back the results. dbi is an acronym
293 for "database interface" in case you were wondering about the name.
294 You can configure how each column is to be interpreted and the plugin
295 will generate one or more data sets from each row returned according
299 Summary: df-plugin for collectd
300 Summary(pl_PL.UTF-8): Wtyczka df dla collectd
302 Requires: %{name} = %{version}-%{release}
305 The df-plugin collects file system usage information, i. e. basically
306 how much space on a mounted partition is used and how much is
307 available. It's named after and very similar to the df(1) UNIX command
308 that's been around forever.
311 Summary: disk-plugin for collectd
312 Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
314 Requires: %{name} = %{version}-%{release}
317 This plugin collects performance statistics of harddisks and, where
318 supported, partitions.
321 Summary: dns-plugin for collectd
322 Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
324 Requires: %{name} = %{version}-%{release}
325 Requires: perl-rrdtool
328 This plugin has a similar functionality to dnstop: It uses libpcap to
329 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
330 interprets the packets and collects statistics of your DNS traffic.
333 Summary: email-plugin for collectd
334 Summary(pl_PL.UTF-8): Wtyczka email dla collectd
336 Requires: %{name} = %{version}-%{release}
339 The email plugin opens an UNIX-socket over which one can submit email
340 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
341 mails received/handled, spam scores and matched spam checks.
343 This plugin is intended to be used with the the
344 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
345 is included in contrib/, but is of course not limited to that use.
348 Summary: entropy-plugin for collectd
349 Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
351 Requires: %{name} = %{version}-%{release}
354 entropy plugin for collectd.
357 Summary: exec-plugin for collectd
358 Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
360 Requires: %{name} = %{version}-%{release}
363 The exec plugin forks of an executable either to receive values or to
364 dispatch notifications to the outside world.
367 Summary: filecount-plugin for collectd
368 Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
370 Requires: %{name} = %{version}-%{release}
372 %description filecount
373 The filecount-plugin does something very simple: Count the number of
374 files in a directory and all its subdirectories. This can be used for
375 a variety of statistics, for example the queue length of an MTA, the
376 number of PHP sessions of a web server or simply the number of files
377 in your home directory.
380 Summary: fscache-plugin for collectd
381 Summary(pl_PL.UTF-8): Wtyczka fscache dla collectd
383 Requires: %{name} = %{version}-%{release}
386 The fscache-plugin collects statistics about Linux file-system based
390 Summary: hddtemp-plugin for collectd
391 Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
393 Requires: %{name} = %{version}-%{release}
394 Suggests: hddtemp-hddtempd
397 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
398 and queried by the external hddtemp-daemon.
401 Summary: interface-plugin for collectd
402 Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
404 Requires: %{name} = %{version}-%{release}
406 %description interface
407 The interface-plugin collects information about the traffic (octets),
408 packets and errors of interfaces.
411 Summary: iptables-plugin for collectd
412 Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
414 Requires: %{name} = %{version}-%{release}
416 %description iptables
417 With this plugin you can gather statistics from your ip_tables based
418 packetfilter (aka. firewall). It can collect the byte- and
419 packet-counters of selected rules and submit them to collectd. You can
420 select rules that should be collected wither by its position (e.g.
421 "the fourth rule in the INPUT queue in the filter table") or by its
422 comment (using the COMMENT match). This means that depending on your
423 firewall layout you can collect certain services (such as the amount
424 of web-traffic), source or destination hosts or networks, dropped
425 packets and much more.
428 Summary: ipmi-plugin for collectd
429 Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
431 Requires: %{name} = %{version}-%{release}
434 ipmi plugin for collectd.
436 %description ipmi -l pl.UTF-8
437 Wtyczka ipmi dla collectd.
440 Summary: IRQs-plugin for collectd
441 Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
443 Requires: %{name} = %{version}-%{release}
446 IRQs plugin for collectd.
449 Summary: load-plugin for collectd
450 Summary(pl_PL.UTF-8): Wtyczka load dla collectd
452 Requires: %{name} = %{version}-%{release}
455 Collects the system load. These numbers give a rough overview over the
456 utilization of a machine, though their meaning is mostly overrated.
459 Summary: logfile-plugin for collectd
460 Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
462 Requires: %{name} = %{version}-%{release}
465 Logfile plugin for collectd.
468 Summary: match_regex plugin for collectd
469 Summary(pl_PL.UTF-8): Wtyczka match_regex dla collectd
471 Requires: %{name} = %{version}-%{release}
473 %description match_regex
474 match_regex plugin for collectd.
476 %package match_timediff
477 Summary: match_timediff plugin for collectd
478 Summary(pl_PL.UTF-8): Wtyczka match_timediff dla collectd
480 Requires: %{name} = %{version}-%{release}
482 %description match_timediff
483 match_timediff plugin for collectd.
486 Summary: match_value plugin for collectd
487 Summary(pl_PL.UTF-8): Wtyczka match_value dla collectd
489 Requires: %{name} = %{version}-%{release}
491 %description match_value
492 match_value plugin for collectd.
495 Summary: mbmon plugin for collectd
496 Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
498 Requires: %{name} = %{version}-%{release}
501 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
504 Summary: memcached-plugin for collectd
505 Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
507 Requires: %{name} = %{version}-%{release}
509 %description memcached
510 The memcached plugin connects to a memcached daemon and collects the
511 number of connections and requests handled by the daemon, the CPU
512 resources consumed, number of items cached, number of threads, and
513 bytes sent and received.
516 Summary: memory-plugin for collectd
517 Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
519 Requires: %{name} = %{version}-%{release}
522 Collects physical memory utilization for collectd.
525 Summary: multimeter-plugin for collectd
526 Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
528 Requires: %{name} = %{version}-%{release}
530 %description multimeter
531 Multimeter plugin for collectd.
534 Summary: mysql-plugin for collectd
535 Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
537 Requires: %{name} = %{version}-%{release}
538 Requires: mysql-client
541 MySQL querying plugin. This plugins provides data of issued commands,
542 called handlers and database traffic.
544 %description mysql -l pl.UTF-8
545 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
546 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
549 Summary: netlink-plugin for collectd
550 Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
552 Requires: %{name} = %{version}-%{release}
555 This plugin will open a netlink socket to the Linux kernel and use it
556 to get statistics for interfaces, qdiscs, classes, and, if you can
557 make use of it, filters. Since in most setups many of the statistics
558 this plugin can collect aren't of interest, you can select which
559 information to gather using the configuration.
562 Summary: network-plugin for collectd
563 Summary(pl_PL.UTF-8): Wtyczka network dla collectd
565 Requires: %{name} = %{version}-%{release}
568 nginx plugin for collectd.
571 Summary: NFS-plugin for collectd
572 Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
574 Requires: %{name} = %{version}-%{release}
577 The nfs plugin counts the number of procedure calls of the different
581 Summary: nginx-plugin for collectd
582 Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
584 Requires: %{name} = %{version}-%{release}
587 This plugin collects the number of connections and requests handled by
588 the nginx daemon, a HTTP and mail server/proxy. It queries the page
589 provided by the ngx_http_stub_status_module module, which isn't
592 %package notify_desktop
593 Summary: notify_desktop for collectd
594 Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
596 Requires: %{name} = %{version}-%{release}
597 Requires: dbus(org.freedesktop.Notifications)
599 %description notify_desktop
600 This plugin sends a desktop notification to a notification daemon, as
601 defined in the Desktop Notification Specification.
603 %package notify_email
604 Summary: notify_email-plugin for collectd
605 Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
607 Requires: %{name} = %{version}-%{release}
609 %description notify_email
610 notify_email plugin for collectd.
613 Summary: ntpd-plugin for collectd
614 Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
616 Requires: %{name} = %{version}-%{release}
619 NTPd plugin for collectd.
622 Summary: nut-plugin for collectd
623 Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
625 Requires: %{name} = %{version}-%{release}
628 UPS statistics using the Network UPS Tools. These statistics include
629 basically everything NUT will give us, including voltages, currents,
630 power, frequencies, load, and temperatures.
633 Summary: openvpn plugin for collectd
634 Summary(pl_PL.UTF-8): Wtyczka openvpn dla collectd
636 Requires: %{name} = %{version}-%{release}
640 The OpenVPN plugin reads a status file maintained by OpenVPN and
641 gathers traffic statistics about connected clients.
644 Summary: ping-plugin for collectd
645 Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
647 Requires: %{name} = %{version}-%{release}
648 Requires: liboping >= 1.1.2
651 The network latency is measured as a roundtrip time. An
652 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
653 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
654 not received within one second the plugin will no longer expect a
655 reply and return. This may happen in several circumstances, e. g. the
656 packet is lost, the host is down, a router has dismissed the packet,
660 Summary: mysql-plugin for collectd
661 Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
663 Requires: %{name} = %{version}-%{release}
665 %description postgresql
666 The postgresql plugin queries statistics from PostgreSQL databases. It
667 keeps a persistent connection to all configured databases and tries to
668 reconnect if the connection has been interrupted.
671 Summary: powerdns-plugin for collectd
672 Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
674 Requires: %{name} = %{version}-%{release}
676 %description powerdns
677 The powerdns plugin queries statistics from an authoritative PowerDNS
678 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
679 of values, many of which are probably meaningless to most users, but
680 may be useful for some.
683 Summary: processes-plugin for collectd
684 Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
686 Requires: %{name} = %{version}-%{release}
688 %description processes
689 This plugin collects the number of processes, grouped by their state
690 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
691 select detailed statistics about selected processes, grouped by name.
694 Summary: protocols-plugin for collectd
695 Summary(pl_PL.UTF-8): Wtyczka protocols dla collectd
697 Requires: %{name} = %{version}-%{release}
699 %description protocols
700 The protocols-plugin provides information about network protocols,
701 such as IP, TCP and UDP.
704 Summary: rrdtool-plugin for collectd
705 Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
707 Requires: %{name} = %{version}-%{release}
711 RRDTOOL plugin for collectd.
714 Summary: sensors-plugin for collectd
715 Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
717 Requires: %{name} = %{version}-%{release}
720 This plugin uses lm-sensors to read hardware sensors. You will need to
721 configure lm-sensors before this plugin will collect any usefull and
725 Summary: serial-plugin for collectd
726 Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
728 Requires: %{name} = %{version}-%{release}
731 Serial plugin for collectd.
734 Summary: snmp-plugin for collectd
735 Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
737 Requires: %{name} = %{version}-%{release}
740 The snmp plugin queries other hosts using SNMP, the Simple Network
741 Management Protocol, and translates the value it receives to
742 collectd's internal format and dispatches them. Depending on the write
743 plugins you have loaded they may be written to disk or submitted to
744 another instance or whatever you configured.
747 Summary: swap-plugin for collectd
748 Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
750 Requires: %{name} = %{version}-%{release}
753 Swap space plugin for collectd.
756 Summary: syslog-plugin for collectd
757 Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
759 Requires: %{name} = %{version}-%{release}
762 Syslog plugin for collectd.
765 Summary: table-plugin for collectd
766 Summary(pl_PL.UTF-8): Wtyczka table dla collectd
768 Requires: %{name} = %{version}-%{release}
771 The table-plugin provides parsing for table-like structured files,
772 such as many files beneath /proc.
774 %package target_notification
775 Summary: target_notification-plugin for collectd
776 Summary(pl_PL.UTF-8): Wtyczka target_notification dla collectd
778 Requires: %{name} = %{version}-%{release}
780 %description target_notification
781 target_notification plugin for collectd.
783 %package target_replace
784 Summary: target_replace-plugin for collectd
785 Summary(pl_PL.UTF-8): Wtyczka target_replace dla collectd
787 Requires: %{name} = %{version}-%{release}
789 %description target_replace
790 target_replace plugin for collectd.
793 Summary: target_set-plugin for collectd
794 Summary(pl_PL.UTF-8): Wtyczka target_set dla collectd
796 Requires: %{name} = %{version}-%{release}
798 %description target_set
799 target_set plugin for collectd.
802 Summary: tail-plugin for collectd
803 Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
805 Requires: %{name} = %{version}-%{release}
808 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
809 tail -F does. Each line is given to one or more "matches" which test
810 if the line is relevant for any statistics using a regular expression.
813 Summary: tcpconns-plugin for collectd
814 Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
816 Requires: %{name} = %{version}-%{release}
818 %description tcpconns
819 The tcpconns-plugin counts the number of TCP connections to or from a
820 specified port. Typically the connectioins where you specify the local
821 port are incoming connections while the connections where you specify
822 the remote port are outgoing connections.
825 Summary: teamspeak2-plugin for collectd
826 Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
828 Requires: %{name} = %{version}-%{release}
830 %description teamspeak2
831 The teamspeak2 plugin connects to the query port of a teamspeak2
832 server and polls interesting global and virtual server data. The
833 plugin can query only one physical server but unlimited virtual
837 Summary: ted-plugin for collectd
838 Summary(pl_PL.UTF-8): Wtyczka ted dla collectd
840 Requires: %{name} = %{version}-%{release}
843 The TED-plugin reads power consumption measurements from “The Energy
847 Summary: thermal-plugin for collectd
848 Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
850 Requires: %{name} = %{version}-%{release}
853 Thermal plugin for collectd.
856 Summary: unixsock-plugin for collectd
857 Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
859 Requires: %{name} = %{version}-%{release}
861 %description unixsock
862 The unixsock plugin opens an UNIX-socket over which one can interact
863 with the daemon. This can be used to use the values collected by
864 collectd in other applications, such as monitoring, or submit
865 externally collected values to collectd.
868 Summary: uptime-plugin for collectd
869 Summary(pl_PL.UTF-8): Wtyczka uptime dla collectd
871 Requires: %{name} = %{version}-%{release}
874 The uptime-plugin can collect the server's uptime.
877 Summary: users-plugin for collectd
878 Summary(pl_PL.UTF-8): Wtyczka users dla collectd
880 Requires: %{name} = %{version}-%{release}
883 Number of users currently logged in.
886 Summary: uuid-plugin for collectd
887 Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
889 Requires: %{name} = %{version}-%{release}
892 This plugin, if loaded, causes the Hostname to be taken from the
893 machine's UUID. The UUID is a universally unique designation for the
894 machine, usually taken from the machine's BIOS. This is most useful if
895 the machine is running in a virtual environment such as Xen, in which
896 case the UUID is preserved across shutdowns and migration.
899 Summary: vmem-plugin for collectd
900 Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
902 Requires: %{name} = %{version}-%{release}
905 The vmem plugin collects information about the usage of virtual
906 memory. Since the statistics provided by the Linux kernel are very
907 detailed, they are collected very detailed.
910 Summary: vserver-plugin for collectd
911 Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
913 Requires: %{name} = %{version}-%{release}
916 Collects information about the virtual servers running on a system,
920 Summary: wireless-plugin for collectd
921 Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
923 Requires: %{name} = %{version}-%{release}
925 %description wireless
926 Wireless plugin for collectd.
929 Summary: xmms-plugin for collectd
930 Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
932 Requires: %{name} = %{version}-%{release}
935 This plugin collectd data provided by XMMS.
937 %package -n perl-Collectd
938 Summary: Perl files from Collectd package
941 %description -n perl-Collectd
942 Perl files from Collectd package
956 --with-libstatgrab=/usr \
957 --with-lm-sensors=/usr \
958 --with-libmysql=/usr \
959 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
960 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
961 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
962 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
963 --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
964 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
965 --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
966 --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
967 --%{?with_ups:en}%{!?with_ups:dis}able-nut \
968 --%{?with_ping:en}%{!?with_ping:dis}able-ping \
969 --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
970 --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
971 --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
972 --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
973 --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
974 %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
975 %{!?with_xml:--disable-{ascent,bind,libvirt}} \
981 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
982 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
983 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
986 rm -rf $RPM_BUILD_ROOT
987 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
988 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/}
991 DESTDIR=$RPM_BUILD_ROOT
993 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
994 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
997 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
998 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
999 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1000 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1001 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1003 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1005 ### Configs instalation ###
1006 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1007 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1008 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1011 # Example config in sources: src/collectd.conf
1012 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1014 # Overwrite only files which we want to change:
1015 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1016 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1018 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1021 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1024 rm -rf $RPM_BUILD_ROOT
1027 /sbin/chkconfig --add %{name}
1028 %service %{name} restart
1031 if [ "$1" = "0" ]; then
1032 %service -q %{name} stop
1033 /sbin/chkconfig --del %{name}
1036 %post libs -p /sbin/ldconfig
1037 %postun libs -p /sbin/ldconfig
1039 %define module_scripts() \
1041 %service %{name} restart \
1044 %service %{name} restart
1046 %module_scripts apache
1047 %module_scripts apcups
1048 %module_scripts ascent
1049 %module_scripts battery
1050 %module_scripts bind
1051 %module_scripts conntrack
1053 %module_scripts cpufreq
1055 %module_scripts curl
1058 %module_scripts disk
1060 %module_scripts email
1061 %module_scripts entropy
1062 %module_scripts exec
1063 %module_scripts filecount
1064 %module_scripts fscache
1065 %module_scripts hddtemp
1066 %module_scripts interface
1067 %module_scripts ipmi
1068 %module_scripts iptables
1070 %module_scripts load
1071 %module_scripts logfile
1072 %module_scripts match_regex
1073 %module_scripts match_timediff
1074 %module_scripts match_value
1075 %module_scripts mbmon
1076 %module_scripts memcached
1077 %module_scripts memory
1078 %module_scripts multimeter
1079 %module_scripts mysql
1080 %module_scripts netlink
1081 %module_scripts network
1083 %module_scripts nginx
1084 %module_scripts notify_desktop
1085 %module_scripts notify_email
1086 %module_scripts ntpd
1088 %module_scripts openvpn
1089 %module_scripts ping
1090 %module_scripts postgresql
1091 %module_scripts powerdns
1092 %module_scripts processes
1093 %module_scripts protocols
1094 %module_scripts rrdtool
1095 %module_scripts sensors
1096 %module_scripts serial
1097 %module_scripts snmp
1098 %module_scripts swap
1099 %module_scripts syslog
1100 %module_scripts table
1101 %module_scripts tail
1102 %module_scripts target_notification
1103 %module_scripts target_replace
1104 %module_scripts target_set
1105 %module_scripts tcpconns
1106 %module_scripts teamspeak2
1108 %module_scripts thermal
1109 %module_scripts unixsock
1110 %module_scripts uptime
1111 %module_scripts users
1112 %module_scripts uuid
1113 %module_scripts vmem
1114 %module_scripts vserver
1115 %module_scripts wireless
1116 %module_scripts xmms
1118 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1119 %webapp_register apache %{_webapp}
1121 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1122 %webapp_unregister apache %{_webapp}
1124 %triggerin collection -- apache < 2.2.0, apache-base
1125 %webapp_register httpd %{_webapp}
1127 %triggerun collection -- apache < 2.2.0, apache-base
1128 %webapp_unregister httpd %{_webapp}
1130 %triggerin collection -- lighttpd
1131 %webapp_register lighttpd %{_webapp}
1133 %triggerun collection -- lighttpd
1134 %webapp_unregister lighttpd %{_webapp}
1137 %defattr(644,root,root,755)
1138 %doc AUTHORS ChangeLog README TODO contrib
1139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1140 %dir %{_sysconfdir}/%{name}.d
1141 %attr(755,root,root) %{_sbindir}/collectd
1142 %attr(755,root,root) %{_sbindir}/collectdmon
1143 %attr(755,root,root) %{_bindir}/collectd-nagios
1144 %dir %{_datadir}/%{name}
1145 %{_datadir}/%{name}/types.db
1146 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1147 %{_mandir}/man1/collectd.1*
1148 %{_mandir}/man1/collectd-nagios.1*
1149 %{_mandir}/man1/collectdmon.1*
1150 %{_mandir}/man5/collectd.conf.5*
1151 %{_mandir}/man5/collectd-java.5*
1152 %{_mandir}/man5/collectd-perl.5*
1153 %{_mandir}/man5/types.db.5*
1154 %dir %{_var}/lib/%{name}
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1159 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1160 %dir %{_libdir}/%{name}
1163 %defattr(644,root,root,755)
1164 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1165 %{_libdir}/libcollectdclient.la
1166 %dir %{_includedir}/%{name}
1167 %{_includedir}/%{name}/*.h
1168 %{_pkgconfigdir}/libcollectdclient.pc
1171 %defattr(644,root,root,755)
1172 %{_libdir}/libcollectdclient.a
1173 %{_libdir}/%{name}/*.a
1176 %defattr(644,root,root,755)
1178 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1179 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1180 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1181 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1183 %dir %{_appdir}/cgi-bin
1184 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1187 %defattr(644,root,root,755)
1188 %{_appdir}/collection3
1194 %defattr(640,root,root,755)
1195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1196 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1201 %defattr(644,root,root,755)
1202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1203 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1207 %defattr(640,root,root,755)
1208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1209 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1213 %defattr(644,root,root,755)
1214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1215 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1220 %defattr(644,root,root,755)
1221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1222 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1227 %defattr(644,root,root,755)
1228 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1229 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1232 %defattr(644,root,root,755)
1233 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1234 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1237 %defattr(644,root,root,755)
1238 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1239 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1242 %defattr(644,root,root,755)
1243 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1244 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1248 %defattr(640,root,root,755)
1249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1250 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1254 %defattr(640,root,root,755)
1255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1256 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1259 %defattr(644,root,root,755)
1260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1261 %attr(755,root,root) %{_libdir}/%{name}/df.so
1264 %defattr(644,root,root,755)
1265 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1266 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1270 %defattr(644,root,root,755)
1271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1272 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1276 %defattr(644,root,root,755)
1277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1278 %attr(755,root,root) %{_libdir}/%{name}/email.so
1279 %{_mandir}/man5/collectd-email.5*
1282 %defattr(644,root,root,755)
1283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1284 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1287 %defattr(644,root,root,755)
1288 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1289 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1290 %{_mandir}/man5/collectd-exec.5*
1293 %defattr(644,root,root,755)
1294 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1295 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1298 %defattr(644,root,root,755)
1299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1300 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1303 %defattr(644,root,root,755)
1304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1305 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1308 %defattr(644,root,root,755)
1309 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1310 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1314 %defattr(644,root,root,755)
1315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1316 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1319 %if %{with iptables}
1321 %defattr(644,root,root,755)
1322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1323 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1327 %defattr(644,root,root,755)
1328 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1329 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1332 %defattr(644,root,root,755)
1333 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1334 %attr(755,root,root) %{_libdir}/%{name}/load.so
1337 %defattr(644,root,root,755)
1338 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1339 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1340 %{_var}/log/collectd.log
1343 %defattr(644,root,root,755)
1344 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1345 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1347 %files match_timediff
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1353 %defattr(644,root,root,755)
1354 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1355 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1358 %defattr(644,root,root,755)
1359 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1360 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1363 %defattr(644,root,root,755)
1364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1365 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1368 %defattr(644,root,root,755)
1369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1370 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1372 %if %{with multimeter}
1374 %defattr(644,root,root,755)
1375 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1376 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1381 %defattr(640,root,root,755)
1382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1383 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1388 %defattr(644,root,root,755)
1389 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1390 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1394 %defattr(644,root,root,755)
1395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1396 %attr(755,root,root) %{_libdir}/%{name}/network.so
1399 %defattr(644,root,root,755)
1400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1401 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1405 %defattr(640,root,root,755)
1406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1407 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1411 %files notify_desktop
1412 %defattr(644,root,root,755)
1413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1414 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1417 %if %{with libesmtp}
1419 %defattr(640,root,root,755)
1420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1421 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1425 %defattr(644,root,root,755)
1426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1427 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1431 %defattr(644,root,root,755)
1432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1433 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1437 %defattr(644,root,root,755)
1438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1439 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1443 %defattr(644,root,root,755)
1444 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1445 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1450 %defattr(640,root,root,755)
1451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1452 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1453 %{_datadir}/%{name}/postgresql_default.conf
1457 %defattr(644,root,root,755)
1458 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1459 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1462 %defattr(644,root,root,755)
1463 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1464 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1467 %defattr(644,root,root,755)
1468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1469 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1473 %defattr(644,root,root,755)
1474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1475 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1480 %defattr(644,root,root,755)
1481 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1482 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1486 %defattr(644,root,root,755)
1487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1488 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1492 %defattr(644,root,root,755)
1493 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1494 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1495 %{_mandir}/man5/collectd-snmp.5*
1499 %defattr(644,root,root,755)
1500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1501 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1504 %defattr(644,root,root,755)
1505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1506 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1509 %defattr(644,root,root,755)
1510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1511 %attr(755,root,root) %{_libdir}/%{name}/table.so
1514 %defattr(644,root,root,755)
1515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1516 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1518 %files target_notification
1519 %defattr(644,root,root,755)
1520 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1521 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1523 %files target_replace
1524 %defattr(644,root,root,755)
1525 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1526 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1529 %defattr(644,root,root,755)
1530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1531 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1534 %defattr(644,root,root,755)
1535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1536 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1539 %defattr(644,root,root,755)
1540 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1541 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1544 %defattr(644,root,root,755)
1545 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1546 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1549 %defattr(644,root,root,755)
1550 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1551 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1554 %defattr(644,root,root,755)
1555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1556 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1557 %{_mandir}/man5/collectd-unixsock.5*
1560 %defattr(644,root,root,755)
1561 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1562 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1565 %defattr(644,root,root,755)
1566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1567 %attr(755,root,root) %{_libdir}/%{name}/users.so
1570 %defattr(644,root,root,755)
1571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1572 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1575 %defattr(644,root,root,755)
1576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1577 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1580 %defattr(644,root,root,755)
1581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1582 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1585 %defattr(644,root,root,755)
1586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1587 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1591 %defattr(644,root,root,755)
1592 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1593 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1596 %files -n perl-Collectd
1597 %defattr(644,root,root,755)
1598 %{perl_vendorlib}/Collectd.pm
1599 %{perl_vendorlib}/Collectd