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 (needs libperl)
11 # tape . . . . . . . no ?
12 # - logrotate file for logfile plugin
13 # - %desc -l pl for plugins
16 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
17 %bcond_without dns # DNS plugin
18 %bcond_without ipmi # IPMI plugin
19 %bcond_without iptables # iptables plugin
20 %bcond_without libesmtp # notify_email plugin
21 %bcond_with multimeter # multimeter plugin
22 %bcond_without mysql # MySQL plugin
23 %bcond_without netlink # netlink plugin
24 %bcond_without notify # notify_desktop plugin
25 %bcond_without ping # ping plugin
26 %bcond_without psql # PostgreSQL plugin
27 %bcond_without rrd # rrdtool and rrdcached plugins
28 %bcond_without sensors # sensors plugin
29 %bcond_without snmp # SNMP plugin
30 %bcond_without ups # nut plugin
31 %bcond_without xml # ascent, bind and libvirt plugins
32 %bcond_without xmms # XMMS plugin
34 #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
36 %undefine with_iptables
37 %undefine with_netlink
39 Summary: Collects system information in RRD files
40 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
46 Source0: http://collectd.org/files/%{name}-%{version}.tar.gz
47 # Source0-md5: 9eee46a6330780d6e6b41155b159f4f9
50 Source3: %{name}-http.conf
51 Source4: %{name}-lighttpd.conf
52 Source10: %{name}-df.conf
53 Source11: %{name}-rrdtool.conf
54 Patch0: %{name}-collection.patch
55 URL: http://collectd.org/
56 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
57 BuildRequires: autoconf
58 BuildRequires: automake
59 %{?with_curl:BuildRequires: curl-devel}
60 BuildRequires: gcc-c++
61 BuildRequires: hal-devel
62 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
63 BuildRequires: libdbi-devel
64 %{?with_libesmtp:BuildRequires: libesmtp-devel}
65 BuildRequires: libltdl-devel
66 %{?with_netlink:BuildRequires: libnetlink-devel}
67 %{?with_notify:BuildRequires: libnotify-devel}
68 %{?with_ping:BuildRequires: liboping-devel}
69 %{?with_dns:BuildRequires: libpcap-devel}
70 BuildRequires: libstatgrab-devel >= 0.12
71 BuildRequires: libtool
72 %{?with_xml:BuildRequires: libxml2-devel}
73 %{?with_sensors:BuildRequires: lm_sensors-devel}
74 %{?with_mysql:BuildRequires: mysql-devel}
75 %{?with_ups:BuildRequires: nut-devel}
76 BuildRequires: perl-devel
77 %{?with_psql:BuildRequires: postgresql-devel}
78 BuildRequires: rpmbuild(macros) >= 1.268
79 %{?with_rrd:BuildRequires: rrdtool-devel}
80 %{?with_snmp:BuildRequires: net-snmp-devel}
81 %{?with_xmms:BuildRequires: xmms-devel}
82 Requires(post,preun): /sbin/chkconfig
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 %define _pkglibdir %{_sharedstatedir}/%{name}
87 %define _webapps /etc/webapps
88 %define _webapp %{name}
89 %define _webappdir %{_webapps}/%{_webapp}
90 %define _appdir %{_datadir}/%{_webapp}
93 collectd is a small daemon which collects system information every 10
94 seconds and writes the results in an RRD-file.
96 In contrast to most similar software, collectd is not a script but
97 written in plain C for performance and portability. As a daemon it
98 stays in memory, so there is no need to start up a heavy interpreter
99 every time new values should be logged. This allows collectd to have a
100 10 second resolution while being nice to the system.
102 %description -l pl.UTF-8
103 collectd to mały demon zbierający co 10 sekund informacje o systemie i
104 zapisujący wyniki do pliku RRD.
106 W odróżnieniu od innych podobnych programów collectd nie jest
107 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
108 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
109 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
110 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
111 sekund i nie obciążać zbytnio systemu.
114 Summary: %{name} libraries
115 Summary(pl.UTF-8): Biblioteki %{name}
121 %description libs -l pl.UTF-8
125 Summary: Header files for %{name} libraries
126 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
127 Group: Development/Libraries
128 Requires: %{name}-libs = %{version}-%{release}
131 Header files for %{name} libraries.
133 %description devel -l pl.UTF-8
134 Pliki nagłówkowe bibliotek %{name}.
137 Summary: apache-plugin for collectd
138 Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
140 Requires: %{name} = %{version}-%{release}
143 This plugin collectd data provided by Apache's `mod_status'.
145 %description apache -l pl.UTF-8
146 Wtyczka collectd zbierająca informacje udostępniane przez moduł
150 Summary: APC UPS plugin for collectd
151 Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd
153 Requires: %{name} = %{version}-%{release}
156 APC UPS plugin for collectd.
159 Summary: ascent-plugin for collectd
160 Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
162 Requires: %{name} = %{version}-%{release}
165 ascent plugin for collectd.
168 Summary: battery plugin for collectd
169 Summary(pl_PL.UTF-8): Wtyczka battery dla collectd
171 Requires: %{name} = %{version}-%{release}
174 This plugin collects the battery's charge, the drawn current and the
178 Summary: bind plugin for collectd
179 Summary(pl_PL.UTF-8): Wtyczka bind dla collectd
181 Requires: %{name} = %{version}-%{release}
184 Starting with BIND 9.5.0, the most widely used DNS server software provides
185 extensive statistics about queries, responses and lots of other information.
186 The bind plugin retrieves this information that's encoded in XML and provided
187 via HTTP and submits the values to collectd.
190 Summary: Web script for collectd
191 Summary(pl_PL.UTF-8): Web script for collectd
192 Group: Applications/WWW
193 Requires: %{name} = %{version}-%{release}
195 Requires: perl(Data::Dumper)
196 Requires: perl(HTML::Entities)
198 Requires: perl(URI::Escape)
199 Requires: webserver(cgi)
200 Suggests: fonts-TTF-DejaVu
202 %description collection
203 Web script for collectd.
206 Summary: cpu-plugin for collectd
207 Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
209 Requires: %{name} = %{version}-%{release}
212 The cpu-plugin collects the amount of time spent by the CPU in various states,
213 most notably executing user code, executing system code, waiting for IO
214 operations and being idle.
217 Summary: cpufreq-plugin for collectd
218 Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
220 Requires: %{name} = %{version}-%{release}
223 Collects the current CPU's frequency, mostly for mobile computers.
226 Summary: CSV output plugin for collectd
227 Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
229 Requires: %{name} = %{version}-%{release}
232 CSV output plugin for collectd.
235 Summary: cURL output plugin for collectd
236 Summary(pl_PL.UTF-8): Wtyczka wyjściowa cURL dla collectd
238 Requires: %{name} = %{version}-%{release}
241 The curl plugin uses the libcurl to read web pages and the match
242 infrastructure (the same code used by the tail plugin) to use regular
243 expressions with the received data.
246 Summary: dbi plugin for collectd
247 Summary(pl_PL.UTF-8): Wtyczka dbi dla collectd
249 Requires: %{name} = %{version}-%{release}
252 This plugin uses the dbi library to connect to various databases, execute
253 SQL statements and read back the results. dbi is an acronym for "database
254 interface" in case you were wondering about the name. You can configure how
255 each column is to be interpreted and the plugin will generate one or more
256 data sets from each row returned according to these rules.
259 Summary: df-plugin for collectd
260 Summary(pl_PL.UTF-8): Wtyczka df dla collectd
262 Requires: %{name} = %{version}-%{release}
265 The df-plugin collects file system usage information, i. e. basically how
266 much space on a mounted partition is used and how much is available. It's
267 named after and very similar to the df(1) UNIX command that's been around
271 Summary: disk-plugin for collectd
272 Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
274 Requires: %{name} = %{version}-%{release}
277 This plugin collects performance statistics of harddisks and, where
278 supported, partitions.
281 Summary: dns-plugin for collectd
282 Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
284 Requires: %{name} = %{version}-%{release}
285 Requires: perl-rrdtool
288 This plugin has a similar functionality to dnstop: It uses libpcap to get
289 a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
290 the packets and collects statistics of your DNS traffic.
293 Summary: email-plugin for collectd
294 Summary(pl_PL.UTF-8): Wtyczka email dla collectd
296 Requires: %{name} = %{version}-%{release}
299 The email plugin opens an UNIX-socket over which one can submit email
300 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
301 received/handled, spam scores and matched spam checks.
303 This plugin is intended to be used with the the
304 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
305 included in contrib/, but is of course not limited to that use.
308 Summary: entropy-plugin for collectd
309 Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
311 Requires: %{name} = %{version}-%{release}
314 entropy plugin for collectd.
317 Summary: exec-plugin for collectd
318 Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
320 Requires: %{name} = %{version}-%{release}
323 The exec plugin forks of an executable either to receive values or to
324 dispatch notifications to the outside world.
327 Summary: filecount-plugin for collectd
328 Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
330 Requires: %{name} = %{version}-%{release}
332 %description filecount
333 The filecount-plugin does something very simple: Count the number of files
334 in a directory and all its subdirectories. This can be used for a variety of
335 statistics, for example the queue length of an MTA, the number of PHP
336 sessions of a web server or simply the number of files in your home
340 Summary: hddtemp-plugin for collectd
341 Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
343 Requires: %{name} = %{version}-%{release}
344 Suggests: hddtemp-hddtempd
347 Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
348 queried by the external hddtemp-daemon.
351 Summary: interface-plugin for collectd
352 Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
354 Requires: %{name} = %{version}-%{release}
356 %description interface
357 The interface-plugin collects information about the traffic (octets), packets
358 and errors of interfaces.
361 Summary: iptables-plugin for collectd
362 Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
364 Requires: %{name} = %{version}-%{release}
366 %description iptables
367 With this plugin you can gather statistics from your ip_tables based
368 packetfilter (aka. firewall). It can collect the byte- and packet-counters
369 of selected rules and submit them to collectd. You can select rules that
370 should be collected wither by its position (e.g. "the fourth rule in the
371 INPUT queue in the filter table") or by its comment (using the COMMENT
372 match). This means that depending on your firewall layout you can collect
373 certain services (such as the amount of web-traffic), source or destination
374 hosts or networks, dropped packets and much more.
377 Summary: ipmi-plugin for collectd
378 Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
380 Requires: %{name} = %{version}-%{release}
383 ipmi plugin for collectd.
385 %description ipmi -l pl.UTF-8
386 Wtyczka ipmi dla collectd.
389 Summary: IRQs-plugin for collectd
390 Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
392 Requires: %{name} = %{version}-%{release}
395 IRQs plugin for collectd.
398 Summary: load-plugin for collectd
399 Summary(pl_PL.UTF-8): Wtyczka load dla collectd
401 Requires: %{name} = %{version}-%{release}
404 Collects the system load. These numbers give a rough overview over the
405 utilization of a machine, though their meaning is mostly overrated.
408 Summary: logfile-plugin for collectd
409 Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
411 Requires: %{name} = %{version}-%{release}
414 Logfile plugin for collectd.
417 Summary: match_regex plugin for collectd
418 Summary(pl_PL.UTF-8): Wtyczka match_regex dla collectd
420 Requires: %{name} = %{version}-%{release}
422 %description match_regex
423 match_regex plugin for collectd.
425 %package match_timediff
426 Summary: match_timediff plugin for collectd
427 Summary(pl_PL.UTF-8): Wtyczka match_timediff dla collectd
429 Requires: %{name} = %{version}-%{release}
431 %description match_timediff
432 match_timediff plugin for collectd.
435 Summary: match_value plugin for collectd
436 Summary(pl_PL.UTF-8): Wtyczka match_value dla collectd
438 Requires: %{name} = %{version}-%{release}
440 %description match_value
441 match_value plugin for collectd.
444 Summary: mbmon plugin for collectd
445 Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
447 Requires: %{name} = %{version}-%{release}
450 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
453 Summary: memcached-plugin for collectd
454 Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
456 Requires: %{name} = %{version}-%{release}
458 %description memcached
459 The memcached plugin connects to a memcached daemon and collects the number
460 of connections and requests handled by the daemon, the CPU resources consumed,
461 number of items cached, number of threads, and bytes sent and received.
464 Summary: memory-plugin for collectd
465 Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
467 Requires: %{name} = %{version}-%{release}
470 Collects physical memory utilization for collectd.
473 Summary: multimeter-plugin for collectd
474 Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
476 Requires: %{name} = %{version}-%{release}
478 %description multimeter
479 Multimeter plugin for collectd.
482 Summary: mysql-plugin for collectd
483 Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
485 Requires: %{name} = %{version}-%{release}
488 MySQL querying plugin. This plugins provides data of issued commands,
489 called handlers and database traffic.
491 %description mysql -l pl.UTF-8
492 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
493 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
496 Summary: netlink-plugin for collectd
497 Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
499 Requires: %{name} = %{version}-%{release}
502 This plugin will open a netlink socket to the Linux kernel and use it to get
503 statistics for interfaces, qdiscs, classes, and, if you can make use of it,
504 filters. Since in most setups many of the statistics this plugin can collect
505 aren't of interest, you can select which information to gather using the
509 Summary: network-plugin for collectd
510 Summary(pl_PL.UTF-8): Wtyczka network dla collectd
512 Requires: %{name} = %{version}-%{release}
515 nginx plugin for collectd.
518 Summary: NFS-plugin for collectd
519 Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
521 Requires: %{name} = %{version}-%{release}
524 The nfs plugin counts the number of procedure calls of the different NFS
528 Summary: nginx-plugin for collectd
529 Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
531 Requires: %{name} = %{version}-%{release}
534 This plugin collects the number of connections and requests handled by the
535 nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
536 the ngx_http_stub_status_module module, which isn't compiled by default.
538 %package notify_desktop
539 Summary: notify_desktop for collectd
540 Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
542 Requires: %{name} = %{version}-%{release}
544 %description notify_desktop
545 This plugin sends a desktop notification to a notification daemon, as
546 defined in the Desktop Notification Specification. To actually display the
547 notifications, notification-daemon is required and collectd has to be able
548 to access the X server.
550 %package notify_email
551 Summary: notify_email-plugin for collectd
552 Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
554 Requires: %{name} = %{version}-%{release}
556 %description notify_email
557 notify_email plugin for collectd.
560 Summary: ntpd-plugin for collectd
561 Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
563 Requires: %{name} = %{version}-%{release}
566 NTPd plugin for collectd.
569 Summary: nut-plugin for collectd
570 Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
572 Requires: %{name} = %{version}-%{release}
575 UPS statistics using the Network UPS Tools. These statistics include
576 basically everything NUT will give us, including voltages, currents, power,
577 frequencies, load, and temperatures.
580 Summary: openvpn plugin for collectd
581 Summary(pl_PL.UTF-8): Wtyczka openvpn dla collectd
583 Requires: %{name} = %{version}-%{release}
587 The OpenVPN plugin reads a status file maintained by OpenVPN and gathers
588 traffic statistics about connected clients.
591 Summary: ping-plugin for collectd
592 Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
594 Requires: %{name} = %{version}-%{release}
597 The network latency is measured as a roundtrip time. An ICMP-echo-request
598 (aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
599 "pong") to arrive is measured. If a reply is not received within one second
600 the plugin will no longer expect a reply and return. This may happen in
601 several circumstances, e. g. the packet is lost, the host is down, a router
602 has dismissed the packet, etc.
605 Summary: mysql-plugin for collectd
606 Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
608 Requires: %{name} = %{version}-%{release}
610 %description postgresql
611 The postgresql plugin queries statistics from PostgreSQL databases. It keeps
612 a persistent connection to all configured databases and tries to reconnect
613 if the connection has been interrupted.
616 Summary: powerdns-plugin for collectd
617 Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
619 Requires: %{name} = %{version}-%{release}
621 %description powerdns
622 The powerdns plugin queries statistics from an authoritative PowerDNS
623 nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
624 values, many of which are probably meaningless to most users, but may be
628 Summary: processes-plugin for collectd
629 Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
631 Requires: %{name} = %{version}-%{release}
633 %description processes
634 This plugin collects the number of processes, grouped by their state (e.g.
635 running, sleeping, zombies, etc.). In addition to that, it can select
636 detailed statistics about selected processes, grouped by name.
639 Summary: rrdtool-plugin for collectd
640 Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
642 Requires: %{name} = %{version}-%{release}
646 RRDTOOL plugin for collectd.
649 Summary: sensors-plugin for collectd
650 Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
652 Requires: %{name} = %{version}-%{release}
655 This plugin uses lm-sensors to read hardware sensors. You will need to
656 configure lm-sensors before this plugin will collect any usefull and correct
660 Summary: serial-plugin for collectd
661 Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
663 Requires: %{name} = %{version}-%{release}
666 Serial plugin for collectd.
669 Summary: snmp-plugin for collectd
670 Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
672 Requires: %{name} = %{version}-%{release}
675 The snmp plugin queries other hosts using SNMP, the Simple Network
676 Management Protocol, and translates the value it receives to collectd's
677 internal format and dispatches them. Depending on the write plugins you have
678 loaded they may be written to disk or submitted to another instance or
679 whatever you configured.
682 Summary: swap-plugin for collectd
683 Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
685 Requires: %{name} = %{version}-%{release}
688 Swap space plugin for collectd.
691 Summary: syslog-plugin for collectd
692 Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
694 Requires: %{name} = %{version}-%{release}
697 Syslog plugin for collectd.
699 %package target_notification
700 Summary: target_notification-plugin for collectd
701 Summary(pl_PL.UTF-8): Wtyczka target_notification dla collectd
703 Requires: %{name} = %{version}-%{release}
705 %description target_notification
706 target_notification plugin for collectd.
708 %package target_replace
709 Summary: target_replace-plugin for collectd
710 Summary(pl_PL.UTF-8): Wtyczka target_replace dla collectd
712 Requires: %{name} = %{version}-%{release}
714 %description target_replace
715 target_replace plugin for collectd.
718 Summary: target_set-plugin for collectd
719 Summary(pl_PL.UTF-8): Wtyczka target_set dla collectd
721 Requires: %{name} = %{version}-%{release}
723 %description target_set
724 target_set plugin for collectd.
727 Summary: tail-plugin for collectd
728 Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
730 Requires: %{name} = %{version}-%{release}
733 The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
734 does. Each line is given to one or more "matches" which test if the line is
735 relevant for any statistics using a regular expression.
738 Summary: tcpconns-plugin for collectd
739 Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
741 Requires: %{name} = %{version}-%{release}
743 %description tcpconns
744 The tcpconns-plugin counts the number of TCP connections to or from a
745 specified port. Typically the connectioins where you specify the local port
746 are incoming connections while the connections where you specify the remote
747 port are outgoing connections.
750 Summary: teamspeak2-plugin for collectd
751 Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
753 Requires: %{name} = %{version}-%{release}
755 %description teamspeak2
756 The teamspeak2 plugin connects to the query port of a teamspeak2 server and
757 polls interesting global and virtual server data. The plugin can query only
758 one physical server but unlimited virtual servers.
761 Summary: thermal-plugin for collectd
762 Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
764 Requires: %{name} = %{version}-%{release}
767 Thermal plugin for collectd.
770 Summary: unixsock-plugin for collectd
771 Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
773 Requires: %{name} = %{version}-%{release}
775 %description unixsock
776 The unixsock plugin opens an UNIX-socket over which one can interact with
777 the daemon. This can be used to use the values collected by collectd in
778 other applications, such as monitoring, or submit externally collected
782 Summary: users-plugin for collectd
783 Summary(pl_PL.UTF-8): Wtyczka users dla collectd
785 Requires: %{name} = %{version}-%{release}
788 Number of users currently logged in.
791 Summary: uuid-plugin for collectd
792 Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
794 Requires: %{name} = %{version}-%{release}
797 This plugin, if loaded, causes the Hostname to be taken from the machine's
798 UUID. The UUID is a universally unique designation for the machine, usually
799 taken from the machine's BIOS. This is most useful if the machine is
800 running in a virtual environment such as Xen, in which case the UUID is
801 preserved across shutdowns and migration.
804 Summary: vmem-plugin for collectd
805 Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
807 Requires: %{name} = %{version}-%{release}
810 The vmem plugin collects information about the usage of virtual memory.
811 Since the statistics provided by the Linux kernel are very detailed, they
812 are collected very detailed.
815 Summary: vserver-plugin for collectd
816 Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
818 Requires: %{name} = %{version}-%{release}
821 Collects information about the virtual servers running on a system, using
825 Summary: wireless-plugin for collectd
826 Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
828 Requires: %{name} = %{version}-%{release}
830 %description wireless
831 Wireless plugin for collectd.
834 Summary: xmms-plugin for collectd
835 Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
837 Requires: %{name} = %{version}-%{release}
840 This plugin collectd data provided by XMMS.
854 --with-libstatgrab=/usr \
855 --with-lm-sensors=/usr \
856 --with-libmysql=/usr \
857 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
858 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
859 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
860 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
861 --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
862 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
863 --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
864 --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
865 --%{?with_ups:en}%{!?with_ups:dis}able-nut \
866 --%{?with_ping:en}%{!?with_ping:dis}able-ping \
867 --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
868 --%{?with_rrd:en}%{!?with_rrd:dis}able-rrd{cached,tool} \
869 --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
870 --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
871 --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
872 %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
873 %{!?with_xml:--disable-{ascent,bind,libvirt}} \
879 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
880 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
881 BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
884 rm -rf $RPM_BUILD_ROOT
885 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
886 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
889 DESTDIR=$RPM_BUILD_ROOT
891 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
892 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
895 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
896 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
897 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
898 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
899 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
901 ### Configs instalation ###
902 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
903 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
904 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
907 # Example config in sources: src/collectd.conf
908 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
910 # Overwrite only files which we want to change:
911 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
912 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
915 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
918 rm -rf $RPM_BUILD_ROOT
921 /sbin/chkconfig --add %{name}
922 %service %{name} restart
925 if [ "$1" = "0" ]; then
926 %service -q %{name} stop
927 /sbin/chkconfig --del %{name}
930 %post libs -p /sbin/ldconfig
931 %postun libs -p /sbin/ldconfig
933 %define module_scripts() \
935 %service %{name} restart \
938 %service %{name} restart
940 %{?with_xml:%{?with_curl:%module_scripts apache}}
941 %module_scripts apcups
942 %{?with_curl:%module_scripts ascent}
943 %module_scripts battery
944 %{?with_xml:%{?with_curl:%module_scripts bind}}
945 %module_scripts cpufreq
948 %{?with_curl:%module_scripts curl}
952 %{?with_dns:%module_scripts dns}
953 %module_scripts email
954 %module_scripts entropy
956 %module_scripts filecount
957 %module_scripts hddtemp
958 %module_scripts interface
959 %{?with_ipmi:%module_scripts ipmi}
960 %{?with_iptables:%module_scripts iptables}
963 %module_scripts logfile
964 %module_scripts match_regex
965 %module_scripts match_timediff
966 %module_scripts match_value
967 %module_scripts mbmon
968 %module_scripts memcached
969 %module_scripts memory
970 %{?with_multimeter:%module_scripts multimeter}
971 %{?with_mysql:%module_scripts mysql
972 %{?with_netlink:%module_scripts netlink}
973 %module_scripts network
975 %{?with_curl:%module_scripts nginx}
976 %{?with_notify:%module_scripts notify_desktop}
977 %{?with_libesmtp:%module_scripts notify_email}
979 %{?with_ups:%module_scripts nut}
980 %module_scripts openvpn
981 %{?with_ping:%module_scripts ping}
982 %{?with_psql:%module_scripts postgresql}
983 %module_scripts powerdns
984 %module_scripts processes
985 %{?with_rrd:%module_scripts rrdtool}
986 %{?with_sensors:%module_scripts sensors}
987 %module_scripts serial
988 %{?with_snmp:%module_scripts snmp}
990 %module_scripts syslog
992 %module_scripts target_notification
993 %module_scripts target_replace
994 %module_scripts target_set
995 %module_scripts tcpconns
996 %module_scripts teamspeak2
997 %module_scripts thermal
998 %module_scripts unixsock
999 %module_scripts users
1000 %module_scripts uuid
1001 %module_scripts vmem
1002 %module_scripts vserver
1003 %module_scripts wireless
1004 %{?with_xmms:%module_scripts xmms}
1006 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1007 %webapp_register apache %{_webapp}
1009 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1010 %webapp_unregister apache %{_webapp}
1012 %triggerin collection -- apache < 2.2.0, apache-base
1013 %webapp_register httpd %{_webapp}
1015 %triggerun collection -- apache < 2.2.0, apache-base
1016 %webapp_unregister httpd %{_webapp}
1018 %triggerin collection -- lighttpd
1019 %webapp_register lighttpd %{_webapp}
1021 %triggerun collection -- lighttpd
1022 %webapp_unregister lighttpd %{_webapp}
1025 %defattr(644,root,root,755)
1026 %doc AUTHORS ChangeLog README TODO contrib
1027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1028 %dir %{_sysconfdir}/%{name}.d
1029 %attr(755,root,root) %{_sbindir}/collectd
1030 %attr(755,root,root) %{_sbindir}/collectdmon
1031 %attr(755,root,root) %{_bindir}/collectd-nagios
1032 %dir %{_datadir}/%{name}
1033 %{_datadir}/%{name}/types.db
1034 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1035 %{_mandir}/man1/collectd.1*
1036 %{_mandir}/man1/collectd-nagios.1*
1037 %{_mandir}/man5/collectd.conf.5*
1038 %{_mandir}/man5/collectd-perl.5*
1039 %{_mandir}/man1/collectdmon.1*
1040 %{_mandir}/man5/types.db.5*
1041 %dir %{_var}/lib/%{name}
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1046 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1047 %dir %{_libdir}/%{name}
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1052 %{_libdir}/libcollectdclient.la
1053 %dir %{_includedir}/%{name}
1054 %{_includedir}/%{name}/*.h
1055 %{_pkgconfigdir}/libcollectdclient.pc
1058 %defattr(644,root,root,755)
1060 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1061 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1062 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1063 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1065 %dir %{_appdir}/cgi-bin
1066 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1072 %defattr(640,root,root,755)
1073 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1074 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1079 %defattr(644,root,root,755)
1080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1081 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1085 %defattr(640,root,root,755)
1086 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1087 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1091 %defattr(644,root,root,755)
1092 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1093 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1098 %defattr(644,root,root,755)
1099 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1100 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1105 %defattr(644,root,root,755)
1106 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1107 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1110 %defattr(644,root,root,755)
1111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1112 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1115 %defattr(644,root,root,755)
1116 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1117 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1121 %defattr(640,root,root,755)
1122 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1123 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1127 %defattr(640,root,root,755)
1128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1129 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1132 %defattr(644,root,root,755)
1133 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1134 %attr(755,root,root) %{_libdir}/%{name}/df.so
1137 %defattr(644,root,root,755)
1138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1139 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1143 %defattr(644,root,root,755)
1144 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1145 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1149 %defattr(644,root,root,755)
1150 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1151 %attr(755,root,root) %{_libdir}/%{name}/email.so
1152 %{_mandir}/man5/collectd-email.5*
1155 %defattr(644,root,root,755)
1156 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1157 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1160 %defattr(644,root,root,755)
1161 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1162 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1163 %{_mandir}/man5/collectd-exec.5*
1166 %defattr(644,root,root,755)
1167 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1168 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1171 %defattr(644,root,root,755)
1172 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1173 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1176 %defattr(644,root,root,755)
1177 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1178 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1182 %defattr(644,root,root,755)
1183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1184 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1187 %if %{with iptables}
1189 %defattr(644,root,root,755)
1190 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1191 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1195 %defattr(644,root,root,755)
1196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1197 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1200 %defattr(644,root,root,755)
1201 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1202 %attr(755,root,root) %{_libdir}/%{name}/load.so
1205 %defattr(644,root,root,755)
1206 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1207 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1208 %{_var}/log/collectd.log
1211 %defattr(644,root,root,755)
1212 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1213 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1215 %files match_timediff
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1220 %defattr(644,root,root,755)
1221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1222 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1225 %defattr(644,root,root,755)
1226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1227 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1230 %defattr(644,root,root,755)
1231 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1232 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1235 %defattr(644,root,root,755)
1236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1237 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1239 %if %{with multimeter}
1241 %defattr(644,root,root,755)
1242 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1243 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1248 %defattr(640,root,root,755)
1249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1250 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1255 %defattr(644,root,root,755)
1256 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1257 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1261 %defattr(644,root,root,755)
1262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1263 %attr(755,root,root) %{_libdir}/%{name}/network.so
1266 %defattr(644,root,root,755)
1267 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1268 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1272 %defattr(640,root,root,755)
1273 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1274 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1278 %files notify_desktop
1279 %defattr(644,root,root,755)
1280 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1281 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1284 %if %{with libesmtp}
1286 %defattr(640,root,root,755)
1287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1288 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1292 %defattr(644,root,root,755)
1293 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1294 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1298 %defattr(644,root,root,755)
1299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1300 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1304 %defattr(644,root,root,755)
1305 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1306 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1310 %defattr(644,root,root,755)
1311 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1312 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1317 %defattr(640,root,root,755)
1318 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1319 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1320 %{_datadir}/%{name}/postgresql_default.conf
1324 %defattr(644,root,root,755)
1325 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1326 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1329 %defattr(644,root,root,755)
1330 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1331 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1335 %defattr(644,root,root,755)
1336 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1337 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1342 %defattr(644,root,root,755)
1343 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1344 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1348 %defattr(644,root,root,755)
1349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1350 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1354 %defattr(644,root,root,755)
1355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1356 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1357 %{_mandir}/man5/collectd-snmp.5*
1361 %defattr(644,root,root,755)
1362 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1363 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1366 %defattr(644,root,root,755)
1367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1368 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1371 %defattr(644,root,root,755)
1372 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1373 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1375 %files target_notification
1376 %defattr(644,root,root,755)
1377 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1378 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1380 %files target_replace
1381 %defattr(644,root,root,755)
1382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1383 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1386 %defattr(644,root,root,755)
1387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1388 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1391 %defattr(644,root,root,755)
1392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1393 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1396 %defattr(644,root,root,755)
1397 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1398 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1401 %defattr(644,root,root,755)
1402 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1403 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1406 %defattr(644,root,root,755)
1407 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1408 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1409 %{_mandir}/man5/collectd-unixsock.5*
1412 %defattr(644,root,root,755)
1413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1414 %attr(755,root,root) %{_libdir}/%{name}/users.so
1417 %defattr(644,root,root,755)
1418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1419 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1422 %defattr(644,root,root,755)
1423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1424 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1427 %defattr(644,root,root,755)
1428 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1429 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1432 %defattr(644,root,root,755)
1433 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1434 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1438 %defattr(644,root,root,755)
1439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1440 %attr(755,root,root) %{_libdir}/%{name}/xmms.so