]> git.pld-linux.org Git - packages/collectd.git/blob - collectd.spec
- up to 5.4.1
[packages/collectd.git] / collectd.spec
1 # TODO:
2 #warning: Installed (but unpackaged) file(s) found:
3 #       /etc/collectd.d/aggregation.conf
4 #       /etc/collectd.d/cgroups.conf
5 #       /etc/collectd.d/lvm.conf
6 #       /etc/collectd.d/statsd.conf
7 #       /etc/collectd.d/tail_csv.conf
8 #       /etc/collectd.d/target_v5upgrade.conf
9 #       /usr/bin/collectd-tg
10 #       /usr/lib64/collectd/aggregation.so
11 #       /usr/lib64/collectd/cgroups.so
12 #       /usr/lib64/collectd/lvm.so
13 #       /usr/lib64/collectd/statsd.so
14 #       /usr/lib64/collectd/tail_csv.so
15 #       /usr/share/man/man1/collectd-tg.1.gz
16 #
17 # - package contrib scripts as %doc
18 # - perl modules with Collectd classes package to separate package
19 # - Bundled libraries - check if its not changed ones and if it can be
20 #   mainstream library:
21 # liboconfig  . . . . . yes (shipped version)
22 # - Libraries not found by configure:
23 #   libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
24 #   libganglia  . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
25 #   libiokit  . . . . . . no (Darwin only)
26 #   libjvm  . . . . . . . no (javac not found)
27 #   libkstat  . . . . . . no (Solaris only)
28 #   libkvm  . . . . . . . no (BSD only)
29 #   libnetapp . . . . . . no (netapp_api.h not found) (properitary)
30 #   libperfstat . . . . . no (AIX only)
31 #   librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/)
32 #   librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/)
33 #   libtokyotyrant  . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/)
34 #   libyajl . . . . . . . no (yajl/yajl_parse.h not found)
35 #   protobuf-c  . . . . . no
36 #   oracle  . . . . . . . no (ORACLE_HOME is not set)
37 # - Disabled modules (build most of them an package):
38 #   amqp    . . . . . . . no
39 #   apple_sensors . . . . no             (Darwin only)
40 #   gmond . . . . . . . . no
41 #   ipvs  . . . . . . . . no             (ip_vs.h not found - llh to be fixed)
42 #   java  . . . . . . . . no
43 #   lpar... . . . . . . . no
44 #   multimeter  . . . . . no             ?
45 #   netapp  . . . . . . . no
46 #   onewire . . . . . . . no             (needs libowfs)
47 #   oracle  . . . . . . . no
48 #   pinba . . . . . . . . no
49 #   redis . . . . . . . . no
50 #   routeros  . . . . . . no
51 #   tape  . . . . . . . . no             ?
52 #   tokyotyrant . . . . . no
53 #   write_redis . . . . . no
54 #   zfs_arc . . . . . . . no
55 # - logrotate file for logfile plugin
56 # - %desc -l pl for plugins
57 # - package SpamAssassin plugin from contrib
58
59 # Conditional build:
60 %bcond_without  curl            # apache, ascent, bind, curl and nginx plugins
61 %bcond_without  dns             # DNS plugin
62 %bcond_without  ipmi            # IPMI plugin
63 %bcond_without  iptables        # iptables plugin
64 %bcond_without  libesmtp        # notify_email plugin
65 %bcond_without  libvirt         # libvirt plugin
66 %bcond_without  modbus  # modbus plugin
67 %bcond_with     multimeter      # multimeter plugin
68 %bcond_without  mysql           # MySQL plugin
69 %bcond_without  netlink         # netlink plugin
70 %bcond_without  notify          # notify_desktop plugin
71 %bcond_without  ping            # ping plugin
72 %bcond_without  pgsql           # PostgreSQL plugin
73 %bcond_without  rrd             # rrdtool and rrdcached plugins
74 %bcond_without  sensors         # sensors plugin
75 %bcond_without  snmp            # SNMP plugin
76 %bcond_without  ups             # nut plugin
77 %bcond_without  varnish         # varnish plugin
78 %bcond_without  xml             # ascent, bind and libvirt plugins
79 %bcond_without  xmms            # XMMS plugin
80
81 Summary:        Collects system information in RRD files
82 Summary(pl.UTF-8):      Zbieranie informacji o systemie w plikach RRD
83 Name:           collectd
84 Version:        5.4.1
85 Release:        1
86 License:        GPL v2
87 Group:          Daemons
88 Source0:        http://collectd.org/files/%{name}-%{version}.tar.bz2
89 # Source0-md5:  6f56c71c96573a7f4f7fb3bfab185974
90 Source1:        %{name}.conf
91 Source2:        %{name}.init
92 Source3:        %{name}-http.conf
93 Source4:        %{name}-lighttpd.conf
94 Source5:        %{name}-apache.conf
95 Source10:       %{name}-df.conf
96 Source11:       %{name}-rrdtool.conf
97 Patch0:         %{name}-collection.patch
98 Patch1:         compile.patch
99 Patch2:         noquote.patch
100 Patch3:         libiptc.patch
101 Patch4:         pld.patch
102 Patch5:         no-Werror.patch
103 Patch6:         %{name}-modbus.patch
104 URL:            http://collectd.org/
105 %{?with_ipmi:BuildRequires:     OpenIPMI-devel >= 2.0.14-3}
106 BuildRequires:  autoconf
107 BuildRequires:  automake
108 %{?with_curl:BuildRequires:     curl-devel}
109 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
110 BuildRequires:  libdbi-devel
111 %{?with_libesmtp:BuildRequires: libesmtp-devel}
112 BuildRequires:  libltdl-devel
113 BuildRequires:  libmemcached-devel
114 %{?with_modbus:BuildRequires:   libmodbus-devel}
115 %{?with_netlink:BuildRequires:  libmnl-devel}
116 %{?with_libvirt:BuildRequires:  libnl1-devel}
117 %{?with_notify:BuildRequires:   libnotify-devel}
118 %{?with_ping:BuildRequires:     liboping-devel}
119 %{?with_dns:BuildRequires:      libpcap-devel}
120 BuildRequires:  libstatgrab-devel >= 0.12
121 BuildRequires:  libstdc++-devel
122 BuildRequires:  libtool
123 %{?with_libvirt:BuildRequires:  libvirt-devel}
124 %{?with_xml:BuildRequires:      libxml2-devel}
125 %{?with_sensors:BuildRequires:  lm_sensors-devel}
126 %{?with_mysql:BuildRequires:    mysql-devel}
127 BuildRequires:  ncurses-devel
128 %{?with_snmp:BuildRequires:     net-snmp-devel}
129 %{?with_libvirt:BuildRequires:  numactl-devel}
130 %{?with_ups:BuildRequires:      nut-devel}
131 BuildRequires:  perl-devel
132 BuildRequires:  pkgconfig
133 %{?with_pgsql:BuildRequires:    postgresql-devel}
134 BuildRequires:  python-devel
135 BuildRequires:  python-modules
136 BuildRequires:  rpmbuild(macros) >= 1.268
137 %{?with_rrd:BuildRequires:      rrdtool-devel}
138 %{?with_varnish:BuildRequires:          varnish-devel}
139 BuildRequires:  which
140 #BuildRequires: xfsprogs-devel
141 %{?with_xmms:BuildRequires:     xmms-devel}
142 BuildRequires:  yajl-devel
143 Requires(post,preun):   /sbin/chkconfig
144 Requires:       %{name}-libs = %{version}-%{release}
145 Requires:       rc-scripts
146 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
147
148 %define         _pkglibdir      %{_sharedstatedir}/%{name}
149 %define         _webapps        /etc/webapps
150 %define         _webapp         %{name}
151 %define         _webappdir      %{_webapps}/%{_webapp}
152 %define         _appdir         %{_datadir}/%{_webapp}
153
154 %description
155 collectd is a small daemon which collects system information every 10
156 seconds and writes the results in an RRD-file.
157
158 In contrast to most similar software, collectd is not a script but
159 written in plain C for performance and portability. As a daemon it
160 stays in memory, so there is no need to start up a heavy interpreter
161 every time new values should be logged. This allows collectd to have a
162 10 second resolution while being nice to the system.
163
164 %description -l pl.UTF-8
165 collectd to mały demon zbierający co 10 sekund informacje o systemie i
166 zapisujący wyniki do pliku RRD.
167
168 W odróżnieniu od innych podobnych programów collectd nie jest
169 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
170 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
171 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
172 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
173 sekund i nie obciążać zbytnio systemu.
174
175 %package libs
176 Summary:        %{name} libraries
177 Summary(pl.UTF-8):      Biblioteki %{name}
178 Group:          Libraries
179
180 %description libs
181 %{name} libraries.
182
183 %description libs -l pl.UTF-8
184 Biblioteki %{name}.
185
186 %package devel
187 Summary:        Header files for %{name} libraries
188 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek %{name}
189 Group:          Development/Libraries
190 Requires:       %{name}-libs = %{version}-%{release}
191
192 %description devel
193 Header files for %{name} libraries.
194
195 %description devel -l pl.UTF-8
196 Pliki nagłówkowe bibliotek %{name}.
197
198 %package static
199 Summary:        Static files for %{name} libraries
200 Summary(pl.UTF-8):      Pliki statyczne bibliotek %{name}
201 Group:          Development/Libraries
202 Requires:       %{name}-libs = %{version}-%{release}
203
204 %description static
205 Static files for %{name} libraries.
206
207 %description static -l pl.UTF-8
208 Pliki statyczne bibliotek %{name}.
209
210 %package apache
211 Summary:        apache-plugin for collectd
212 Summary(pl.UTF-8):      Wtyczka apache dla collectd
213 Group:          Daemons
214 Requires:       %{name} = %{version}-%{release}
215
216 %description apache
217 This plugin collect data provided by Apache's `mod_status'.
218
219 %description apache -l pl.UTF-8
220 Wtyczka collectd zbierająca informacje udostępniane przez moduł
221 'mod_status' Apacha.
222
223 %package apcups
224 Summary:        APC UPS plugin for collectd
225 Summary(pl.UTF-8):      Wtyczka APC UPS dla collectd
226 Group:          Daemons
227 Requires:       %{name} = %{version}-%{release}
228
229 %description apcups
230 The APC UPS plugin connects to an instance of Apcupsd to read various
231 statistics about a connected uninterruptible power supply (UPS), such
232 as voltage, load, etc.
233
234 %package ascent
235 Summary:        ascent-plugin for collectd
236 Summary(pl.UTF-8):      Wtyczka ascent dla collectd
237 Group:          Daemons
238 Requires:       %{name} = %{version}-%{release}
239
240 %description ascent
241 The Ascent plugin reads and parses the statistics page of Ascent, a
242 free and open-source server software for the game World of Warcraft by
243 Blizzard Entertainment.
244
245 %package battery
246 Summary:        battery plugin for collectd
247 Summary(pl.UTF-8):      Wtyczka battery dla collectd
248 Group:          Daemons
249 Requires:       %{name} = %{version}-%{release}
250
251 %description battery
252 This plugin collects the battery's charge, the drawn current and the
253 battery's voltage.
254
255 %package bind
256 Summary:        bind plugin for collectd
257 Summary(pl.UTF-8):      Wtyczka bind dla collectd
258 Group:          Daemons
259 Requires:       %{name} = %{version}-%{release}
260
261 %description bind
262 Starting with BIND 9.5.0, the most widely used DNS server software
263 provides extensive statistics about queries, responses and lots of
264 other information. The bind plugin retrieves this information that's
265 encoded in XML and provided via HTTP and submits the values to
266 collectd.
267
268 %package collection
269 Summary:        Web script for collectd
270 Summary(pl.UTF-8):      Web script for collectd
271 Group:          Applications/WWW
272 Requires:       %{name} = %{version}-%{release}
273 Requires:       perl(CGI)
274 Requires:       perl(Data::Dumper)
275 Requires:       perl(HTML::Entities)
276 Requires:       perl(RRDs)
277 Requires:       perl(URI::Escape)
278 Requires:       webserver(cgi)
279 Suggests:       fonts-TTF-DejaVu
280 Conflicts:      apache-base < 2.4.0-1
281
282 %description collection
283 Web script for collectd.
284
285 %package collection3
286 Summary:        Web script for collectd
287 Summary(pl.UTF-8):      Web script for collectd
288 Group:          Applications/WWW
289 Requires:       %{name} = %{version}-%{release}
290 Requires:       perl(Config::General)
291 Requires:       perl(HTML::Entities)
292 Requires:       perl(RRDs)
293 Requires:       perl(Regexp::Common)
294 Requires:       perl-Collectd = %{version}-%{release}
295 Requires:       webserver(cgi)
296 Suggests:       fonts-TTF-DejaVu
297 Conflicts:      apache-base < 2.4.0-1
298
299 %description collection3
300 Web script for collectd.
301
302 %package contextswitch
303 Summary:        contextswitch-plugin for collectd
304 Summary(pl.UTF-8):      Wtyczka contextswitch dla collectd
305 Group:          Daemons
306 Requires:       %{name} = %{version}-%{release}
307
308 %description contextswitch
309 The ContextSwitch plugin collects the number of context switches done
310 by the operating system.
311
312 %package conntrack
313 Summary:        conntrack-plugin for collectd
314 Summary(pl.UTF-8):      Wtyczka conntrack dla collectd
315 Group:          Daemons
316 Requires:       %{name} = %{version}-%{release}
317
318 %description conntrack
319 The conntrack-plugin collects the connection tracking table size.
320
321 %package cpu
322 Summary:        cpu-plugin for collectd
323 Summary(pl.UTF-8):      Wtyczka cpu dla collectd
324 Group:          Daemons
325 Requires:       %{name} = %{version}-%{release}
326
327 %description cpu
328 The cpu-plugin collects the amount of time spent by the CPU in various
329 states, most notably executing user code, executing system code,
330 waiting for IO operations and being idle.
331
332 %package cpufreq
333 Summary:        cpufreq-plugin for collectd
334 Summary(pl.UTF-8):      Wtyczka cpufreq dla collectd
335 Group:          Daemons
336 Requires:       %{name} = %{version}-%{release}
337
338 %description cpufreq
339 Collects the current CPU's frequency, mostly for mobile computers.
340
341 %package csv
342 Summary:        CSV output plugin for collectd
343 Summary(pl.UTF-8):      Wtyczka wyjściowa CSV dla collectd
344 Group:          Daemons
345 Requires:       %{name} = %{version}-%{release}
346
347 %description csv
348 CSV output plugin for collectd.
349
350 %package curl
351 Summary:        cURL output plugin for collectd
352 Summary(pl.UTF-8):      Wtyczka wyjściowa cURL dla collectd
353 Group:          Daemons
354 Requires:       %{name} = %{version}-%{release}
355
356 %description curl
357 The curl plugin uses the libcurl to read web pages and the match
358 infrastructure (the same code used by the tail plugin) to use regular
359 expressions with the received data.
360
361 %package curl_json
362 Summary:        cURL JSON plugin for collectd
363 Summary(pl.UTF-8):      Wtyczka cURL JSON dla collectd
364 Group:          Daemons
365 Requires:       %{name} = %{version}-%{release}
366
367 %description curl_json
368 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
369 using the cURL library and parses it according to the user's
370 configuration using Yet Another JSON Library (YAJL). This can be used
371 to query statistics information from a CouchDB instance, for example.
372
373 %package dbi
374 Summary:        dbi plugin for collectd
375 Summary(pl.UTF-8):      Wtyczka dbi dla collectd
376 Group:          Daemons
377 Requires:       %{name} = %{version}-%{release}
378
379 %description dbi
380 This plugin uses the dbi library to connect to various databases,
381 execute SQL statements and read back the results. dbi is an acronym
382 for "database interface" in case you were wondering about the name.
383 You can configure how each column is to be interpreted and the plugin
384 will generate one or more data sets from each row returned according
385 to these rules.
386
387 %package df
388 Summary:        df-plugin for collectd
389 Summary(pl.UTF-8):      Wtyczka df dla collectd
390 Group:          Daemons
391 Requires:       %{name} = %{version}-%{release}
392
393 %description df
394 The df-plugin collects file system usage information, i. e. basically
395 how much space on a mounted partition is used and how much is
396 available. It's named after and very similar to the df(1) UNIX command
397 that's been around forever.
398
399 %package disk
400 Summary:        disk-plugin for collectd
401 Summary(pl.UTF-8):      Wtyczka disk dla collectd
402 Group:          Daemons
403 Requires:       %{name} = %{version}-%{release}
404
405 %description disk
406 This plugin collects performance statistics of harddisks and, where
407 supported, partitions.
408
409 %package dns
410 Summary:        dns-plugin for collectd
411 Summary(pl.UTF-8):      Wtyczka dns dla collectd
412 Group:          Daemons
413 Requires:       %{name} = %{version}-%{release}
414 Requires:       perl-rrdtool
415
416 %description dns
417 This plugin has a similar functionality to dnstop: It uses libpcap to
418 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
419 interprets the packets and collects statistics of your DNS traffic.
420
421 %package email
422 Summary:        email-plugin for collectd
423 Summary(pl.UTF-8):      Wtyczka email dla collectd
424 Group:          Daemons
425 Requires:       %{name} = %{version}-%{release}
426
427 %description email
428 The email plugin opens an UNIX-socket over which one can submit email
429 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
430 mails received/handled, spam scores and matched spam checks.
431
432 This plugin is intended to be used with the the
433 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
434 is included in contrib/, but is of course not limited to that use.
435
436 %package entropy
437 Summary:        entropy-plugin for collectd
438 Summary(pl.UTF-8):      Wtyczka entropy dla collectd
439 Group:          Daemons
440 Requires:       %{name} = %{version}-%{release}
441
442 %description entropy
443 The Entropy plugin collects the available entropy on a system. Entropy
444 is important to generate random numbers, which are used for
445 encryption, authorization and similar tasks.
446
447 %package ethstat
448 Summary:        ethstat-plugin for collectd
449 Summary(pl.UTF-8):      Wyczka ethstat dla collectd
450 Group:          Daemons
451 Requires:       %{name} = %{version}-%{release}
452
453 %description ethstat
454 The ethstat plugin reads performance statistics directly from ethernet
455 cards
456
457 %package exec
458 Summary:        exec-plugin for collectd
459 Summary(pl.UTF-8):      Wtyczka exec dla collectd
460 Group:          Daemons
461 Requires:       %{name} = %{version}-%{release}
462
463 %description exec
464 The exec plugin forks of an executable either to receive values or to
465 dispatch notifications to the outside world.
466
467 %package filecount
468 Summary:        filecount-plugin for collectd
469 Summary(pl.UTF-8):      Wtyczka filecount dla collectd
470 Group:          Daemons
471 Requires:       %{name} = %{version}-%{release}
472
473 %description filecount
474 The filecount-plugin does something very simple: Count the number of
475 files in a directory and all its subdirectories. This can be used for
476 a variety of statistics, for example the queue length of an MTA, the
477 number of PHP sessions of a web server or simply the number of files
478 in your home directory.
479
480 %package fscache
481 Summary:        fscache-plugin for collectd
482 Summary(pl.UTF-8):      Wtyczka fscache dla collectd
483 Group:          Daemons
484 Requires:       %{name} = %{version}-%{release}
485
486 %description fscache
487 The fscache-plugin collects statistics about Linux file-system based
488 caching framework.
489
490 %package hddtemp
491 Summary:        hddtemp-plugin for collectd
492 Summary(pl.UTF-8):      Wtyczka hddtemp dla collectd
493 Group:          Daemons
494 Requires:       %{name} = %{version}-%{release}
495 Suggests:       hddtemp-hddtempd
496
497 %description hddtemp
498 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
499 and queried by the external hddtemp-daemon.
500
501 %package interface
502 Summary:        interface-plugin for collectd
503 Summary(pl.UTF-8):      Wtyczka interface dla collectd
504 Group:          Daemons
505 Requires:       %{name} = %{version}-%{release}
506
507 %description interface
508 The interface-plugin collects information about the traffic (octets),
509 packets and errors of interfaces.
510
511 %package iptables
512 Summary:        iptables-plugin for collectd
513 Summary(pl.UTF-8):      Wtyczka iptables dla collectd
514 Group:          Daemons
515 Requires:       %{name} = %{version}-%{release}
516
517 %description iptables
518 With this plugin you can gather statistics from your ip_tables based
519 packetfilter (aka. firewall). It can collect the byte- and
520 packet-counters of selected rules and submit them to collectd. You can
521 select rules that should be collected wither by its position (e.g.
522 "the fourth rule in the INPUT queue in the filter table") or by its
523 comment (using the COMMENT match). This means that depending on your
524 firewall layout you can collect certain services (such as the amount
525 of web-traffic), source or destination hosts or networks, dropped
526 packets and much more.
527
528 %package ipmi
529 Summary:        ipmi-plugin for collectd
530 Summary(pl.UTF-8):      Wtyczka ipmi dla collectd
531 Group:          Daemons
532 Requires:       %{name} = %{version}-%{release}
533
534 %description ipmi
535 The IPMI plugin uses the OpenIPMI library to read hardware sensors
536 from servers using the Intelligent Platform Management Interface
537 (IPMI). IPMI is very common with server hardware but usually not
538 available in consumer hardware.
539
540 %package irq
541 Summary:        IRQs-plugin for collectd
542 Summary(pl.UTF-8):      Wtyczka IRQs dla collectd
543 Group:          Daemons
544 Requires:       %{name} = %{version}-%{release}
545
546 %description irq
547 The IRQ plugin collects the number of times each interrupt has been
548 handled by the operating system.
549
550 %package libvirt
551 Summary:        libvirt-plugin for collectd
552 Summary(pl.UTF-8):      Wtyczka libvirt dla collectd
553 Group:          Daemons
554 Requires:       %{name} = %{version}-%{release}
555
556 %description libvirt
557 The libvirt plugin uses the virtualization API libvirt, created by
558 RedHat's Emerging Technology group, to gather statistics about
559 virtualized guests on a system. This way, you can collect CPU, network
560 interface and block device usage for each guest without installing
561 collectd on the guest systems. Because the statistics are received
562 from the hypervisor directly, this works not only with
563 para-virtualized hosts, but with hardware virtualized machines, too.
564
565 %package load
566 Summary:        load-plugin for collectd
567 Summary(pl.UTF-8):      Wtyczka load dla collectd
568 Group:          Daemons
569 Requires:       %{name} = %{version}-%{release}
570
571 %description load
572 Collects the system load. These numbers give a rough overview over the
573 utilization of a machine, though their meaning is mostly overrated.
574
575 %package logfile
576 Summary:        logfile-plugin for collectd
577 Summary(pl.UTF-8):      Wtyczka logfile dla collectd
578 Group:          Daemons
579 Requires:       %{name} = %{version}-%{release}
580
581 %description logfile
582 The LogFile plugin receives log messages from the daemon and writes
583 them to a text file.
584
585 %package madwifi
586 Summary:        madwifi plugin for collectd
587 Summary(pl.UTF-8):      Wtyczka madwifi dla collectd
588 Group:          Daemons
589 Requires:       %{name} = %{version}-%{release}
590
591 %description madwifi
592 The MadWifi plugin collects information about Atheros wireless LAN
593 chipsets from the MadWifi driver. It uses the /sys filesystem to
594 identify cards handled by this driver automatically but can be
595 configured manually, too. Because very many statistics are available,
596 an advanced selection mechanism is provided.
597
598 %package match_empty_counter
599 Summary:        match_empty_counter plugin for collectd
600 Summary(pl.UTF-8):      Wtyczka match_empty_counter dla collectd
601 Group:          Daemons
602 Requires:       %{name} = %{version}-%{release}
603
604 %description match_empty_counter
605 Empty Counter match matches value lists, where at least one data
606 source is of type COUNTER and the counter value of all counter data
607 sources is zero.
608
609 %package match_hashed
610 Summary:        match_hashed plugin for collectd
611 Summary(pl.UTF-8):      Wtyczka match_hashed dla collectd
612 Group:          Daemons
613 Requires:       %{name} = %{version}-%{release}
614
615 %description match_hashed
616 match_hashed plugin for collectd - match for simple load balancing and
617 redundant storage.
618
619 %package match_regex
620 Summary:        match_regex plugin for collectd
621 Summary(pl.UTF-8):      Wtyczka match_regex dla collectd
622 Group:          Daemons
623 Requires:       %{name} = %{version}-%{release}
624
625 %description match_regex
626 match_regex plugin for collectd.
627
628 %package match_timediff
629 Summary:        match_timediff plugin for collectd
630 Summary(pl.UTF-8):      Wtyczka match_timediff dla collectd
631 Group:          Daemons
632 Requires:       %{name} = %{version}-%{release}
633
634 %description match_timediff
635 match_timediff plugin for collectd.
636
637 %package match_value
638 Summary:        match_value plugin for collectd
639 Summary(pl.UTF-8):      Wtyczka match_value dla collectd
640 Group:          Daemons
641 Requires:       %{name} = %{version}-%{release}
642
643 %description match_value
644 match_value plugin for collectd.
645
646 %package mbmon
647 Summary:        mbmon plugin for collectd
648 Summary(pl.UTF-8):      Wtyczka mbmon dla collectd
649 Group:          Daemons
650 Requires:       %{name} = %{version}-%{release}
651
652 %description mbmon
653 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
654
655 %package md
656 Summary:        md plugin for collectd
657 Summary(pl.UTF-8):      Wtyczka md dla collectd
658 Group:          Daemons
659 Requires:       %{name} = %{version}-%{release}
660
661 %description md
662 The md plugin reports the number of disks in various states in Linux
663 software RAID devices.
664
665 %package memcachec
666 Summary:        memcachec-plugin for collectd
667 Summary(pl.UTF-8):      Wtyczka memcachec dla collectd
668 Group:          Daemons
669 Requires:       %{name} = %{version}-%{release}
670
671 %description memcachec
672 The memcachec plugin connects to a memcached server, queries one or
673 more given pages and parses the returned data according to user
674 specification. The matches used are similar to the matches used in the
675 cURL and Tail plugins.
676
677 %package memcached
678 Summary:        memcached-plugin for collectd
679 Summary(pl.UTF-8):      Wtyczka memcached dla collectd
680 Group:          Daemons
681 Requires:       %{name} = %{version}-%{release}
682
683 %description memcached
684 The memcached plugin connects to a memcached daemon and collects the
685 number of connections and requests handled by the daemon, the CPU
686 resources consumed, number of items cached, number of threads, and
687 bytes sent and received.
688
689 %package memory
690 Summary:        memory-plugin for collectd
691 Summary(pl.UTF-8):      Wtyczka memory dla collectd
692 Group:          Daemons
693 Requires:       %{name} = %{version}-%{release}
694
695 %description memory
696 Collects physical memory utilization for collectd.
697
698 %package modbus
699 Summary:        modbus-plugin for collectd
700 Summary(pl.UTF-8):      Wtyczka modbus dla collectd
701 Group:          Daemons
702 Requires:       %{name} = %{version}-%{release}
703
704 %description modbus
705 The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and
706 reads register values. It supports reading single registers (unsigned
707 16 bit values), large integer values (unsigned 32 bit values) and
708 floating point values (two registers interpreted as IEEE floats in big
709 endian notation).
710
711 %package multimeter
712 Summary:        multimeter-plugin for collectd
713 Summary(pl.UTF-8):      Wtyczka multimeter dla collectd
714 Group:          Daemons
715 Requires:       %{name} = %{version}-%{release}
716
717 %description multimeter
718 The Multimeter plugin reads a value (usually a voltage or current)
719 from a multimeter connected to a serial bus. The plugin tries
720 /dev/ttyS0-9 in order to find a multimeter – no configuration is
721 possible.
722
723 The multimeter used for development was a Metex M-4650CR.
724
725 %package mysql
726 Summary:        mysql-plugin for collectd
727 Summary(pl.UTF-8):      Moduł mysql dla collectd.
728 Group:          Daemons
729 Requires:       %{name} = %{version}-%{release}
730 Requires:       mysql-client
731
732 %description mysql
733 MySQL querying plugin. This plugins provides data of issued commands,
734 called handlers and database traffic.
735
736 %description mysql -l pl.UTF-8
737 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
738 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
739
740 %package netlink
741 Summary:        netlink-plugin for collectd
742 Summary(pl.UTF-8):      Wtyczka netlink dla collectd
743 Group:          Daemons
744 Requires:       %{name} = %{version}-%{release}
745
746 %description netlink
747 This plugin will open a netlink socket to the Linux kernel and use it
748 to get statistics for interfaces, qdiscs, classes, and, if you can
749 make use of it, filters. Since in most setups many of the statistics
750 this plugin can collect aren't of interest, you can select which
751 information to gather using the configuration.
752
753 %package network
754 Summary:        network-plugin for collectd
755 Summary(pl.UTF-8):      Wtyczka network dla collectd
756 Group:          Daemons
757 Requires:       %{name} = %{version}-%{release}
758
759 %description network
760 The Network plugin can send values to other instances and receive
761 values from other %{name} instances.
762
763 %package nfs
764 Summary:        NFS-plugin for collectd
765 Summary(pl.UTF-8):      Wtyczka NFS dla collectd
766 Group:          Daemons
767 Requires:       %{name} = %{version}-%{release}
768
769 %description nfs
770 The nfs plugin counts the number of procedure calls of the different
771 NFS procedures.
772
773 %package nginx
774 Summary:        nginx-plugin for collectd
775 Summary(pl.UTF-8):      Wtyczka nginx dla collectd
776 Group:          Daemons
777 Requires:       %{name} = %{version}-%{release}
778
779 %description nginx
780 This plugin collects the number of connections and requests handled by
781 the nginx daemon, a HTTP and mail server/proxy. It queries the page
782 provided by the ngx_http_stub_status_module module, which isn't
783 compiled by default.
784
785 %package notify_desktop
786 Summary:        notify_desktop for collectd
787 Summary(pl.UTF-8):      Wtyczka notify_desktop dla collectd
788 Group:          Daemons
789 Requires:       %{name} = %{version}-%{release}
790 Requires:       dbus(org.freedesktop.Notifications)
791
792 %description notify_desktop
793 This plugin sends a desktop notification to a notification daemon, as
794 defined in the Desktop Notification Specification.
795
796 %package notify_email
797 Summary:        notify_email-plugin for collectd
798 Summary(pl.UTF-8):      Wtyczka notify_email dla collectd
799 Group:          Daemons
800 Requires:       %{name} = %{version}-%{release}
801
802 %description notify_email
803 The Notify Email plugin uses libESMTP to send notifications to a
804 configured email address(es).
805
806 %package ntpd
807 Summary:        ntpd-plugin for collectd
808 Summary(pl.UTF-8):      Wtyczka ntpd dla collectd
809 Group:          Daemons
810 Requires:       %{name} = %{version}-%{release}
811
812 %description ntpd
813 The NTPd plugin queries an NTP server (usually the local one, where
814 statistics access is allowed) and extracts :
815 - "local" clock parameters: time offset, error and offset loop,
816 - parameters for each NTP server used to sync time: offset,
817   dispersion, delay.
818
819 %package numa
820 Summary:        numa-plugin for collectd
821 Summary(pl.UTF-8):      Wtyczka numa dla collectd
822 Group:          Daemons
823 Requires:       %{name} = %{version}-%{release}
824
825 %description numa
826 The numa plugin reports statistics of the Non-Uniform Memory Access
827 (NUMA) subsystem of Linux.
828
829 %package nut
830 Summary:        nut-plugin for collectd
831 Summary(pl.UTF-8):      Wtyczka nut dla collectd
832 Group:          Daemons
833 Requires:       %{name} = %{version}-%{release}
834
835 %description nut
836 UPS statistics using the Network UPS Tools. These statistics include
837 basically everything NUT will give us, including voltages, currents,
838 power, frequencies, load, and temperatures.
839
840 %package olsrd
841 Summary:        olsrd plugin for collectd
842 Summary(pl.UTF-8):      Wtyczka olsrd dla collectd
843 Group:          Daemons
844 Requires:       %{name} = %{version}-%{release}
845
846 %description olsrd
847 The olsrd plugin reads information about meshed networks from the
848 txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
849
850 %package openvpn
851 Summary:        openvpn plugin for collectd
852 Summary(pl.UTF-8):      Wtyczka openvpn dla collectd
853 Group:          Daemons
854 Requires:       %{name} = %{version}-%{release}
855 Requires:       openvpn
856
857 %description openvpn
858 The OpenVPN plugin reads a status file maintained by OpenVPN and
859 gathers traffic statistics about connected clients.
860
861 %package perl
862 Summary:        perl plugin for collectd
863 Summary(pl.UTF-8):      Wtyczka perl dla collectd
864 Group:          Daemons
865 Requires:       %{name} = %{version}-%{release}
866 Requires:       perl-Collectd = %{version}-%{release}
867
868 %description perl
869 The Perl plugin embeds a Perl interpreter into collectd and exposes
870 the application programming interface (API) to Perl-scripts. This
871 allows to write own plugins in the popular scripting language, which
872 are then loaded and executed by the daemon without the need to start a
873 new process and interpreter every few seconds. Perl-modules written
874 for the Perl plugin are therefore more powerful and efficient than
875 scripts executed by the Exec plugin.
876
877 %package ping
878 Summary:        ping-plugin for collectd
879 Summary(pl.UTF-8):      Wtyczka ping dla collectd
880 Group:          Daemons
881 Requires:       %{name} = %{version}-%{release}
882 Requires:       liboping >= 1.1.2
883
884 %description ping
885 The network latency is measured as a roundtrip time. An
886 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
887 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
888 not received within one second the plugin will no longer expect a
889 reply and return. This may happen in several circumstances, e. g. the
890 packet is lost, the host is down, a router has dismissed the packet,
891 etc.
892
893 %package postgresql
894 Summary:        mysql-plugin for collectd
895 Summary(pl.UTF-8):      Moduł postgresql dla collectd.
896 Group:          Daemons
897 Requires:       %{name} = %{version}-%{release}
898
899 %description postgresql
900 The postgresql plugin queries statistics from PostgreSQL databases. It
901 keeps a persistent connection to all configured databases and tries to
902 reconnect if the connection has been interrupted.
903
904 %package powerdns
905 Summary:        powerdns-plugin for collectd
906 Summary(pl.UTF-8):      Wtyczka powerdns dla collectd
907 Group:          Daemons
908 Requires:       %{name} = %{version}-%{release}
909
910 %description powerdns
911 The powerdns plugin queries statistics from an authoritative PowerDNS
912 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
913 of values, many of which are probably meaningless to most users, but
914 may be useful for some.
915
916 %package processes
917 Summary:        processes-plugin for collectd
918 Summary(pl.UTF-8):      Wtyczka processes dla collectd
919 Group:          Daemons
920 Requires:       %{name} = %{version}-%{release}
921
922 %description processes
923 This plugin collects the number of processes, grouped by their state
924 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
925 select detailed statistics about selected processes, grouped by name.
926
927 %package protocols
928 Summary:        protocols-plugin for collectd
929 Summary(pl.UTF-8):      Wtyczka protocols dla collectd
930 Group:          Daemons
931 Requires:       %{name} = %{version}-%{release}
932
933 %description protocols
934 The protocols-plugin provides information about network protocols,
935 such as IP, TCP and UDP.
936
937 %package python
938 Summary:        python-plugin for collectd
939 Summary(pl.UTF-8):      Wtyczka python dla collectd
940 Group:          Daemons
941 Requires:       %{name} = %{version}-%{release}
942
943 %description python
944 The Python plugin embeds a Python interpreter into collectd and
945 exposes the application programming interface (API) to Python-scripts.
946 This allows to write own plugins in the popular scripting language,
947 which are then loaded and executed by the daemon without the need to
948 start a new process and interpreter every few seconds. Python-modules
949 written for the Python plugin are therefore more powerful and
950 efficient than scripts executed by the Exec plugin.
951
952 %package rrdcached
953 Summary:        rrdcached-plugin for collectd
954 Summary(pl.UTF-8):      Wtyczka rrdcached dla collectd
955 Group:          Daemons
956 Requires:       %{name} = %{version}-%{release}
957
958 %description rrdcached
959 The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
960 to store values to RRD files in an efficient manner. The combination
961 of the rrdcached plugin and the rrdcached daemon is very similar to
962 the way the rrdtool plugin works.
963
964 %package rrdtool
965 Summary:        rrdtool-plugin for collectd
966 Summary(pl.UTF-8):      Wtyczka rrdtool dla collectd
967 Group:          Daemons
968 Requires:       %{name} = %{version}-%{release}
969 Requires:       rrdtool
970
971 %description rrdtool
972 The RRDtool plugin writes values to RRD-files using librrd.
973
974 %package sensors
975 Summary:        sensors-plugin for collectd
976 Summary(pl.UTF-8):      Wtyczka sensors dla collectd
977 Group:          Daemons
978 Requires:       %{name} = %{version}-%{release}
979
980 %description sensors
981 This plugin uses lm-sensors to read hardware sensors. You will need to
982 configure lm-sensors before this plugin will collect any usefull and
983 correct data.
984
985 %package serial
986 Summary:        serial-plugin for collectd
987 Summary(pl.UTF-8):      Wtyczka serial dla collectd
988 Group:          Daemons
989 Requires:       %{name} = %{version}-%{release}
990
991 %description serial
992 The Serial plugin collects the traffic on serial interfaces.
993
994 %package snmp
995 Summary:        snmp-plugin for collectd
996 Summary(pl.UTF-8):      Wtyczka snmp dla collectd
997 Group:          Daemons
998 Requires:       %{name} = %{version}-%{release}
999
1000 %description snmp
1001 The snmp plugin queries other hosts using SNMP, the Simple Network
1002 Management Protocol, and translates the value it receives to
1003 collectd's internal format and dispatches them. Depending on the write
1004 plugins you have loaded they may be written to disk or submitted to
1005 another instance or whatever you configured.
1006
1007 %package swap
1008 Summary:        swap-plugin for collectd
1009 Summary(pl.UTF-8):      Wtyczka swap dla collectd
1010 Group:          Daemons
1011 Requires:       %{name} = %{version}-%{release}
1012
1013 %description swap
1014 The Swap plugin collects the amount of memory currently written onto
1015 hard disk or whatever the system calls “swap”.
1016
1017 %package syslog
1018 Summary:        syslog-plugin for collectd
1019 Summary(pl.UTF-8):      Wtyczka syslog dla collectd
1020 Group:          Daemons
1021 Requires:       %{name} = %{version}-%{release}
1022
1023 %description syslog
1024 The SysLog plugin receives log messages from the daemon and dispatches
1025 them to syslog(3).
1026
1027 %package table
1028 Summary:        table-plugin for collectd
1029 Summary(pl.UTF-8):      Wtyczka table dla collectd
1030 Group:          Daemons
1031 Requires:       %{name} = %{version}-%{release}
1032
1033 %description table
1034 The table-plugin provides parsing for table-like structured files,
1035 such as many files beneath /proc.
1036
1037 %package target_notification
1038 Summary:        target_notification-plugin for collectd
1039 Summary(pl.UTF-8):      Wtyczka target_notification dla collectd
1040 Group:          Daemons
1041 Requires:       %{name} = %{version}-%{release}
1042
1043 %description target_notification
1044 target_notification plugin for collectd.
1045
1046 %package target_replace
1047 Summary:        target_replace-plugin for collectd
1048 Summary(pl.UTF-8):      Wtyczka target_replace dla collectd
1049 Group:          Daemons
1050 Requires:       %{name} = %{version}-%{release}
1051
1052 %description target_replace
1053 target_replace plugin for collectd.
1054
1055 %package target_scale
1056 Summary:        target_scale-plugin for collectd
1057 Summary(pl.UTF-8):      Wtyczka target_scale dla collectd
1058 Group:          Daemons
1059 Requires:       %{name} = %{version}-%{release}
1060
1061 %description target_scale
1062 Target to scale (multiply) values by an arbitrary value.
1063
1064 %package target_set
1065 Summary:        target_set-plugin for collectd
1066 Summary(pl.UTF-8):      Wtyczka target_set dla collectd
1067 Group:          Daemons
1068 Requires:       %{name} = %{version}-%{release}
1069
1070 %description target_set
1071 target_set plugin for collectd.
1072
1073 %package target_v5upgrade
1074 Summary:        target_v5upgrade-plugin for collectd
1075 Summary(pl.UTF-8):      Wtyczka target_v5upgrade dla collectd
1076 Group:          Daemons
1077 Requires:       %{name} = %{version}-%{release}
1078
1079 %description target_v5upgrade
1080 The v5 upgrade target can be used to upgrade version 4 data to a
1081 changed version 5 layout.
1082
1083 %package tail
1084 Summary:        tail-plugin for collectd
1085 Summary(pl.UTF-8):      Wtyczka tail dla collectd
1086 Group:          Daemons
1087 Requires:       %{name} = %{version}-%{release}
1088
1089 %description tail
1090 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
1091 tail -F does. Each line is given to one or more "matches" which test
1092 if the line is relevant for any statistics using a regular expression.
1093
1094 %package tcpconns
1095 Summary:        tcpconns-plugin for collectd
1096 Summary(pl.UTF-8):      Wtyczka tcpconns dla collectd
1097 Group:          Daemons
1098 Requires:       %{name} = %{version}-%{release}
1099
1100 %description tcpconns
1101 The tcpconns-plugin counts the number of TCP connections to or from a
1102 specified port. Typically the connectioins where you specify the local
1103 port are incoming connections while the connections where you specify
1104 the remote port are outgoing connections.
1105
1106 %package teamspeak2
1107 Summary:        teamspeak2-plugin for collectd
1108 Summary(pl.UTF-8):      Wtyczka teamspeak2 dla collectd
1109 Group:          Daemons
1110 Requires:       %{name} = %{version}-%{release}
1111
1112 %description teamspeak2
1113 The teamspeak2 plugin connects to the query port of a teamspeak2
1114 server and polls interesting global and virtual server data. The
1115 plugin can query only one physical server but unlimited virtual
1116 servers.
1117
1118 %package ted
1119 Summary:        ted-plugin for collectd
1120 Summary(pl.UTF-8):      Wtyczka ted dla collectd
1121 Group:          Daemons
1122 Requires:       %{name} = %{version}-%{release}
1123
1124 %description ted
1125 The TED-plugin reads power consumption measurements from “The Energy
1126 Detective” (TED).
1127
1128 %package thermal
1129 Summary:        thermal-plugin for collectd
1130 Summary(pl.UTF-8):      Wtyczka thermal dla collectd
1131 Group:          Daemons
1132 Requires:       %{name} = %{version}-%{release}
1133
1134 %description thermal
1135 The thermal plugin reads ACPI thermal zone information from the sysfs
1136 or procfs file system, i. e. mostly system temperature information.
1137
1138 %package threshold
1139 Summary:        threshold-plugin for collectd
1140 Summary(pl.UTF-8):      Wtyczka threshold dla collectd
1141 Group:          Daemons
1142 Requires:       %{name} = %{version}-%{release}
1143
1144 %description threshold
1145 threshold-plugin for collectd.
1146
1147 %package unixsock
1148 Summary:        unixsock-plugin for collectd
1149 Summary(pl.UTF-8):      Wtyczka unixsock dla collectd
1150 Group:          Daemons
1151 Requires:       %{name} = %{version}-%{release}
1152
1153 %description unixsock
1154 The unixsock plugin opens an UNIX-socket over which one can interact
1155 with the daemon. This can be used to use the values collected by
1156 collectd in other applications, such as monitoring, or submit
1157 externally collected values to collectd.
1158
1159 %package uptime
1160 Summary:        uptime-plugin for collectd
1161 Summary(pl.UTF-8):      Wtyczka uptime dla collectd
1162 Group:          Daemons
1163 Requires:       %{name} = %{version}-%{release}
1164
1165 %description uptime
1166 The uptime-plugin can collect the server's uptime.
1167
1168 %package users
1169 Summary:        users-plugin for collectd
1170 Summary(pl.UTF-8):      Wtyczka users dla collectd
1171 Group:          Daemons
1172 Requires:       %{name} = %{version}-%{release}
1173
1174 %description users
1175 Number of users currently logged in.
1176
1177 %package uuid
1178 Summary:        uuid-plugin for collectd
1179 Summary(pl.UTF-8):      Wtyczka uuid dla collectd
1180 Group:          Daemons
1181 Requires:       %{name} = %{version}-%{release}
1182
1183 %description uuid
1184 This plugin, if loaded, causes the Hostname to be taken from the
1185 machine's UUID. The UUID is a universally unique designation for the
1186 machine, usually taken from the machine's BIOS. This is most useful if
1187 the machine is running in a virtual environment such as Xen, in which
1188 case the UUID is preserved across shutdowns and migration.
1189
1190 %package varnish
1191 Summary:        varnish-plugin for collectd
1192 Summary(pl.UTF-8):      Wtyczka varnish dla collectd
1193 Group:          Daemons
1194 Requires:       %{name} = %{version}-%{release}
1195
1196 %description varnish
1197 The Varnish plugin collects information about Varnish, an HTTP
1198 accelerator.
1199
1200 %package vmem
1201 Summary:        vmem-plugin for collectd
1202 Summary(pl.UTF-8):      Wtyczka vmem dla collectd
1203 Group:          Daemons
1204 Requires:       %{name} = %{version}-%{release}
1205
1206 %description vmem
1207 The vmem plugin collects information about the usage of virtual
1208 memory. Since the statistics provided by the Linux kernel are very
1209 detailed, they are collected very detailed.
1210
1211 %package vserver
1212 Summary:        vserver-plugin for collectd
1213 Summary(pl.UTF-8):      Wtyczka vserver dla collectd
1214 Group:          Daemons
1215 Requires:       %{name} = %{version}-%{release}
1216
1217 %description vserver
1218 Collects information about the virtual servers running on a system,
1219 using Linux-Vserver.
1220
1221 %package write_graphite
1222 Summary:        write_graphite-plugin for collectd
1223 Summary(pl.UTF-8):      wtyczka write_graphite dla collectd
1224 Group:          Daemons
1225 Requires:       %{name} = %{version}-%{release}
1226
1227 %description write_graphite
1228 The Write Graphite plugin stores values in Carbon, the storage layer
1229 of Graphite. The plugin aims to be very efficient. It keeps the TCP
1230 connection to Carbon open in order to minimize the connection
1231 handshake overhead. It buffers the data in a buffer to send many lines
1232 at once, rather than generating lots of small network packets. The
1233 size of this buffer (1428 bytes) is dimensioned so that the buffer as
1234 well as the TCP and IP header fit into one Ethernet frame and can
1235 (hopefully) be delivered without fragmentation.
1236
1237 %package write_http
1238 Summary:        write_http-plugin for collectd
1239 Summary(pl.UTF-8):      Wtyczka write_http dla collectd
1240 Group:          Daemons
1241 Requires:       %{name} = %{version}-%{release}
1242
1243 %description write_http
1244 The Write HTTP plugin sends the values collected by collectd to a
1245 web-server using HTTP POST requests. The data is formatted as PUTVAL
1246 commands.
1247
1248 %package wireless
1249 Summary:        wireless-plugin for collectd
1250 Summary(pl.UTF-8):      Wtyczka wireless dla collectd
1251 Group:          Daemons
1252 Requires:       %{name} = %{version}-%{release}
1253
1254 %description wireless
1255 The Wireless plugin collects signal quality, signal power and
1256 signal-to-noise ratio for wireless LAN cards.
1257
1258 %package xmms
1259 Summary:        xmms-plugin for collectd
1260 Summary(pl.UTF-8):      Wtyczka xmms dla collectd
1261 Group:          Daemons
1262 Requires:       %{name} = %{version}-%{release}
1263
1264 %description xmms
1265 The XMMS plugin is a plugin for the XMMS music player. It graphs the
1266 bit-rate and sampling rate as you play songs. Not really useful, just
1267 something that got written because we can.
1268
1269 %package -n perl-Collectd
1270 Summary:        Perl files from Collectd package
1271 Group:          Daemons
1272
1273 %description -n perl-Collectd
1274 Perl files from Collectd package
1275
1276 %prep
1277 %setup -q
1278 %patch0 -p1
1279 %patch1 -p1
1280 %patch2 -p1
1281 %patch3 -p0
1282 %patch4 -p0
1283 %patch5 -p1
1284 #%patch6 -p1
1285
1286 %build
1287 %{__libtoolize}
1288 %{__aclocal}
1289 %{__autoconf}
1290 %{__autoheader}
1291 %{__automake}
1292
1293 %configure \
1294         CPPFLAGS="-Wno-unused-but-set-variable" \
1295         c_cv_have_libperl=yes \
1296         --with-libiptc=/usr \
1297         --with-libstatgrab=/usr \
1298         --with-lm-sensors=/usr \
1299         --with-libmysql=/usr \
1300         --enable-perl \
1301         %{__enable_disable dns} \
1302         %{__enable_disable ipmi} \
1303         %{__enable_disable iptables} \
1304         %{__enable_disable multimeter} \
1305         %{__enable_disable mysql} \
1306         %{__enable_disable netlink} \
1307         %{__enable_disable notify notify_desktop} \
1308         %{__enable_disable libesmtp notify_email} \
1309         %{__enable_disable modbus } \
1310         %{__enable_disable libvirt} \
1311         %{__enable_disable ups nut} \
1312         %{__enable_disable ping} \
1313         %{__enable_disable pgsql postgresql} \
1314         %{__enable_disable rrd rrdtool} \
1315         %{__enable_disable sensors} \
1316         %{__enable_disable snmp} \
1317         %{__enable_disable xmms} \
1318         %{__enable_disable varnish} \
1319         %{__enable_disable curl} \
1320         %{__enable_disable curl apache} \
1321         %{__enable_disable curl ngix} \
1322         %{__enable_disable curl ascent} \
1323         %{__disable curl ascent} \
1324         %{__disable curl bind} \
1325         %{__disable xml ascent} \
1326         %{__disable xml bind} \
1327         --disable-ipvs
1328
1329
1330 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
1331         BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
1332         BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
1333
1334 %install
1335 rm -rf $RPM_BUILD_ROOT
1336 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
1337         $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
1338
1339 %{__make} install \
1340         DESTDIR=$RPM_BUILD_ROOT
1341
1342 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
1343 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1344
1345 # Web frontend:
1346 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1347 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
1348 install %{SOURCE5} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1349 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1350 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1351
1352 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1353 mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1354 ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf
1355 sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1356
1357 ### Configs instalation ###
1358 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1359         egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1360         grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1361 done
1362
1363 # Example config in sources: src/collectd.conf
1364 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1365
1366 # Overwrite only files which we want to change:
1367 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1368 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1369
1370 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1371 mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/
1372
1373 # Cleanups:
1374 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1375
1376 %clean
1377 rm -rf $RPM_BUILD_ROOT
1378
1379 %post
1380 /sbin/chkconfig --add %{name}
1381 %service %{name} restart
1382
1383 %preun
1384 if [ "$1" = "0" ]; then
1385         %service -q %{name} stop
1386         /sbin/chkconfig --del %{name}
1387 fi
1388
1389 %post   libs -p /sbin/ldconfig
1390 %postun libs -p /sbin/ldconfig
1391
1392 %define module_scripts() \
1393 %post %1 \
1394 %service %{name} restart \
1395 \
1396 %postun %1 \
1397 %service %{name} restart
1398
1399 %module_scripts apache
1400 %module_scripts apcups
1401 %module_scripts ascent
1402 %module_scripts battery
1403 %module_scripts bind
1404 %module_scripts contextswitch
1405 %module_scripts conntrack
1406 %module_scripts cpu
1407 %module_scripts cpufreq
1408 %module_scripts csv
1409 %module_scripts curl
1410 %module_scripts curl_json
1411 %module_scripts dbi
1412 %module_scripts df
1413 %module_scripts disk
1414 %module_scripts dns
1415 %module_scripts email
1416 %module_scripts entropy
1417 %module_scripts ethstat
1418 %module_scripts exec
1419 %module_scripts filecount
1420 %module_scripts fscache
1421 %module_scripts hddtemp
1422 %module_scripts interface
1423 %module_scripts ipmi
1424 %module_scripts iptables
1425 %module_scripts irq
1426 %module_scripts libvirt
1427 %module_scripts load
1428 %module_scripts logfile
1429 %module_scripts madwifi
1430 %module_scripts match_empty_counter
1431 %module_scripts match_hashed
1432 %module_scripts match_regex
1433 %module_scripts match_timediff
1434 %module_scripts match_value
1435 %module_scripts mbmon
1436 %module_scripts md
1437 %module_scripts memcachec
1438 %module_scripts memcached
1439 %module_scripts memory
1440 %module_scripts multimeter
1441 %module_scripts mysql
1442 %module_scripts netlink
1443 %module_scripts network
1444 %module_scripts nfs
1445 %module_scripts nginx
1446 %module_scripts notify_desktop
1447 %module_scripts notify_email
1448 %module_scripts ntpd
1449 %module_scripts numa
1450 %module_scripts nut
1451 %module_scripts olsrd
1452 %module_scripts openvpn
1453 %module_scripts perl
1454 %module_scripts ping
1455 %module_scripts postgresql
1456 %module_scripts powerdns
1457 %module_scripts processes
1458 %module_scripts protocols
1459 %module_scripts python
1460 %module_scripts rrdcached
1461 %module_scripts rrdtool
1462 %module_scripts sensors
1463 %module_scripts serial
1464 %module_scripts snmp
1465 %module_scripts swap
1466 %module_scripts syslog
1467 %module_scripts table
1468 %module_scripts tail
1469 %module_scripts target_notification
1470 %module_scripts target_replace
1471 %module_scripts target_scale
1472 %module_scripts target_set
1473 %module_scripts target_v5upgrade
1474 %module_scripts tcpconns
1475 %module_scripts teamspeak2
1476 %module_scripts ted
1477 %module_scripts thermal
1478 %module_scripts threshold
1479 %module_scripts unixsock
1480 %module_scripts uptime
1481 %module_scripts users
1482 %module_scripts uuid
1483 %module_scripts varnish
1484 %module_scripts vmem
1485 %module_scripts vserver
1486 %module_scripts write_graphite
1487 %module_scripts write_http
1488 %module_scripts wireless
1489 %module_scripts xmms
1490
1491 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1492 %webapp_register apache %{_webapp}
1493
1494 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1495 %webapp_unregister apache %{_webapp}
1496
1497 %triggerin collection -- apache-base
1498 %webapp_register httpd %{_webapp}
1499
1500 %triggerun collection -- apache-base
1501 %webapp_unregister httpd %{_webapp}
1502
1503 %triggerin collection -- lighttpd
1504 %webapp_register lighttpd %{_webapp}
1505
1506 %triggerun collection -- lighttpd
1507 %webapp_unregister lighttpd %{_webapp}
1508
1509 %files
1510 %defattr(644,root,root,755)
1511 %doc AUTHORS ChangeLog README TODO contrib
1512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1513 %dir %{_sysconfdir}/%{name}.d
1514 %dir %{_webappdir}
1515 %attr(755,root,root) %{_sbindir}/collectd
1516 %attr(755,root,root) %{_sbindir}/collectdmon
1517 %attr(755,root,root) %{_bindir}/collectdctl
1518 %attr(755,root,root) %{_bindir}/collectd-nagios
1519 %dir %{_libdir}/%{name}
1520 %dir %{_datadir}/%{name}
1521 %{_datadir}/%{name}/types.db
1522 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1523 %{_mandir}/man1/collectd.1*
1524 %{_mandir}/man1/collectd-nagios.1*
1525 %{_mandir}/man1/collectdctl.1*
1526 %{_mandir}/man1/collectdmon.1*
1527 %{_mandir}/man5/collectd.conf.5*
1528 %{_mandir}/man5/collectd-java.5*
1529 %{_mandir}/man5/types.db.5*
1530 %dir %{_var}/lib/%{name}
1531
1532 %files libs
1533 %defattr(644,root,root,755)
1534 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1535 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.1
1536
1537 %files devel
1538 %defattr(644,root,root,755)
1539 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1540 %{_libdir}/libcollectdclient.la
1541 %dir %{_includedir}/%{name}
1542 %{_includedir}/%{name}/*.h
1543 %{_pkgconfigdir}/libcollectdclient.pc
1544
1545 %files static
1546 %defattr(644,root,root,755)
1547 %{_libdir}/libcollectdclient.a
1548 %{_libdir}/%{name}/*.a
1549
1550 %files collection
1551 %defattr(644,root,root,755)
1552 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1553 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1554 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1555 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1556 %dir %{_appdir}
1557 %dir %{_appdir}/cgi-bin
1558 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1559
1560 %files collection3
1561 %defattr(644,root,root,755)
1562 %doc contrib/collection3/README
1563 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf
1564 %dir %{_appdir}/collection3
1565 %dir %{_appdir}/collection3/bin
1566 %attr(755,root,root) %{_appdir}/collection3/bin/*.cgi
1567 %{_appdir}/collection3/etc
1568 %{_appdir}/collection3/lib
1569 %{_appdir}/collection3/share
1570
1571 ########## PLUGINS:
1572 %if %{with xml}
1573 %if %{with curl}
1574 %files apache
1575 %defattr(640,root,root,755)
1576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1577 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1578 %endif
1579 %endif
1580
1581 %files apcups
1582 %defattr(644,root,root,755)
1583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1584 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1585
1586 %if %{with curl}
1587 %files ascent
1588 %defattr(640,root,root,755)
1589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1590 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1591 %endif
1592
1593 %files battery
1594 %defattr(644,root,root,755)
1595 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1596 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1597
1598 %if %{with xml}
1599 %if %{with curl}
1600 %files bind
1601 %defattr(644,root,root,755)
1602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1603 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1604 %endif
1605 %endif
1606
1607 %files contextswitch
1608 %defattr(644,root,root,755)
1609 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1610 %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1611
1612 %files conntrack
1613 %defattr(644,root,root,755)
1614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1615 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1616
1617 %files cpu
1618 %defattr(644,root,root,755)
1619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1620 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1621
1622 %files cpufreq
1623 %defattr(644,root,root,755)
1624 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1625 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1626
1627 %files csv
1628 %defattr(644,root,root,755)
1629 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1630 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1631
1632 %if %{with curl}
1633 %files curl
1634 %defattr(640,root,root,755)
1635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1636 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1637 %if %{with xml}
1638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1639 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1640 %endif
1641
1642 %files curl_json
1643 %defattr(640,root,root,755)
1644 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
1645 %attr(755,root,root) %{_libdir}/%{name}/curl_json.so
1646 %endif
1647
1648 %files dbi
1649 %defattr(640,root,root,755)
1650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1651 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1652
1653 %files df
1654 %defattr(644,root,root,755)
1655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1656 %attr(755,root,root) %{_libdir}/%{name}/df.so
1657
1658 %files disk
1659 %defattr(644,root,root,755)
1660 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1661 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1662
1663 %if %{with dns}
1664 %files dns
1665 %defattr(644,root,root,755)
1666 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1667 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1668 %endif
1669
1670 %files email
1671 %defattr(644,root,root,755)
1672 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1673 %attr(755,root,root) %{_libdir}/%{name}/email.so
1674 %{_mandir}/man5/collectd-email.5*
1675
1676 %files entropy
1677 %defattr(644,root,root,755)
1678 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1679 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1680
1681 %files ethstat
1682 %defattr(644,root,root,755)
1683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ethstat.conf
1684 %attr(755,root,root) %{_libdir}/%{name}/ethstat.so
1685
1686 %files exec
1687 %defattr(644,root,root,755)
1688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1689 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1690 %{_mandir}/man5/collectd-exec.5*
1691
1692 %files filecount
1693 %defattr(644,root,root,755)
1694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1695 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1696
1697 %files fscache
1698 %defattr(644,root,root,755)
1699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1700 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1701
1702 %files hddtemp
1703 %defattr(644,root,root,755)
1704 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1705 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1706
1707 %files interface
1708 %defattr(644,root,root,755)
1709 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1710 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1711
1712 %if %{with ipmi}
1713 %files ipmi
1714 %defattr(644,root,root,755)
1715 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1716 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1717 %endif
1718
1719 %if %{with iptables}
1720 %files iptables
1721 %defattr(644,root,root,755)
1722 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1723 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1724 %endif
1725
1726 %files irq
1727 %defattr(644,root,root,755)
1728 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1729 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1730
1731 %if %{with libvirt}
1732 %files libvirt
1733 %defattr(644,root,root,755)
1734 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
1735 %attr(755,root,root) %{_libdir}/%{name}/libvirt.so
1736 %endif
1737
1738 %files load
1739 %defattr(644,root,root,755)
1740 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1741 %attr(755,root,root) %{_libdir}/%{name}/load.so
1742
1743 %files logfile
1744 %defattr(644,root,root,755)
1745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1746 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1747 %{_var}/log/collectd.log
1748
1749 %files madwifi
1750 %defattr(644,root,root,755)
1751 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1752 %attr(755,root,root) %{_libdir}/%{name}/madwifi.so
1753
1754 %files match_empty_counter
1755 %defattr(644,root,root,755)
1756 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1757 %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1758
1759 %files match_hashed
1760 %defattr(644,root,root,755)
1761 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1762 %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1763
1764 %files match_regex
1765 %defattr(644,root,root,755)
1766 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1767 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1768
1769 %files match_timediff
1770 %defattr(644,root,root,755)
1771 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1773
1774 %files match_value
1775 %defattr(644,root,root,755)
1776 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1777 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1778
1779 %files mbmon
1780 %defattr(644,root,root,755)
1781 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1782 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1783
1784 %files md
1785 %defattr(644,root,root,755)
1786 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/md.conf
1787 %attr(755,root,root) %{_libdir}/%{name}/md.so
1788
1789 %files memcachec
1790 %defattr(644,root,root,755)
1791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1792 %attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1793
1794 %files memcached
1795 %defattr(644,root,root,755)
1796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1797 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1798
1799 %files memory
1800 %defattr(644,root,root,755)
1801 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1802 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1803
1804 %if %{with modbus}
1805 %files modbus
1806 %defattr(644,root,root,755)
1807 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/modbus.conf
1808 %attr(755,root,root) %{_libdir}/%{name}/modbus.so
1809 %endif
1810
1811 %if %{with multimeter}
1812 %files multimeter
1813 %defattr(644,root,root,755)
1814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1815 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1816 %endif
1817
1818 %if %{with mysql}
1819 %files mysql
1820 %defattr(640,root,root,755)
1821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1822 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1823 %endif
1824
1825 %if %{with netlink}
1826 %files netlink
1827 %defattr(644,root,root,755)
1828 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1829 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1830 %endif
1831
1832 %files network
1833 %defattr(644,root,root,755)
1834 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1835 %attr(755,root,root) %{_libdir}/%{name}/network.so
1836
1837 %files nfs
1838 %defattr(644,root,root,755)
1839 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1840 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1841
1842 %if %{with curl}
1843 %files nginx
1844 %defattr(640,root,root,755)
1845 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1846 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1847 %endif
1848
1849 %if %{with notify}
1850 %files notify_desktop
1851 %defattr(644,root,root,755)
1852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1853 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1854 %endif
1855
1856 %if %{with libesmtp}
1857 %files notify_email
1858 %defattr(640,root,root,755)
1859 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1860 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1861 %endif
1862
1863 %files ntpd
1864 %defattr(644,root,root,755)
1865 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1866 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1867
1868 %files numa
1869 %defattr(644,root,root,755)
1870 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/numa.conf
1871 %attr(755,root,root) %{_libdir}/%{name}/numa.so
1872
1873 %if %{with ups}
1874 %files nut
1875 %defattr(644,root,root,755)
1876 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1877 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1878 %endif
1879
1880 %files olsrd
1881 %defattr(644,root,root,755)
1882 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1883 %attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1884
1885 %files openvpn
1886 %defattr(644,root,root,755)
1887 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1888 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1889
1890 %files perl
1891 %defattr(644,root,root,755)
1892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
1893 %attr(755,root,root) %{_libdir}/%{name}/perl.so
1894 %{_mandir}/man5/collectd-perl.5*
1895
1896 %if %{with ping}
1897 %files ping
1898 %defattr(644,root,root,755)
1899 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1900 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1901 %endif
1902
1903 %if %{with pgsql}
1904 %files postgresql
1905 %defattr(640,root,root,755)
1906 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1907 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1908 %{_datadir}/%{name}/postgresql_default.conf
1909 %endif
1910
1911 %files powerdns
1912 %defattr(644,root,root,755)
1913 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1914 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1915
1916 %files processes
1917 %defattr(644,root,root,755)
1918 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1919 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1920
1921 %files protocols
1922 %defattr(644,root,root,755)
1923 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1924 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1925
1926 %files python
1927 %defattr(644,root,root,755)
1928 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1929 %attr(755,root,root) %{_libdir}/%{name}/python.so
1930 %{_mandir}/man5/collectd-python.5*
1931
1932 %if %{with rrd}
1933 %files rrdcached
1934 %defattr(644,root,root,755)
1935 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
1936 %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
1937
1938 %files rrdtool
1939 %defattr(644,root,root,755)
1940 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1941 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1942 %endif
1943
1944 %if %{with sensors}
1945 %files sensors
1946 %defattr(644,root,root,755)
1947 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1948 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1949 %endif
1950
1951 %files serial
1952 %defattr(644,root,root,755)
1953 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1954 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1955
1956 %if %{with snmp}
1957 %files snmp
1958 %defattr(644,root,root,755)
1959 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1960 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1961 %{_mandir}/man5/collectd-snmp.5*
1962 %endif
1963
1964 %files swap
1965 %defattr(644,root,root,755)
1966 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1967 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1968
1969 %files syslog
1970 %defattr(644,root,root,755)
1971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1972 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1973
1974 %files table
1975 %defattr(644,root,root,755)
1976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1977 %attr(755,root,root) %{_libdir}/%{name}/table.so
1978
1979 %files tail
1980 %defattr(644,root,root,755)
1981 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1982 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1983
1984 %files target_notification
1985 %defattr(644,root,root,755)
1986 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1987 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1988
1989 %files target_replace
1990 %defattr(644,root,root,755)
1991 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1992 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1993
1994 %files target_scale
1995 %defattr(644,root,root,755)
1996 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
1997 %attr(755,root,root) %{_libdir}/%{name}/target_scale.so
1998
1999 %files target_set
2000 %defattr(644,root,root,755)
2001 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
2002 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
2003
2004 %files target_v5upgrade
2005 %defattr(644,root,root,755)
2006 %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
2007
2008 %files tcpconns
2009 %defattr(644,root,root,755)
2010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
2011 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
2012
2013 %files teamspeak2
2014 %defattr(644,root,root,755)
2015 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
2016 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
2017
2018 %files ted
2019 %defattr(644,root,root,755)
2020 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
2021 %attr(755,root,root) %{_libdir}/%{name}/ted.so
2022
2023 %files thermal
2024 %defattr(644,root,root,755)
2025 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
2026 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
2027
2028 %files threshold
2029 %defattr(644,root,root,755)
2030 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
2031 %attr(755,root,root) %{_libdir}/%{name}/threshold.so
2032 %{_mandir}/man5/collectd-threshold.5*
2033
2034 %files unixsock
2035 %defattr(644,root,root,755)
2036 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
2037 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
2038 %{_mandir}/man5/collectd-unixsock.5*
2039
2040 %files uptime
2041 %defattr(644,root,root,755)
2042 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
2043 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
2044
2045 %files users
2046 %defattr(644,root,root,755)
2047 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
2048 %attr(755,root,root) %{_libdir}/%{name}/users.so
2049
2050 %files uuid
2051 %defattr(644,root,root,755)
2052 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
2053 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
2054
2055 %if %{with varnish}
2056 %files varnish
2057 %defattr(644,root,root,755)
2058 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
2059 %attr(755,root,root) %{_libdir}/%{name}/varnish.so
2060 %endif
2061
2062 %files vmem
2063 %defattr(644,root,root,755)
2064 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
2065 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
2066
2067 %files vserver
2068 %defattr(644,root,root,755)
2069 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
2070 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
2071
2072 %files wireless
2073 %defattr(644,root,root,755)
2074 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
2075 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
2076
2077 %files write_graphite
2078 %defattr(644,root,root,755)
2079 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_graphite.conf
2080 %attr(755,root,root) %{_libdir}/%{name}/write_graphite.so
2081
2082 %files write_http
2083 %defattr(644,root,root,755)
2084 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
2085 %attr(755,root,root) %{_libdir}/%{name}/write_http.so
2086
2087 %if %{with xmms}
2088 %files xmms
2089 %defattr(644,root,root,755)
2090 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
2091 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
2092 %endif
2093
2094 %files -n perl-Collectd
2095 %defattr(644,root,root,755)
2096 %{perl_vendorlib}/Collectd.pm
2097 %{perl_vendorlib}/Collectd
2098 %{_mandir}/man3/*.3*
This page took 0.328628 seconds and 4 git commands to generate.