2 # - package contrib scripts as %doc
3 # - perl modules with Collectd classes package to separate package
4 # - Bundled libraries - check if its not changed ones and if it can be
6 # liboconfig . . . . . yes (shipped version)
7 # - Libraries not found by configure:
8 # libganglia . . . . . no (gm_protocol.h not found)
9 # libiokit . . . . . . no
10 # libjvm . . . . . . . no (javac not found)
11 # libkstat . . . . . . no (Solaris only)
12 # libkvm . . . . . . . no
13 # libnetapp . . . . . . no (netapp_api.h not found)
14 # libperl . . . . . . . no
15 # librouteros . . . . . no ('routeros_api.h' not found)
16 # libtokyotyrant . . . no (tcrdb.h not found)
17 # libvirt . . . . . . . no (pkg-config doesn't know library)
18 # libyajl . . . . . . . no (yajl/yajl_parse.h not found)
19 # oracle . . . . . . . no (ORACLE_HOME is not set)
20 # - Disabled modules (build most of them an package):
21 # apple_sensors . . . no (obvious)
22 # ipvs . . . . . . . no (ip_vs.h not found - llh to be fixed)
23 # libvirt . . . . . . no (requires library)
24 # multimeter . . . . no ?
25 # onewire . . . . . . no (needs libowfs)
26 # perl . . . . . . . no (buggy perl: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467072)
27 # rrdcached . . . . . no (requires rrdtool >= 1.4.0)
28 # tape . . . . . . . no ?
29 # curl_json . . . . . . no
30 # gmond . . . . . . . . no
31 # java . . . . . . . . no
32 # netapp . . . . . . . no
33 # oracle . . . . . . . no
34 # routeros . . . . . . no
35 # tokyotyrant . . . . . no
36 # zfs_arc . . . . . . . no
37 # - logrotate file for logfile plugin
38 # - %desc -l pl for plugins
39 # - package SpamAssassin plugin from contrib
42 %bcond_without curl # apache, ascent, bind, curl and nginx plugins
43 %bcond_without dns # DNS plugin
44 %bcond_without ipmi # IPMI plugin
45 %bcond_without iptables # iptables plugin
46 %bcond_without libesmtp # notify_email plugin
47 %bcond_with multimeter # multimeter plugin
48 %bcond_without mysql # MySQL plugin
49 %bcond_without netlink # netlink plugin
50 %bcond_without notify # notify_desktop plugin
51 %bcond_without ping # ping plugin
52 %bcond_without pgsql # PostgreSQL plugin
53 %bcond_without rrd # rrdtool and rrdcached plugins
54 %bcond_without sensors # sensors plugin
55 %bcond_without snmp # SNMP plugin
56 %bcond_without ups # nut plugin
57 %bcond_without xml # ascent, bind and libvirt plugins
58 %bcond_without xmms # XMMS plugin
60 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
62 %undefine with_iptables
63 %undefine with_netlink
66 Summary: Collects system information in RRD files
67 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
73 Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
74 # Source0-md5: 7bfea6e82d35b36f16d1da2c71397213
77 Source3: %{name}-http.conf
78 Source4: %{name}-lighttpd.conf
79 Source10: %{name}-df.conf
80 Source11: %{name}-rrdtool.conf
81 Patch0: %{name}-collection.patch
83 Patch2: netfilter.patch
84 Patch3: libnotify.patch
85 URL: http://collectd.org/
86 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
87 BuildRequires: autoconf
88 BuildRequires: automake
89 %{?with_curl:BuildRequires: curl-devel}
90 BuildRequires: hal-devel
91 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
92 BuildRequires: libdbi-devel
93 %{?with_libesmtp:BuildRequires: libesmtp-devel}
94 BuildRequires: libltdl-devel
95 BuildRequires: libmemcached-devel
96 BuildRequires: libnetlink-devel
97 %{?with_netlink:BuildRequires: libnetlink-devel}
98 %{?with_notify:BuildRequires: libnotify-devel >= 0.7.0}
99 %{?with_ping:BuildRequires: liboping-devel}
100 %{?with_dns:BuildRequires: libpcap-devel}
101 BuildRequires: libstatgrab-devel >= 0.12
102 BuildRequires: libstdc++-devel
103 BuildRequires: libtool
104 %{?with_xml:BuildRequires: libxml2-devel}
105 %{?with_sensors:BuildRequires: lm_sensors-devel}
106 %{?with_mysql:BuildRequires: mysql-devel}
107 BuildRequires: ncurses-devel
108 %{?with_snmp:BuildRequires: net-snmp-devel}
109 %{?with_ups:BuildRequires: nut-devel}
110 BuildRequires: perl-devel
111 BuildRequires: pkgconfig
112 %{?with_pgsql:BuildRequires: postgresql-devel}
113 BuildRequires: python-devel
114 BuildRequires: python-modules
115 BuildRequires: rpmbuild(macros) >= 1.268
116 %{?with_rrd:BuildRequires: rrdtool-devel}
118 #BuildRequires: xfsprogs-devel
119 %{?with_xmms:BuildRequires: xmms-devel}
120 Requires(post,preun): /sbin/chkconfig
122 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
124 %define _pkglibdir %{_sharedstatedir}/%{name}
125 %define _webapps /etc/webapps
126 %define _webapp %{name}
127 %define _webappdir %{_webapps}/%{_webapp}
128 %define _appdir %{_datadir}/%{_webapp}
131 collectd is a small daemon which collects system information every 10
132 seconds and writes the results in an RRD-file.
134 In contrast to most similar software, collectd is not a script but
135 written in plain C for performance and portability. As a daemon it
136 stays in memory, so there is no need to start up a heavy interpreter
137 every time new values should be logged. This allows collectd to have a
138 10 second resolution while being nice to the system.
140 %description -l pl.UTF-8
141 collectd to mały demon zbierający co 10 sekund informacje o systemie
142 i zapisujący wyniki do pliku RRD.
144 W odróżnieniu od innych podobnych programów collectd nie jest
145 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
146 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
147 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny
148 być zapisane nowe wartości. Dzięki temu collect może mieć
149 rozdzielczość 10 sekund i nie obciążać zbytnio systemu.
152 Summary: %{name} libraries
153 Summary(pl.UTF-8): Biblioteki %{name}
159 %description libs -l pl.UTF-8
163 Summary: Header files for %{name} libraries
164 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
165 Group: Development/Libraries
166 Requires: %{name}-libs = %{version}-%{release}
169 Header files for %{name} libraries.
171 %description devel -l pl.UTF-8
172 Pliki nagłówkowe bibliotek %{name}.
175 Summary: Static files for %{name} libraries
176 Summary(pl.UTF-8): Pliki statyczne bibliotek %{name}
177 Group: Development/Libraries
178 Requires: %{name}-libs = %{version}-%{release}
181 Static files for %{name} libraries.
183 %description static -l pl.UTF-8
184 Pliki statyczne bibliotek %{name}.
187 Summary: apache-plugin for collectd
188 Summary(pl.UTF-8): Wtyczka apache dla collectd
190 Requires: %{name} = %{version}-%{release}
193 This plugin collect data provided by Apache's `mod_status'.
195 %description apache -l pl.UTF-8
196 Wtyczka collectd zbierająca informacje udostępniane przez moduł
200 Summary: APC UPS plugin for collectd
201 Summary(pl.UTF-8): Wtyczka APC UPS dla collectd
203 Requires: %{name} = %{version}-%{release}
206 The APC UPS plugin connects to an instance of Apcupsd to read various
207 statistics about a connected uninterruptible power supply (UPS), such as
211 Summary: ascent-plugin for collectd
212 Summary(pl.UTF-8): Wtyczka ascent dla collectd
214 Requires: %{name} = %{version}-%{release}
217 The Ascent plugin reads and parses the statistics page of Ascent, a free and
218 open-source server software for the game World of Warcraft by Blizzard
222 Summary: battery plugin for collectd
223 Summary(pl.UTF-8): Wtyczka battery dla collectd
225 Requires: %{name} = %{version}-%{release}
228 This plugin collects the battery's charge, the drawn current and the
232 Summary: bind plugin for collectd
233 Summary(pl.UTF-8): Wtyczka bind dla collectd
235 Requires: %{name} = %{version}-%{release}
238 Starting with BIND 9.5.0, the most widely used DNS server software
239 provides extensive statistics about queries, responses and lots of
240 other information. The bind plugin retrieves this information that's
241 encoded in XML and provided via HTTP and submits the values to
245 Summary: Web script for collectd
246 Summary(pl.UTF-8): Web script for collectd
247 Group: Applications/WWW
248 Requires: %{name} = %{version}-%{release}
250 Requires: perl(Data::Dumper)
251 Requires: perl(HTML::Entities)
253 Requires: perl(URI::Escape)
254 Requires: webserver(cgi)
255 Suggests: fonts-TTF-DejaVu
257 %description collection
258 Web script for collectd.
261 Summary: Web script for collectd
262 Summary(pl.UTF-8): Web script for collectd
263 Group: Applications/WWW
264 Requires: %{name} = %{version}-%{release}
265 Requires: perl(Config::General)
266 Requires: perl(HTML::Entities)
268 Requires: webserver(cgi)
269 Suggests: fonts-TTF-DejaVu
271 %description collection3
272 Web script for collectd.
274 %package contextswitch
275 Summary: contextswitch-plugin for collectd
276 Summary(pl.UTF-8): Wtyczka contextswitch dla collectd
278 Requires: %{name} = %{version}-%{release}
280 %description contextswitch
281 The ContextSwitch plugin collects the number of context switches
282 done by the operating system.
285 Summary: conntrack-plugin for collectd
286 Summary(pl.UTF-8): Wtyczka conntrack dla collectd
288 Requires: %{name} = %{version}-%{release}
290 %description conntrack
291 The conntrack-plugin collects the connection tracking table size.
294 Summary: cpu-plugin for collectd
295 Summary(pl.UTF-8): Wtyczka cpu dla collectd
297 Requires: %{name} = %{version}-%{release}
300 The cpu-plugin collects the amount of time spent by the CPU in various
301 states, most notably executing user code, executing system code,
302 waiting for IO operations and being idle.
305 Summary: cpufreq-plugin for collectd
306 Summary(pl.UTF-8): Wtyczka cpufreq dla collectd
308 Requires: %{name} = %{version}-%{release}
311 Collects the current CPU's frequency, mostly for mobile computers.
314 Summary: CSV output plugin for collectd
315 Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd
317 Requires: %{name} = %{version}-%{release}
320 CSV output plugin for collectd.
323 Summary: cURL output plugin for collectd
324 Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd
326 Requires: %{name} = %{version}-%{release}
329 The curl plugin uses the libcurl to read web pages and the match
330 infrastructure (the same code used by the tail plugin) to use regular
331 expressions with the received data.
334 Summary: dbi plugin for collectd
335 Summary(pl.UTF-8): Wtyczka dbi dla collectd
337 Requires: %{name} = %{version}-%{release}
340 This plugin uses the dbi library to connect to various databases,
341 execute SQL statements and read back the results. dbi is an acronym
342 for "database interface" in case you were wondering about the name.
343 You can configure how each column is to be interpreted and the plugin
344 will generate one or more data sets from each row returned according
348 Summary: df-plugin for collectd
349 Summary(pl.UTF-8): Wtyczka df dla collectd
351 Requires: %{name} = %{version}-%{release}
354 The df-plugin collects file system usage information, i. e. basically
355 how much space on a mounted partition is used and how much is
356 available. It's named after and very similar to the df(1) UNIX command
357 that's been around forever.
360 Summary: disk-plugin for collectd
361 Summary(pl.UTF-8): Wtyczka disk dla collectd
363 Requires: %{name} = %{version}-%{release}
366 This plugin collects performance statistics of harddisks and, where
367 supported, partitions.
370 Summary: dns-plugin for collectd
371 Summary(pl.UTF-8): Wtyczka dns dla collectd
373 Requires: %{name} = %{version}-%{release}
374 Requires: perl-rrdtool
377 This plugin has a similar functionality to dnstop: It uses libpcap to
378 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
379 interprets the packets and collects statistics of your DNS traffic.
382 Summary: email-plugin for collectd
383 Summary(pl.UTF-8): Wtyczka email dla collectd
385 Requires: %{name} = %{version}-%{release}
388 The email plugin opens an UNIX-socket over which one can submit email
389 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
390 mails received/handled, spam scores and matched spam checks.
392 This plugin is intended to be used with the the
393 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
394 is included in contrib/, but is of course not limited to that use.
397 Summary: entropy-plugin for collectd
398 Summary(pl.UTF-8): Wtyczka entropy dla collectd
400 Requires: %{name} = %{version}-%{release}
403 The Entropy plugin collects the available entropy on a system. Entropy is
404 important to generate random numbers, which are used for encryption,
405 authorization and similar tasks.
408 Summary: exec-plugin for collectd
409 Summary(pl.UTF-8): Wtyczka exec dla collectd
411 Requires: %{name} = %{version}-%{release}
414 The exec plugin forks of an executable either to receive values or to
415 dispatch notifications to the outside world.
418 Summary: filecount-plugin for collectd
419 Summary(pl.UTF-8): Wtyczka filecount dla collectd
421 Requires: %{name} = %{version}-%{release}
423 %description filecount
424 The filecount-plugin does something very simple: Count the number of
425 files in a directory and all its subdirectories. This can be used for
426 a variety of statistics, for example the queue length of an MTA, the
427 number of PHP sessions of a web server or simply the number of files
428 in your home directory.
431 Summary: fscache-plugin for collectd
432 Summary(pl.UTF-8): Wtyczka fscache dla collectd
434 Requires: %{name} = %{version}-%{release}
437 The fscache-plugin collects statistics about Linux file-system based
441 Summary: hddtemp-plugin for collectd
442 Summary(pl.UTF-8): Wtyczka hddtemp dla collectd
444 Requires: %{name} = %{version}-%{release}
445 Suggests: hddtemp-hddtempd
448 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
449 and queried by the external hddtemp-daemon.
452 Summary: interface-plugin for collectd
453 Summary(pl.UTF-8): Wtyczka interface dla collectd
455 Requires: %{name} = %{version}-%{release}
457 %description interface
458 The interface-plugin collects information about the traffic (octets),
459 packets and errors of interfaces.
462 Summary: iptables-plugin for collectd
463 Summary(pl.UTF-8): Wtyczka iptables dla collectd
465 Requires: %{name} = %{version}-%{release}
467 %description iptables
468 With this plugin you can gather statistics from your ip_tables based
469 packetfilter (aka. firewall). It can collect the byte- and
470 packet-counters of selected rules and submit them to collectd. You can
471 select rules that should be collected wither by its position (e.g.
472 "the fourth rule in the INPUT queue in the filter table") or by its
473 comment (using the COMMENT match). This means that depending on your
474 firewall layout you can collect certain services (such as the amount
475 of web-traffic), source or destination hosts or networks, dropped
476 packets and much more.
479 Summary: ipmi-plugin for collectd
480 Summary(pl.UTF-8): Wtyczka ipmi dla collectd
482 Requires: %{name} = %{version}-%{release}
485 The IPMI plugin uses the OpenIPMI library to read hardware sensors from
486 servers using the Intelligent Platform Management Interface (IPMI). IPMI
487 is very common with server hardware but usually not available in consumer
491 Summary: IRQs-plugin for collectd
492 Summary(pl.UTF-8): Wtyczka IRQs dla collectd
494 Requires: %{name} = %{version}-%{release}
497 The IRQ plugin collects the number of times each interrupt has been handled
498 by the operating system.
501 Summary: load-plugin for collectd
502 Summary(pl.UTF-8): Wtyczka load dla collectd
504 Requires: %{name} = %{version}-%{release}
507 Collects the system load. These numbers give a rough overview over the
508 utilization of a machine, though their meaning is mostly overrated.
511 Summary: logfile-plugin for collectd
512 Summary(pl.UTF-8): Wtyczka logfile dla collectd
514 Requires: %{name} = %{version}-%{release}
517 The LogFile plugin receives log messages from the daemon and writes them to
521 Summary: madwifi plugin for collectd
522 Summary(pl.UTF-8): Wtyczka madwifi dla collectd
524 Requires: %{name} = %{version}-%{release}
527 The MadWifi plugin collects information about Atheros wireless LAN chipsets
528 from the MadWifi driver. It uses the /sys filesystem to identify cards
529 handled by this driver automatically but can be configured manually, too.
530 Because very many statistics are available, an advanced selection mechanism
533 %package match_empty_counter
534 Summary: match_empty_counter plugin for collectd
535 Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd
537 Requires: %{name} = %{version}-%{release}
539 %description match_empty_counter
540 Empty Counter match matches value lists, where at least one data source is
541 of type COUNTER and the counter value of all counter data sources is zero.
543 %package match_hashed
544 Summary: match_hashed plugin for collectd
545 Summary(pl.UTF-8): Wtyczka match_hashed dla collectd
547 Requires: %{name} = %{version}-%{release}
549 %description match_hashed
550 match_hashed plugin for collectd - match for simple load balancing and
554 Summary: match_regex plugin for collectd
555 Summary(pl.UTF-8): Wtyczka match_regex dla collectd
557 Requires: %{name} = %{version}-%{release}
559 %description match_regex
560 match_regex plugin for collectd.
562 %package match_timediff
563 Summary: match_timediff plugin for collectd
564 Summary(pl.UTF-8): Wtyczka match_timediff dla collectd
566 Requires: %{name} = %{version}-%{release}
568 %description match_timediff
569 match_timediff plugin for collectd.
572 Summary: match_value plugin for collectd
573 Summary(pl.UTF-8): Wtyczka match_value dla collectd
575 Requires: %{name} = %{version}-%{release}
577 %description match_value
578 match_value plugin for collectd.
581 Summary: mbmon plugin for collectd
582 Summary(pl.UTF-8): Wtyczka mbmon dla collectd
584 Requires: %{name} = %{version}-%{release}
587 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
590 Summary: memcachec-plugin for collectd
591 Summary(pl.UTF-8): Wtyczka memcachec dla collectd
593 Requires: %{name} = %{version}-%{release}
595 %description memcachec
596 The memcachec plugin connects to a memcached server, queries one or more
597 given pages and parses the returned data according to user specification.
598 The matches used are similar to the matches used in the cURL and Tail
602 Summary: memcached-plugin for collectd
603 Summary(pl.UTF-8): Wtyczka memcached dla collectd
605 Requires: %{name} = %{version}-%{release}
607 %description memcached
608 The memcached plugin connects to a memcached daemon and collects the
609 number of connections and requests handled by the daemon, the CPU
610 resources consumed, number of items cached, number of threads, and
611 bytes sent and received.
614 Summary: memory-plugin for collectd
615 Summary(pl.UTF-8): Wtyczka memory dla collectd
617 Requires: %{name} = %{version}-%{release}
620 Collects physical memory utilization for collectd.
623 Summary: multimeter-plugin for collectd
624 Summary(pl.UTF-8): Wtyczka multimeter dla collectd
626 Requires: %{name} = %{version}-%{release}
628 %description multimeter
629 The Multimeter plugin reads a value (usually a voltage or current) from a
630 multimeter connected to a serial bus. The plugin tries /dev/ttyS0-9 in order
631 to find a multimeter – no configuration is possible.
633 The multimeter used for development was a Metex M-4650CR.
636 Summary: mysql-plugin for collectd
637 Summary(pl.UTF-8): Moduł mysql dla collectd.
639 Requires: %{name} = %{version}-%{release}
640 Requires: mysql-client
643 MySQL querying plugin. This plugins provides data of issued commands,
644 called handlers and database traffic.
646 %description mysql -l pl.UTF-8
647 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
648 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
651 Summary: netlink-plugin for collectd
652 Summary(pl.UTF-8): Wtyczka netlink dla collectd
654 Requires: %{name} = %{version}-%{release}
657 This plugin will open a netlink socket to the Linux kernel and use it
658 to get statistics for interfaces, qdiscs, classes, and, if you can
659 make use of it, filters. Since in most setups many of the statistics
660 this plugin can collect aren't of interest, you can select which
661 information to gather using the configuration.
664 Summary: network-plugin for collectd
665 Summary(pl.UTF-8): Wtyczka network dla collectd
667 Requires: %{name} = %{version}-%{release}
670 The Network plugin can send values to other instances and receive values
671 from other %{name} instances.
674 Summary: NFS-plugin for collectd
675 Summary(pl.UTF-8): Wtyczka NFS dla collectd
677 Requires: %{name} = %{version}-%{release}
680 The nfs plugin counts the number of procedure calls of the different
684 Summary: nginx-plugin for collectd
685 Summary(pl.UTF-8): Wtyczka nginx dla collectd
687 Requires: %{name} = %{version}-%{release}
690 This plugin collects the number of connections and requests handled by
691 the nginx daemon, a HTTP and mail server/proxy. It queries the page
692 provided by the ngx_http_stub_status_module module, which isn't
695 %package notify_desktop
696 Summary: notify_desktop for collectd
697 Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd
699 Requires: %{name} = %{version}-%{release}
700 Requires: dbus(org.freedesktop.Notifications)
702 %description notify_desktop
703 This plugin sends a desktop notification to a notification daemon, as
704 defined in the Desktop Notification Specification.
706 %package notify_email
707 Summary: notify_email-plugin for collectd
708 Summary(pl.UTF-8): Wtyczka notify_email dla collectd
710 Requires: %{name} = %{version}-%{release}
712 %description notify_email
713 The Notify Email plugin uses libESMTP to send notifications to a configured
717 Summary: ntpd-plugin for collectd
718 Summary(pl.UTF-8): Wtyczka ntpd dla collectd
720 Requires: %{name} = %{version}-%{release}
723 The NTPd plugin queries an NTP server (usually the local one, where
724 statistics access is allowed) and extracts :
725 - "local" clock parameters: time offset, error and offset loop,
726 - parameters for each NTP server used to sync time: offset, dispersion, delay.
729 Summary: nut-plugin for collectd
730 Summary(pl.UTF-8): Wtyczka nut dla collectd
732 Requires: %{name} = %{version}-%{release}
735 UPS statistics using the Network UPS Tools. These statistics include
736 basically everything NUT will give us, including voltages, currents,
737 power, frequencies, load, and temperatures.
740 Summary: olsrd plugin for collectd
741 Summary(pl.UTF-8): Wtyczka olsrd dla collectd
743 Requires: %{name} = %{version}-%{release}
747 The olsrd plugin reads information about meshed networks from the txtinfo
748 plugin of the Optimized Link State Routing daemon (olsrd).
751 Summary: openvpn plugin for collectd
752 Summary(pl.UTF-8): Wtyczka openvpn dla collectd
754 Requires: %{name} = %{version}-%{release}
758 The OpenVPN plugin reads a status file maintained by OpenVPN and
759 gathers traffic statistics about connected clients.
762 Summary: ping-plugin for collectd
763 Summary(pl.UTF-8): Wtyczka ping dla collectd
765 Requires: %{name} = %{version}-%{release}
766 Requires: liboping >= 1.1.2
769 The network latency is measured as a roundtrip time. An
770 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
771 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
772 not received within one second the plugin will no longer expect a
773 reply and return. This may happen in several circumstances, e. g. the
774 packet is lost, the host is down, a router has dismissed the packet,
778 Summary: mysql-plugin for collectd
779 Summary(pl.UTF-8): Moduł postgresql dla collectd.
781 Requires: %{name} = %{version}-%{release}
783 %description postgresql
784 The postgresql plugin queries statistics from PostgreSQL databases. It
785 keeps a persistent connection to all configured databases and tries to
786 reconnect if the connection has been interrupted.
789 Summary: powerdns-plugin for collectd
790 Summary(pl.UTF-8): Wtyczka powerdns dla collectd
792 Requires: %{name} = %{version}-%{release}
794 %description powerdns
795 The powerdns plugin queries statistics from an authoritative PowerDNS
796 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
797 of values, many of which are probably meaningless to most users, but
798 may be useful for some.
801 Summary: processes-plugin for collectd
802 Summary(pl.UTF-8): Wtyczka processes dla collectd
804 Requires: %{name} = %{version}-%{release}
806 %description processes
807 This plugin collects the number of processes, grouped by their state
808 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
809 select detailed statistics about selected processes, grouped by name.
812 Summary: protocols-plugin for collectd
813 Summary(pl.UTF-8): Wtyczka protocols dla collectd
815 Requires: %{name} = %{version}-%{release}
817 %description protocols
818 The protocols-plugin provides information about network protocols,
819 such as IP, TCP and UDP.
822 Summary: python-plugin for collectd
823 Summary(pl.UTF-8): Wtyczka python dla collectd
825 Requires: %{name} = %{version}-%{release}
828 The Python plugin embeds a Python interpreter into collectd and exposes
829 the application programming interface (API) to Python-scripts. This allows
830 to write own plugins in the popular scripting language, which are then
831 loaded and executed by the daemon without the need to start a new process
832 and interpreter every few seconds. Python-modules written for the Python
833 plugin are therefore more powerful and efficient than scripts executed by
837 Summary: rrdtool-plugin for collectd
838 Summary(pl.UTF-8): Wtyczka rrdtool dla collectd
840 Requires: %{name} = %{version}-%{release}
844 The RRDtool plugin writes values to RRD-files using librrd.
847 Summary: sensors-plugin for collectd
848 Summary(pl.UTF-8): Wtyczka sensors dla collectd
850 Requires: %{name} = %{version}-%{release}
853 This plugin uses lm-sensors to read hardware sensors. You will need to
854 configure lm-sensors before this plugin will collect any usefull and
858 Summary: serial-plugin for collectd
859 Summary(pl.UTF-8): Wtyczka serial dla collectd
861 Requires: %{name} = %{version}-%{release}
864 The Serial plugin collects the traffic on serial interfaces.
867 Summary: snmp-plugin for collectd
868 Summary(pl.UTF-8): Wtyczka snmp dla collectd
870 Requires: %{name} = %{version}-%{release}
873 The snmp plugin queries other hosts using SNMP, the Simple Network
874 Management Protocol, and translates the value it receives to
875 collectd's internal format and dispatches them. Depending on the write
876 plugins you have loaded they may be written to disk or submitted to
877 another instance or whatever you configured.
880 Summary: swap-plugin for collectd
881 Summary(pl.UTF-8): Wtyczka swap dla collectd
883 Requires: %{name} = %{version}-%{release}
886 The Swap plugin collects the amount of memory currently written onto hard
887 disk or whatever the system calls “swap”.
890 Summary: syslog-plugin for collectd
891 Summary(pl.UTF-8): Wtyczka syslog dla collectd
893 Requires: %{name} = %{version}-%{release}
896 The SysLog plugin receives log messages from the daemon and dispatches
900 Summary: table-plugin for collectd
901 Summary(pl.UTF-8): Wtyczka table dla collectd
903 Requires: %{name} = %{version}-%{release}
906 The table-plugin provides parsing for table-like structured files,
907 such as many files beneath /proc.
909 %package target_notification
910 Summary: target_notification-plugin for collectd
911 Summary(pl.UTF-8): Wtyczka target_notification dla collectd
913 Requires: %{name} = %{version}-%{release}
915 %description target_notification
916 target_notification plugin for collectd.
918 %package target_replace
919 Summary: target_replace-plugin for collectd
920 Summary(pl.UTF-8): Wtyczka target_replace dla collectd
922 Requires: %{name} = %{version}-%{release}
924 %description target_replace
925 target_replace plugin for collectd.
927 %package target_scale
928 Summary: target_scale-plugin for collectd
929 Summary(pl.UTF-8): Wtyczka target_scale dla collectd
931 Requires: %{name} = %{version}-%{release}
933 %description target_scale
934 Target to scale (multiply) values by an arbitrary value.
937 Summary: target_set-plugin for collectd
938 Summary(pl.UTF-8): Wtyczka target_set dla collectd
940 Requires: %{name} = %{version}-%{release}
942 %description target_set
943 target_set plugin for collectd.
946 Summary: tail-plugin for collectd
947 Summary(pl.UTF-8): Wtyczka tail dla collectd
949 Requires: %{name} = %{version}-%{release}
952 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
953 tail -F does. Each line is given to one or more "matches" which test
954 if the line is relevant for any statistics using a regular expression.
957 Summary: tcpconns-plugin for collectd
958 Summary(pl.UTF-8): Wtyczka tcpconns dla collectd
960 Requires: %{name} = %{version}-%{release}
962 %description tcpconns
963 The tcpconns-plugin counts the number of TCP connections to or from a
964 specified port. Typically the connectioins where you specify the local
965 port are incoming connections while the connections where you specify
966 the remote port are outgoing connections.
969 Summary: teamspeak2-plugin for collectd
970 Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd
972 Requires: %{name} = %{version}-%{release}
974 %description teamspeak2
975 The teamspeak2 plugin connects to the query port of a teamspeak2
976 server and polls interesting global and virtual server data. The
977 plugin can query only one physical server but unlimited virtual
981 Summary: ted-plugin for collectd
982 Summary(pl.UTF-8): Wtyczka ted dla collectd
984 Requires: %{name} = %{version}-%{release}
987 The TED-plugin reads power consumption measurements from “The Energy
991 Summary: thermal-plugin for collectd
992 Summary(pl.UTF-8): Wtyczka thermal dla collectd
994 Requires: %{name} = %{version}-%{release}
997 The thermal plugin reads ACPI thermal zone information from the sysfs or
998 procfs file system, i. e. mostly system temperature information.
1001 Summary: unixsock-plugin for collectd
1002 Summary(pl.UTF-8): Wtyczka unixsock dla collectd
1004 Requires: %{name} = %{version}-%{release}
1006 %description unixsock
1007 The unixsock plugin opens an UNIX-socket over which one can interact
1008 with the daemon. This can be used to use the values collected by
1009 collectd in other applications, such as monitoring, or submit
1010 externally collected values to collectd.
1013 Summary: uptime-plugin for collectd
1014 Summary(pl.UTF-8): Wtyczka uptime dla collectd
1016 Requires: %{name} = %{version}-%{release}
1019 The uptime-plugin can collect the server's uptime.
1022 Summary: users-plugin for collectd
1023 Summary(pl.UTF-8): Wtyczka users dla collectd
1025 Requires: %{name} = %{version}-%{release}
1028 Number of users currently logged in.
1031 Summary: uuid-plugin for collectd
1032 Summary(pl.UTF-8): Wtyczka uuid dla collectd
1034 Requires: %{name} = %{version}-%{release}
1037 This plugin, if loaded, causes the Hostname to be taken from the
1038 machine's UUID. The UUID is a universally unique designation for the
1039 machine, usually taken from the machine's BIOS. This is most useful if
1040 the machine is running in a virtual environment such as Xen, in which
1041 case the UUID is preserved across shutdowns and migration.
1044 Summary: vmem-plugin for collectd
1045 Summary(pl.UTF-8): Wtyczka vmem dla collectd
1047 Requires: %{name} = %{version}-%{release}
1050 The vmem plugin collects information about the usage of virtual
1051 memory. Since the statistics provided by the Linux kernel are very
1052 detailed, they are collected very detailed.
1055 Summary: vserver-plugin for collectd
1056 Summary(pl.UTF-8): Wtyczka vserver dla collectd
1058 Requires: %{name} = %{version}-%{release}
1060 %description vserver
1061 Collects information about the virtual servers running on a system,
1062 using Linux-Vserver.
1065 Summary: write_http-plugin for collectd
1066 Summary(pl.UTF-8): Wtyczka write_http dla collectd
1068 Requires: %{name} = %{version}-%{release}
1070 %description write_http
1071 The Write HTTP plugin sends the values collected by collectd to a
1072 web-server using HTTP POST requests. The data is formatted as PUTVAL
1076 Summary: wireless-plugin for collectd
1077 Summary(pl.UTF-8): Wtyczka wireless dla collectd
1079 Requires: %{name} = %{version}-%{release}
1081 %description wireless
1082 The Wireless plugin collects signal quality, signal power and
1083 signal-to-noise ratio for wireless LAN cards.
1086 Summary: xmms-plugin for collectd
1087 Summary(pl.UTF-8): Wtyczka xmms dla collectd
1089 Requires: %{name} = %{version}-%{release}
1092 The XMMS plugin is a plugin for the XMMS music player. It graphs the
1093 bit-rate and sampling rate as you play songs. Not really useful, just
1094 something that got written because we can.
1096 %package -n perl-Collectd
1097 Summary: Perl files from Collectd package
1100 %description -n perl-Collectd
1101 Perl files from Collectd package
1118 c_cv_have_libperl=yes \
1119 --with-libstatgrab=/usr \
1120 --with-lm-sensors=/usr \
1121 --with-libmysql=/usr \
1123 %{__enable_disable dns} \
1124 %{__enable_disable ipmi} \
1125 %{__enable_disable iptables} \
1126 %{__enable_disable multimeter} \
1127 %{__enable_disable mysql} \
1128 %{__enable_disable netlink} \
1129 %{__enable_disable notify notify_desktop} \
1130 %{__enable_disable libesmtp notify_email} \
1131 %{__enable_disable ups nut} \
1132 %{__enable_disable ping} \
1133 %{__enable_disable pgsql postgresql} \
1134 %{__enable_disable rrd rrdtool} \
1135 %{__enable_disable sensors} \
1136 %{__enable_disable snmp} \
1137 %{__enable_disable xmms} \
1138 %{__enable_disable curl} \
1139 %{__enable_disable curl apache} \
1140 %{__enable_disable curl ngix} \
1141 %{__enable_disable curl ascent} \
1142 %{__disable curl ascent} \
1143 %{__disable curl bind} \
1144 %{__disable xml ascent} \
1145 %{__disable xml bind} \
1150 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
1151 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
1152 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
1155 rm -rf $RPM_BUILD_ROOT
1156 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
1157 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/}
1160 DESTDIR=$RPM_BUILD_ROOT
1162 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
1163 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1166 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1167 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
1168 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1169 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1170 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1172 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1174 ### Configs instalation ###
1175 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1176 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1177 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1180 # Example config in sources: src/collectd.conf
1181 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1183 # Overwrite only files which we want to change:
1184 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1185 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1187 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1190 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1193 rm -rf $RPM_BUILD_ROOT
1196 /sbin/chkconfig --add %{name}
1197 %service %{name} restart
1200 if [ "$1" = "0" ]; then
1201 %service -q %{name} stop
1202 /sbin/chkconfig --del %{name}
1205 %post libs -p /sbin/ldconfig
1206 %postun libs -p /sbin/ldconfig
1208 %define module_scripts() \
1210 %service %{name} restart \
1213 %service %{name} restart
1215 %module_scripts apache
1216 %module_scripts apcups
1217 %module_scripts ascent
1218 %module_scripts battery
1219 %module_scripts bind
1220 %module_scripts contextswitch
1221 %module_scripts conntrack
1223 %module_scripts cpufreq
1225 %module_scripts curl
1228 %module_scripts disk
1230 %module_scripts email
1231 %module_scripts entropy
1232 %module_scripts exec
1233 %module_scripts filecount
1234 %module_scripts fscache
1235 %module_scripts hddtemp
1236 %module_scripts interface
1237 %module_scripts ipmi
1238 %module_scripts iptables
1240 %module_scripts load
1241 %module_scripts logfile
1242 %module_scripts madwifi
1243 %module_scripts match_empty_counter
1244 %module_scripts match_hashed
1245 %module_scripts match_regex
1246 %module_scripts match_timediff
1247 %module_scripts match_value
1248 %module_scripts mbmon
1249 %module_scripts memcachec
1250 %module_scripts memcached
1251 %module_scripts memory
1252 %module_scripts multimeter
1253 %module_scripts mysql
1254 %module_scripts netlink
1255 %module_scripts network
1257 %module_scripts nginx
1258 %module_scripts notify_desktop
1259 %module_scripts notify_email
1260 %module_scripts ntpd
1262 %module_scripts olsrd
1263 %module_scripts openvpn
1264 %module_scripts ping
1265 %module_scripts postgresql
1266 %module_scripts powerdns
1267 %module_scripts processes
1268 %module_scripts protocols
1269 %module_scripts python
1270 %module_scripts rrdtool
1271 %module_scripts sensors
1272 %module_scripts serial
1273 %module_scripts snmp
1274 %module_scripts swap
1275 %module_scripts syslog
1276 %module_scripts table
1277 %module_scripts tail
1278 %module_scripts target_notification
1279 %module_scripts target_replace
1280 %module_scripts target_scale
1281 %module_scripts target_set
1282 %module_scripts tcpconns
1283 %module_scripts teamspeak2
1285 %module_scripts thermal
1286 %module_scripts unixsock
1287 %module_scripts uptime
1288 %module_scripts users
1289 %module_scripts uuid
1290 %module_scripts vmem
1291 %module_scripts vserver
1292 %module_scripts write_http
1293 %module_scripts wireless
1294 %module_scripts xmms
1296 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1297 %webapp_register apache %{_webapp}
1299 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1300 %webapp_unregister apache %{_webapp}
1302 %triggerin collection -- apache < 2.2.0, apache-base
1303 %webapp_register httpd %{_webapp}
1305 %triggerun collection -- apache < 2.2.0, apache-base
1306 %webapp_unregister httpd %{_webapp}
1308 %triggerin collection -- lighttpd
1309 %webapp_register lighttpd %{_webapp}
1311 %triggerun collection -- lighttpd
1312 %webapp_unregister lighttpd %{_webapp}
1315 %defattr(644,root,root,755)
1316 %doc AUTHORS ChangeLog README TODO contrib
1317 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1318 %dir %{_sysconfdir}/%{name}.d
1319 %attr(755,root,root) %{_sbindir}/collectd
1320 %attr(755,root,root) %{_sbindir}/collectdmon
1321 %attr(755,root,root) %{_bindir}/collectd-nagios
1322 %dir %{_datadir}/%{name}
1323 %{_datadir}/%{name}/types.db
1324 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1325 %{_mandir}/man1/collectd.1*
1326 %{_mandir}/man1/collectd-nagios.1*
1327 %{_mandir}/man1/collectdmon.1*
1328 %{_mandir}/man5/collectd.conf.5*
1329 %{_mandir}/man5/collectd-java.5*
1330 %{_mandir}/man5/collectd-perl.5*
1331 %{_mandir}/man5/types.db.5*
1332 %dir %{_var}/lib/%{name}
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1337 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1338 %dir %{_libdir}/%{name}
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1343 %{_libdir}/libcollectdclient.la
1344 %dir %{_includedir}/%{name}
1345 %{_includedir}/%{name}/*.h
1346 %{_pkgconfigdir}/libcollectdclient.pc
1349 %defattr(644,root,root,755)
1350 %{_libdir}/libcollectdclient.a
1351 %{_libdir}/%{name}/*.a
1354 %defattr(644,root,root,755)
1356 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1357 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1358 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1359 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1361 %dir %{_appdir}/cgi-bin
1362 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1365 %defattr(644,root,root,755)
1366 %{_appdir}/collection3
1372 %defattr(640,root,root,755)
1373 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1374 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1379 %defattr(644,root,root,755)
1380 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1381 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1385 %defattr(640,root,root,755)
1386 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1387 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1391 %defattr(644,root,root,755)
1392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1393 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1398 %defattr(644,root,root,755)
1399 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1400 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1404 %files contextswitch
1405 %defattr(644,root,root,755)
1406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1407 %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1410 %defattr(644,root,root,755)
1411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1412 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1415 %defattr(644,root,root,755)
1416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1417 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1420 %defattr(644,root,root,755)
1421 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1422 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1425 %defattr(644,root,root,755)
1426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1427 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1431 %defattr(640,root,root,755)
1432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1433 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1435 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1436 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1441 %defattr(640,root,root,755)
1442 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1443 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1446 %defattr(644,root,root,755)
1447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1448 %attr(755,root,root) %{_libdir}/%{name}/df.so
1451 %defattr(644,root,root,755)
1452 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1453 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1457 %defattr(644,root,root,755)
1458 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1459 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1463 %defattr(644,root,root,755)
1464 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1465 %attr(755,root,root) %{_libdir}/%{name}/email.so
1466 %{_mandir}/man5/collectd-email.5*
1469 %defattr(644,root,root,755)
1470 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1471 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1474 %defattr(644,root,root,755)
1475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1476 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1477 %{_mandir}/man5/collectd-exec.5*
1480 %defattr(644,root,root,755)
1481 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1482 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1485 %defattr(644,root,root,755)
1486 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1487 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1490 %defattr(644,root,root,755)
1491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1492 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1495 %defattr(644,root,root,755)
1496 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1497 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1501 %defattr(644,root,root,755)
1502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1503 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1506 %if %{with iptables}
1508 %defattr(644,root,root,755)
1509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1510 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1514 %defattr(644,root,root,755)
1515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1516 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1519 %defattr(644,root,root,755)
1520 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1521 %attr(755,root,root) %{_libdir}/%{name}/load.so
1524 %defattr(644,root,root,755)
1525 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1526 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1527 %{_var}/log/collectd.log
1530 %defattr(644,root,root,755)
1531 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1532 %attr(755,root,root) %{_libdir}/%{name}/madwifi.so
1534 %files match_empty_counter
1535 %defattr(644,root,root,755)
1536 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1537 %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1540 %defattr(644,root,root,755)
1541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1542 %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1545 %defattr(644,root,root,755)
1546 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1547 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1549 %files match_timediff
1550 %defattr(644,root,root,755)
1551 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1552 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1555 %defattr(644,root,root,755)
1556 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1557 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1560 %defattr(644,root,root,755)
1561 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1562 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1565 %defattr(644,root,root,755)
1566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1567 %attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1570 %defattr(644,root,root,755)
1571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1572 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1575 %defattr(644,root,root,755)
1576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1577 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1579 %if %{with multimeter}
1581 %defattr(644,root,root,755)
1582 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1583 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1588 %defattr(640,root,root,755)
1589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1590 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1595 %defattr(644,root,root,755)
1596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1597 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1601 %defattr(644,root,root,755)
1602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1603 %attr(755,root,root) %{_libdir}/%{name}/network.so
1606 %defattr(644,root,root,755)
1607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1608 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1612 %defattr(640,root,root,755)
1613 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1614 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1618 %files notify_desktop
1619 %defattr(644,root,root,755)
1620 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1621 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1624 %if %{with libesmtp}
1626 %defattr(640,root,root,755)
1627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1628 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1632 %defattr(644,root,root,755)
1633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1634 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1638 %defattr(644,root,root,755)
1639 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1640 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1644 %defattr(644,root,root,755)
1645 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1646 %attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1649 %defattr(644,root,root,755)
1650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1651 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1655 %defattr(644,root,root,755)
1656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1657 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1662 %defattr(640,root,root,755)
1663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1664 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1665 %{_datadir}/%{name}/postgresql_default.conf
1669 %defattr(644,root,root,755)
1670 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1671 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1674 %defattr(644,root,root,755)
1675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1676 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1679 %defattr(644,root,root,755)
1680 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1681 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1684 %defattr(644,root,root,755)
1685 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1686 %attr(755,root,root) %{_libdir}/%{name}/python.so
1687 %{_mandir}/man5/collectd-python.5*
1691 %defattr(644,root,root,755)
1692 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1693 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1698 %defattr(644,root,root,755)
1699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1700 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1704 %defattr(644,root,root,755)
1705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1706 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1710 %defattr(644,root,root,755)
1711 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1712 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1713 %{_mandir}/man5/collectd-snmp.5*
1717 %defattr(644,root,root,755)
1718 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1719 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1722 %defattr(644,root,root,755)
1723 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1724 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1727 %defattr(644,root,root,755)
1728 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1729 %attr(755,root,root) %{_libdir}/%{name}/table.so
1732 %defattr(644,root,root,755)
1733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1734 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1736 %files target_notification
1737 %defattr(644,root,root,755)
1738 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1739 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1741 %files target_replace
1742 %defattr(644,root,root,755)
1743 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1744 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1747 %defattr(644,root,root,755)
1748 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
1749 %attr(755,root,root) %{_libdir}/%{name}/target_scale.so
1752 %defattr(644,root,root,755)
1753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1754 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1757 %defattr(644,root,root,755)
1758 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1759 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1762 %defattr(644,root,root,755)
1763 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1764 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1767 %defattr(644,root,root,755)
1768 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1769 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1772 %defattr(644,root,root,755)
1773 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1774 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1777 %defattr(644,root,root,755)
1778 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1779 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1780 %{_mandir}/man5/collectd-unixsock.5*
1783 %defattr(644,root,root,755)
1784 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1785 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1788 %defattr(644,root,root,755)
1789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1790 %attr(755,root,root) %{_libdir}/%{name}/users.so
1793 %defattr(644,root,root,755)
1794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1795 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1798 %defattr(644,root,root,755)
1799 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1800 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1803 %defattr(644,root,root,755)
1804 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1805 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1808 %defattr(644,root,root,755)
1809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1810 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1813 %defattr(644,root,root,755)
1814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
1815 %attr(755,root,root) %{_libdir}/%{name}/write_http.so
1819 %defattr(644,root,root,755)
1820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1821 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1824 %files -n perl-Collectd
1825 %defattr(644,root,root,755)
1826 %{perl_vendorlib}/Collectd.pm
1827 %{perl_vendorlib}/Collectd