]> git.pld-linux.org Git - packages/collectd.git/blob - collectd.spec
- updated to 4.7.1
[packages/collectd.git] / collectd.spec
1 # Conditional build:
2 %bcond_without  curl            # apache, ascent, bind, curl and nginx plugins
3 %bcond_without  dns             # DNS plugin
4 %bcond_without  ipmi            # IPMI plugin
5 %bcond_without  iptables        # iptables plugin
6 %bcond_without  libesmtp        # notify_email plugin
7 %bcond_with     multimeter      # multimeter plugin
8 %bcond_without  mysql           # MySQL plugin
9 %bcond_without  netlink         # netlink plugin
10 %bcond_without  notify          # notify_desktop plugin
11 %bcond_without  ping            # ping plugin
12 %bcond_without  psql            # PostgreSQL plugin
13 %bcond_without  rrd             # rrdtool and rrdcached plugins
14 %bcond_without  sensors         # sensors plugin
15 %bcond_without  snmp            # SNMP plugin
16 %bcond_without  ups             # nut plugin
17 %bcond_without  xml             # ascent, bind and libvirt plugins
18 %bcond_without  xmms            # XMMS plugin
19 #
20 #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
21 %ifarch %{x8664}
22 %undefine with_iptables
23 %undefine with_netlink
24 %endif
25 Summary:        Collects system information in RRD files
26 Summary(pl.UTF-8):      Zbieranie informacji o systemie w plikach RRD
27 Name:           collectd
28 Version:        4.7.1
29 Release:        1
30 License:        GPL v2
31 Group:          Daemons
32 Source0:        http://collectd.org/files/%{name}-%{version}.tar.bz2
33 # Source0-md5:  20e95914219a32bfd51d01333dbb7c01
34 Source1:        %{name}.conf
35 Source2:        %{name}.init
36 Source3:        %{name}-http.conf
37 Source4:        %{name}-lighttpd.conf
38 Source10:       %{name}-df.conf
39 Source11:       %{name}-rrdtool.conf
40 Patch0:         %{name}-collection.patch
41 Patch1:         %{name}-as_needed.patch
42 URL:            http://collectd.org/
43 %{?with_ipmi:BuildRequires:     OpenIPMI-devel >= 2.0.14-3}
44 BuildRequires:  autoconf
45 BuildRequires:  automake
46 %{?with_curl:BuildRequires:     curl-devel}
47 BuildRequires:  gcc-c++
48 BuildRequires:  hal-devel
49 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
50 BuildRequires:  libdbi-devel
51 %{?with_libesmtp:BuildRequires: libesmtp-devel}
52 BuildRequires:  libltdl-devel
53 %{?with_netlink:BuildRequires:  libnetlink-devel}
54 %{?with_notify:BuildRequires:   libnotify-devel}
55 %{?with_ping:BuildRequires:     liboping-devel}
56 %{?with_dns:BuildRequires:      libpcap-devel}
57 BuildRequires:  libstatgrab-devel >= 0.12
58 BuildRequires:  libtool
59 %{?with_xml:BuildRequires:      libxml2-devel}
60 %{?with_sensors:BuildRequires:  lm_sensors-devel}
61 %{?with_mysql:BuildRequires:    mysql-devel}
62 %{?with_ups:BuildRequires:      nut-devel}
63 BuildRequires:  perl-devel
64 %{?with_psql:BuildRequires:     postgresql-devel}
65 BuildRequires:  rpmbuild(macros) >= 1.268
66 %{?with_rrd:BuildRequires:      rrdtool-devel}
67 %{?with_snmp:BuildRequires:     net-snmp-devel}
68 %{?with_xmms:BuildRequires:     xmms-devel}
69 Requires(post,preun):   /sbin/chkconfig
70 Requires:       rc-scripts
71 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72
73 %define         _pkglibdir      %{_sharedstatedir}/%{name}
74 %define         _webapps        /etc/webapps
75 %define         _webapp         %{name}
76 %define         _webappdir      %{_webapps}/%{_webapp}
77 %define         _appdir         %{_datadir}/%{_webapp}
78
79 %description
80 collectd is a small daemon which collects system information every 10
81 seconds and writes the results in an RRD-file.
82
83 In contrast to most similar software, collectd is not a script but
84 written in plain C for performance and portability. As a daemon it
85 stays in memory, so there is no need to start up a heavy interpreter
86 every time new values should be logged. This allows collectd to have a
87 10 second resolution while being nice to the system.
88
89 %description -l pl.UTF-8
90 collectd to mały demon zbierający co 10 sekund informacje o systemie i
91 zapisujący wyniki do pliku RRD.
92
93 W odróżnieniu od innych podobnych programów collectd nie jest
94 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
95 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
96 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
97 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
98 sekund i nie obciążać zbytnio systemu.
99
100 %package libs
101 Summary:        %{name} libraries
102 Summary(pl.UTF-8):      Biblioteki %{name}
103 Group:          Libraries
104
105 %description libs
106 %{name} libraries.
107
108 %description libs -l pl.UTF-8
109 Biblioteki %{name}.
110
111 %package devel
112 Summary:        Header files for %{name} libraries
113 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek %{name}
114 Group:          Development/Libraries
115 Requires:       %{name}-libs = %{version}-%{release}
116
117 %description devel
118 Header files for %{name} libraries.
119
120 %description devel -l pl.UTF-8
121 Pliki nagłówkowe bibliotek %{name}.
122
123 %package static
124 Summary:        Static files for %{name} libraries
125 Summary(pl.UTF-8):      Pliki statyczne bibliotek %{name}
126 Group:          Development/Libraries
127 Requires:       %{name}-libs = %{version}-%{release}
128
129 %description static
130 Static files for %{name} libraries.
131
132 %description devel -l pl.UTF-8
133 Pliki statyczne bibliotek %{name}.
134
135 %package apache
136 Summary:        apache-plugin for collectd
137 Summary(pl_PL.UTF-8):   Wtyczka apache dla collectd
138 Group:          Daemons
139 Requires:       %{name} = %{version}-%{release}
140
141 %description apache
142 This plugin collectd data provided by Apache's `mod_status'.
143
144 %description apache -l pl.UTF-8
145 Wtyczka collectd zbierająca informacje udostępniane przez moduł
146 'mod_status' Apacha.
147
148 %package apcups
149 Summary:        APC UPS plugin for collectd
150 Summary(pl_PL.UTF-8):   Wtyczka APC UPS dla collectd
151 Group:          Daemons
152 Requires:       %{name} = %{version}-%{release}
153
154 %description apcups
155 APC UPS plugin for collectd.
156
157 %package ascent
158 Summary:        ascent-plugin for collectd
159 Summary(pl_PL.UTF-8):   Wtyczka ascent dla collectd
160 Group:          Daemons
161 Requires:       %{name} = %{version}-%{release}
162
163 %description ascent
164 ascent plugin for collectd.
165
166 %package battery
167 Summary:        battery plugin for collectd
168 Summary(pl_PL.UTF-8):   Wtyczka battery dla collectd
169 Group:          Daemons
170 Requires:       %{name} = %{version}-%{release}
171
172 %description battery
173 This plugin collects the battery's charge, the drawn current and the
174 battery's voltage.
175
176 %package bind
177 Summary:        bind plugin for collectd
178 Summary(pl_PL.UTF-8):   Wtyczka bind dla collectd
179 Group:          Daemons
180 Requires:       %{name} = %{version}-%{release}
181
182 %description bind
183 Starting with BIND 9.5.0, the most widely used DNS server software provides
184 extensive statistics about queries, responses and lots of other information.
185 The bind plugin retrieves this information that's encoded in XML and provided
186 via HTTP and submits the values to collectd.
187
188 %package collection
189 Summary:        Web script for collectd
190 Summary(pl_PL.UTF-8):   Web script for collectd
191 Group:          Applications/WWW
192 Requires:       %{name} = %{version}-%{release}
193 Requires:       perl(CGI)
194 Requires:       perl(Data::Dumper)
195 Requires:       perl(HTML::Entities)
196 Requires:       perl(RRDs)
197 Requires:       perl(URI::Escape)
198 Requires:       webserver(cgi)
199 Suggests:       fonts-TTF-DejaVu
200
201 %description collection
202 Web script for collectd.
203
204 %package conntrack
205 Summary:        conntrack-plugin for collectd
206 Summary(pl_PL.UTF-8):   Wtyczka conntrack dla collectd
207 Group:          Daemons
208 Requires:       %{name} = %{version}-%{release}
209
210 %description conntrack
211 The conntrack-plugin collects the connection tracking table size.
212
213 %package cpu
214 Summary:        cpu-plugin for collectd
215 Summary(pl_PL.UTF-8):   Wtyczka cpu dla collectd
216 Group:          Daemons
217 Requires:       %{name} = %{version}-%{release}
218
219 %description cpu
220 The cpu-plugin collects the amount of time spent by the CPU in various states,
221 most notably executing user code, executing system code, waiting for IO
222 operations and being idle.
223
224 %package cpufreq
225 Summary:        cpufreq-plugin for collectd
226 Summary(pl_PL.UTF-8):   Wtyczka cpufreq dla collectd
227 Group:          Daemons
228 Requires:       %{name} = %{version}-%{release}
229
230 %description cpufreq
231 Collects the current CPU's frequency, mostly for mobile computers.
232
233 %package csv
234 Summary:        CSV output plugin for collectd
235 Summary(pl_PL.UTF-8):   Wtyczka wyjściowa CSV dla collectd
236 Group:          Daemons
237 Requires:       %{name} = %{version}-%{release}
238
239 %description csv
240 CSV output plugin for collectd.
241
242 %package curl
243 Summary:        cURL output plugin for collectd
244 Summary(pl_PL.UTF-8):   Wtyczka wyjściowa cURL dla collectd
245 Group:          Daemons
246 Requires:       %{name} = %{version}-%{release}
247
248 %description curl
249 The curl plugin uses the libcurl to read web pages and the match
250 infrastructure (the same code used by the tail plugin) to use regular
251 expressions with the received data.
252
253 %package dbi
254 Summary:        dbi plugin for collectd
255 Summary(pl_PL.UTF-8):   Wtyczka dbi dla collectd
256 Group:          Daemons
257 Requires:       %{name} = %{version}-%{release}
258
259 %description dbi
260 This plugin uses the dbi library to connect to various databases, execute
261 SQL statements and read back the results. dbi is an acronym for "database
262 interface" in case you were wondering about the name. You can configure how
263 each column is to be interpreted and the plugin will generate one or more
264 data sets from each row returned according to these rules.
265
266 %package df
267 Summary:        df-plugin for collectd
268 Summary(pl_PL.UTF-8):   Wtyczka df dla collectd
269 Group:          Daemons
270 Requires:       %{name} = %{version}-%{release}
271
272 %description df
273 The df-plugin collects file system usage information, i. e. basically how
274 much space on a mounted partition is used and how much is available. It's
275 named after and very similar to the df(1) UNIX command that's been around
276 forever.
277
278 %package disk
279 Summary:        disk-plugin for collectd
280 Summary(pl_PL.UTF-8):   Wtyczka disk dla collectd
281 Group:          Daemons
282 Requires:       %{name} = %{version}-%{release}
283
284 %description disk
285 This plugin collects performance statistics of harddisks and, where
286 supported, partitions.
287
288 %package dns
289 Summary:        dns-plugin for collectd
290 Summary(pl_PL.UTF-8):   Wtyczka dns dla collectd
291 Group:          Daemons
292 Requires:       %{name} = %{version}-%{release}
293 Requires:       perl-rrdtool
294
295 %description dns
296 This plugin has a similar functionality to dnstop: It uses libpcap to get
297 a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
298 the packets and collects statistics of your DNS traffic.
299
300 %package email
301 Summary:        email-plugin for collectd
302 Summary(pl_PL.UTF-8):   Wtyczka email dla collectd
303 Group:          Daemons
304 Requires:       %{name} = %{version}-%{release}
305
306 %description email
307 The email plugin opens an UNIX-socket over which one can submit email
308 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
309 received/handled, spam scores and matched spam checks.
310
311 This plugin is intended to be used with the the
312 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
313 included in contrib/, but is of course not limited to that use.
314
315 %package entropy
316 Summary:        entropy-plugin for collectd
317 Summary(pl_PL.UTF-8):   Wtyczka entropy dla collectd
318 Group:          Daemons
319 Requires:       %{name} = %{version}-%{release}
320
321 %description entropy
322 entropy plugin for collectd.
323
324 %package exec
325 Summary:        exec-plugin for collectd
326 Summary(pl_PL.UTF-8):   Wtyczka exec dla collectd
327 Group:          Daemons
328 Requires:       %{name} = %{version}-%{release}
329
330 %description exec
331 The exec plugin forks of an executable either to receive values or to
332 dispatch notifications to the outside world.
333
334 %package filecount
335 Summary:        filecount-plugin for collectd
336 Summary(pl_PL.UTF-8):   Wtyczka filecount dla collectd
337 Group:          Daemons
338 Requires:       %{name} = %{version}-%{release}
339
340 %description filecount
341 The filecount-plugin does something very simple: Count the number of files
342 in a directory and all its subdirectories. This can be used for a variety of
343 statistics, for example the queue length of an MTA, the number of PHP
344 sessions of a web server or simply the number of files in your home
345 directory.
346
347 %package fscache
348 Summary:        fscache-plugin for collectd
349 Summary(pl_PL.UTF-8):   Wtyczka fscache dla collectd
350 Group:          Daemons
351 Requires:       %{name} = %{version}-%{release}
352
353 %description fscache
354 The fscache-plugin collects statistics about Linux file-system based caching
355 framework.
356
357 %package hddtemp
358 Summary:        hddtemp-plugin for collectd
359 Summary(pl_PL.UTF-8):   Wtyczka hddtemp dla collectd
360 Group:          Daemons
361 Requires:       %{name} = %{version}-%{release}
362 Suggests:       hddtemp-hddtempd
363
364 %description hddtemp
365 Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
366 queried by the external hddtemp-daemon.
367
368 %package interface
369 Summary:        interface-plugin for collectd
370 Summary(pl_PL.UTF-8):   Wtyczka interface dla collectd
371 Group:          Daemons
372 Requires:       %{name} = %{version}-%{release}
373
374 %description interface
375 The interface-plugin collects information about the traffic (octets), packets
376 and errors of interfaces.
377
378 %package iptables
379 Summary:        iptables-plugin for collectd
380 Summary(pl_PL.UTF-8):   Wtyczka iptables dla collectd
381 Group:          Daemons
382 Requires:       %{name} = %{version}-%{release}
383
384 %description iptables
385 With this plugin you can gather statistics from your ip_tables based
386 packetfilter (aka. firewall). It can collect the byte- and packet-counters
387 of selected rules and submit them to collectd. You can select rules that
388 should be collected wither by its position (e.g. "the fourth rule in the
389 INPUT queue in the filter table") or by its comment (using the COMMENT
390 match). This means that depending on your firewall layout you can collect
391 certain services (such as the amount of web-traffic), source or destination
392 hosts or networks, dropped packets and much more.
393
394 %package ipmi
395 Summary:        ipmi-plugin for collectd
396 Summary(pl_PL.UTF-8):   Wtyczka ipmi dla collectd
397 Group:          Daemons
398 Requires:       %{name} = %{version}-%{release}
399
400 %description ipmi
401 ipmi plugin for collectd.
402
403 %description ipmi -l pl.UTF-8
404 Wtyczka ipmi dla collectd.
405
406 %package irq
407 Summary:        IRQs-plugin for collectd
408 Summary(pl_PL.UTF-8):   Wtyczka IRQs dla collectd
409 Group:          Daemons
410 Requires:       %{name} = %{version}-%{release}
411
412 %description irq
413 IRQs plugin for collectd.
414
415 %package load
416 Summary:        load-plugin for collectd
417 Summary(pl_PL.UTF-8):   Wtyczka load dla collectd
418 Group:          Daemons
419 Requires:       %{name} = %{version}-%{release}
420
421 %description load
422 Collects the system load. These numbers give a rough overview over the
423 utilization of a machine, though their meaning is mostly overrated.
424
425 %package logfile
426 Summary:        logfile-plugin for collectd
427 Summary(pl_PL.UTF-8):   Wtyczka logfile dla collectd
428 Group:          Daemons
429 Requires:       %{name} = %{version}-%{release}
430
431 %description logfile
432 Logfile plugin for collectd.
433
434 %package match_regex
435 Summary:        match_regex plugin for collectd
436 Summary(pl_PL.UTF-8):   Wtyczka match_regex dla collectd
437 Group:          Daemons
438 Requires:       %{name} = %{version}-%{release}
439
440 %description match_regex
441 match_regex plugin for collectd.
442
443 %package match_timediff
444 Summary:        match_timediff plugin for collectd
445 Summary(pl_PL.UTF-8):   Wtyczka match_timediff dla collectd
446 Group:          Daemons
447 Requires:       %{name} = %{version}-%{release}
448
449 %description match_timediff
450 match_timediff plugin for collectd.
451
452 %package match_value
453 Summary:        match_value plugin for collectd
454 Summary(pl_PL.UTF-8):   Wtyczka match_value dla collectd
455 Group:          Daemons
456 Requires:       %{name} = %{version}-%{release}
457
458 %description match_value
459 match_value plugin for collectd.
460
461 %package mbmon
462 Summary:        mbmon plugin for collectd
463 Summary(pl_PL.UTF-8):   Wtyczka mbmon dla collectd
464 Group:          Daemons
465 Requires:       %{name} = %{version}-%{release}
466
467 %description mbmon
468 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
469
470 %package memcached
471 Summary:        memcached-plugin for collectd
472 Summary(pl_PL.UTF-8):   Wtyczka memcached dla collectd
473 Group:          Daemons
474 Requires:       %{name} = %{version}-%{release}
475
476 %description memcached
477 The memcached plugin connects to a memcached daemon and collects the number
478 of connections and requests handled by the daemon, the CPU resources consumed,
479 number of items cached, number of threads, and bytes sent and received.
480
481 %package memory
482 Summary:        memory-plugin for collectd
483 Summary(pl_PL.UTF-8):   Wtyczka memory dla collectd
484 Group:          Daemons
485 Requires:       %{name} = %{version}-%{release}
486
487 %description memory
488 Collects physical memory utilization for collectd.
489
490 %package multimeter
491 Summary:        multimeter-plugin for collectd
492 Summary(pl_PL.UTF-8):   Wtyczka multimeter dla collectd
493 Group:          Daemons
494 Requires:       %{name} = %{version}-%{release}
495
496 %description multimeter
497 Multimeter plugin for collectd.
498
499 %package mysql
500 Summary:        mysql-plugin for collectd
501 Summary(pl_PL.UTF-8):   Moduł mysql dla collectd.
502 Group:          Daemons
503 Requires:       %{name} = %{version}-%{release}
504 Requires:       mysql-client
505
506 %description mysql
507 MySQL querying plugin. This plugins provides data of issued commands,
508 called handlers and database traffic.
509
510 %description mysql -l pl.UTF-8
511 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
512 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
513
514 %package netlink
515 Summary:        netlink-plugin for collectd
516 Summary(pl_PL.UTF-8):   Wtyczka netlink dla collectd
517 Group:          Daemons
518 Requires:       %{name} = %{version}-%{release}
519
520 %description netlink
521 This plugin will open a netlink socket to the Linux kernel and use it to get
522 statistics for interfaces, qdiscs, classes, and, if you can make use of it,
523 filters. Since in most setups many of the statistics this plugin can collect
524 aren't of interest, you can select which information to gather using the
525 configuration.
526
527 %package network
528 Summary:        network-plugin for collectd
529 Summary(pl_PL.UTF-8):   Wtyczka network dla collectd
530 Group:          Daemons
531 Requires:       %{name} = %{version}-%{release}
532
533 %description network
534 nginx plugin for collectd.
535
536 %package nfs
537 Summary:        NFS-plugin for collectd
538 Summary(pl_PL.UTF-8):   Wtyczka NFS dla collectd
539 Group:          Daemons
540 Requires:       %{name} = %{version}-%{release}
541
542 %description nfs
543 The nfs plugin counts the number of procedure calls of the different NFS
544 procedures.
545
546 %package nginx
547 Summary:        nginx-plugin for collectd
548 Summary(pl_PL.UTF-8):   Wtyczka nginx dla collectd
549 Group:          Daemons
550 Requires:       %{name} = %{version}-%{release}
551
552 %description nginx
553 This plugin collects the number of connections and requests handled by the
554 nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
555 the ngx_http_stub_status_module module, which isn't compiled by default.
556
557 %package notify_desktop
558 Summary:        notify_desktop for collectd
559 Summary(pl_PL.UTF-8):   Wtyczka notify_desktop dla collectd
560 Group:          Daemons
561 Requires:       %{name} = %{version}-%{release}
562
563 %description notify_desktop
564 This plugin sends a desktop notification to a notification daemon, as
565 defined in the Desktop Notification Specification. To actually display the
566 notifications, notification-daemon is required and collectd has to be able
567 to access the X server.
568
569 %package notify_email
570 Summary:        notify_email-plugin for collectd
571 Summary(pl_PL.UTF-8):   Wtyczka notify_email dla collectd
572 Group:          Daemons
573 Requires:       %{name} = %{version}-%{release}
574
575 %description notify_email
576 notify_email plugin for collectd.
577
578 %package ntpd
579 Summary:        ntpd-plugin for collectd
580 Summary(pl_PL.UTF-8):   Wtyczka ntpd dla collectd
581 Group:          Daemons
582 Requires:       %{name} = %{version}-%{release}
583
584 %description ntpd
585 NTPd plugin for collectd.
586
587 %package nut
588 Summary:        nut-plugin for collectd
589 Summary(pl_PL.UTF-8):   Wtyczka nut dla collectd
590 Group:          Daemons
591 Requires:       %{name} = %{version}-%{release}
592
593 %description nut
594 UPS statistics using the Network UPS Tools. These statistics include
595 basically everything NUT will give us, including voltages, currents, power,
596 frequencies, load, and temperatures.
597
598 %package openvpn
599 Summary:        openvpn plugin for collectd
600 Summary(pl_PL.UTF-8):   Wtyczka openvpn dla collectd
601 Group:          Daemons
602 Requires:       %{name} = %{version}-%{release}
603 Requires:       openvpn
604
605 %description openvpn
606 The OpenVPN plugin reads a status file maintained by OpenVPN and gathers
607 traffic statistics about connected clients.
608
609 %package ping
610 Summary:        ping-plugin for collectd
611 Summary(pl_PL.UTF-8):   Wtyczka ping dla collectd
612 Group:          Daemons
613 Requires:       %{name} = %{version}-%{release}
614
615 %description ping
616 The network latency is measured as a roundtrip time. An ICMP-echo-request
617 (aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
618 "pong") to arrive is measured. If a reply is not received within one second
619 the plugin will no longer expect a reply and return. This may happen in
620 several circumstances, e. g. the packet is lost, the host is down, a router
621 has dismissed the packet, etc.
622
623 %package postgresql
624 Summary:        mysql-plugin for collectd
625 Summary(pl_PL.UTF-8):   Moduł postgresql dla collectd.
626 Group:          Daemons
627 Requires:       %{name} = %{version}-%{release}
628
629 %description postgresql
630 The postgresql plugin queries statistics from PostgreSQL databases. It keeps
631 a persistent connection to all configured databases and tries to reconnect
632 if the connection has been interrupted.
633
634 %package powerdns
635 Summary:        powerdns-plugin for collectd
636 Summary(pl_PL.UTF-8):   Wtyczka powerdns dla collectd
637 Group:          Daemons
638 Requires:       %{name} = %{version}-%{release}
639
640 %description powerdns
641 The powerdns plugin queries statistics from an authoritative PowerDNS
642 nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
643 values, many of which are probably meaningless to most users, but may be
644 useful for some.
645
646 %package processes
647 Summary:        processes-plugin for collectd
648 Summary(pl_PL.UTF-8):   Wtyczka processes dla collectd
649 Group:          Daemons
650 Requires:       %{name} = %{version}-%{release}
651
652 %description processes
653 This plugin collects the number of processes, grouped by their state (e.g.
654 running, sleeping, zombies, etc.). In addition to that, it can select
655 detailed statistics about selected processes, grouped by name.
656
657 %package protocols
658 Summary:        protocols-plugin for collectd
659 Summary(pl_PL.UTF-8):   Wtyczka protocols dla collectd
660 Group:          Daemons
661 Requires:       %{name} = %{version}-%{release}
662
663 %description protocols
664 The protocols-plugin provides information about network protocols, such as
665 IP, TCP and UDP.
666
667 %package rrdtool
668 Summary:        rrdtool-plugin for collectd
669 Summary(pl_PL.UTF-8):   Wtyczka rrdtool dla collectd
670 Group:          Daemons
671 Requires:       %{name} = %{version}-%{release}
672 Requires:       rrdtool
673
674 %description rrdtool
675 RRDTOOL plugin for collectd.
676
677 %package sensors
678 Summary:        sensors-plugin for collectd
679 Summary(pl_PL.UTF-8):   Wtyczka sensors dla collectd
680 Group:          Daemons
681 Requires:       %{name} = %{version}-%{release}
682
683 %description sensors
684 This plugin uses lm-sensors to read hardware sensors. You will need to
685 configure lm-sensors before this plugin will collect any usefull and correct
686 data.
687
688 %package serial
689 Summary:        serial-plugin for collectd
690 Summary(pl_PL.UTF-8):   Wtyczka serial dla collectd
691 Group:          Daemons
692 Requires:       %{name} = %{version}-%{release}
693
694 %description serial
695 Serial plugin for collectd.
696
697 %package snmp
698 Summary:        snmp-plugin for collectd
699 Summary(pl_PL.UTF-8):   Wtyczka snmp dla collectd
700 Group:          Daemons
701 Requires:       %{name} = %{version}-%{release}
702
703 %description snmp
704 The snmp plugin queries other hosts using SNMP, the Simple Network
705 Management Protocol, and translates the value it receives to collectd's
706 internal format and dispatches them. Depending on the write plugins you have
707 loaded they may be written to disk or submitted to another instance or
708 whatever you configured.
709
710 %package swap
711 Summary:        swap-plugin for collectd
712 Summary(pl_PL.UTF-8):   Wtyczka swap dla collectd
713 Group:          Daemons
714 Requires:       %{name} = %{version}-%{release}
715
716 %description swap
717 Swap space plugin for collectd.
718
719 %package syslog
720 Summary:        syslog-plugin for collectd
721 Summary(pl_PL.UTF-8):   Wtyczka syslog dla collectd
722 Group:          Daemons
723 Requires:       %{name} = %{version}-%{release}
724
725 %description syslog
726 Syslog plugin for collectd.
727
728 %package table
729 Summary:        table-plugin for collectd
730 Summary(pl_PL.UTF-8):   Wtyczka table dla collectd
731 Group:          Daemons
732 Requires:       %{name} = %{version}-%{release}
733
734 %description table
735 The table-plugin provides parsing for table-like structured files,
736 such as many files beneath /proc.
737
738 %package target_notification
739 Summary:        target_notification-plugin for collectd
740 Summary(pl_PL.UTF-8):   Wtyczka target_notification dla collectd
741 Group:          Daemons
742 Requires:       %{name} = %{version}-%{release}
743
744 %description target_notification
745 target_notification plugin for collectd.
746
747 %package target_replace
748 Summary:        target_replace-plugin for collectd
749 Summary(pl_PL.UTF-8):   Wtyczka target_replace dla collectd
750 Group:          Daemons
751 Requires:       %{name} = %{version}-%{release}
752
753 %description target_replace
754 target_replace plugin for collectd.
755
756 %package target_set
757 Summary:        target_set-plugin for collectd
758 Summary(pl_PL.UTF-8):   Wtyczka target_set dla collectd
759 Group:          Daemons
760 Requires:       %{name} = %{version}-%{release}
761
762 %description target_set
763 target_set plugin for collectd.
764
765 %package tail
766 Summary:        tail-plugin for collectd
767 Summary(pl_PL.UTF-8):   Wtyczka tail dla collectd
768 Group:          Daemons
769 Requires:       %{name} = %{version}-%{release}
770
771 %description tail
772 The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
773 does. Each line is given to one or more "matches" which test if the line is
774 relevant for any statistics using a regular expression.
775
776 %package tcpconns
777 Summary:        tcpconns-plugin for collectd
778 Summary(pl_PL.UTF-8):   Wtyczka tcpconns dla collectd
779 Group:          Daemons
780 Requires:       %{name} = %{version}-%{release}
781
782 %description tcpconns
783 The tcpconns-plugin counts the number of TCP connections to or from a
784 specified port. Typically the connectioins where you specify the local port
785 are incoming connections while the connections where you specify the remote
786 port are outgoing connections.
787
788 %package teamspeak2
789 Summary:        teamspeak2-plugin for collectd
790 Summary(pl_PL.UTF-8):   Wtyczka teamspeak2 dla collectd
791 Group:          Daemons
792 Requires:       %{name} = %{version}-%{release}
793
794 %description teamspeak2
795 The teamspeak2 plugin connects to the query port of a teamspeak2 server and
796 polls interesting global and virtual server data. The plugin can query only
797 one physical server but unlimited virtual servers.
798
799 %package ted
800 Summary:        ted-plugin for collectd
801 Summary(pl_PL.UTF-8):   Wtyczka ted dla collectd
802 Group:          Daemons
803 Requires:       %{name} = %{version}-%{release}
804
805 %description ted
806 The TED-plugin reads power consumption measurements from “The Energy Detective”
807 (TED).
808
809 %package thermal
810 Summary:        thermal-plugin for collectd
811 Summary(pl_PL.UTF-8):   Wtyczka thermal dla collectd
812 Group:          Daemons
813 Requires:       %{name} = %{version}-%{release}
814
815 %description thermal
816 Thermal plugin for collectd.
817
818 %package unixsock
819 Summary:        unixsock-plugin for collectd
820 Summary(pl_PL.UTF-8):   Wtyczka unixsock dla collectd
821 Group:          Daemons
822 Requires:       %{name} = %{version}-%{release}
823
824 %description unixsock
825 The unixsock plugin opens an UNIX-socket over which one can interact with
826 the daemon. This can be used to use the values collected by collectd in
827 other applications, such as monitoring, or submit externally collected
828 values to collectd.
829
830 %package uptime
831 Summary:        uptime-plugin for collectd
832 Summary(pl_PL.UTF-8):   Wtyczka uptime dla collectd
833 Group:          Daemons
834 Requires:       %{name} = %{version}-%{release}
835
836 %description uptime
837 The uptime-plugin can collect the server's uptime.
838
839 %package users
840 Summary:        users-plugin for collectd
841 Summary(pl_PL.UTF-8):   Wtyczka users dla collectd
842 Group:          Daemons
843 Requires:       %{name} = %{version}-%{release}
844
845 %description users
846 Number of users currently logged in.
847
848 %package uuid
849 Summary:        uuid-plugin for collectd
850 Summary(pl_PL.UTF-8):   Wtyczka uuid dla collectd
851 Group:          Daemons
852 Requires:       %{name} = %{version}-%{release}
853
854 %description uuid
855 This plugin, if loaded, causes the Hostname to be taken from the machine's
856 UUID. The UUID is a universally unique designation for the machine, usually
857 taken from the machine's BIOS. This is most useful if the machine is
858 running in a virtual environment such as Xen, in which case the UUID is
859 preserved across shutdowns and migration.
860
861 %package vmem
862 Summary:        vmem-plugin for collectd
863 Summary(pl_PL.UTF-8):   Wtyczka vmem dla collectd
864 Group:          Daemons
865 Requires:       %{name} = %{version}-%{release}
866
867 %description vmem
868 The vmem plugin collects information about the usage of virtual memory.
869 Since the statistics provided by the Linux kernel are very detailed, they
870 are collected very detailed.
871
872 %package vserver
873 Summary:        vserver-plugin for collectd
874 Summary(pl_PL.UTF-8):   Wtyczka vserver dla collectd
875 Group:          Daemons
876 Requires:       %{name} = %{version}-%{release}
877
878 %description vserver
879 Collects information about the virtual servers running on a system, using
880 Linux-Vserver.
881
882 %package wireless
883 Summary:        wireless-plugin for collectd
884 Summary(pl_PL.UTF-8):   Wtyczka wireless dla collectd
885 Group:          Daemons
886 Requires:       %{name} = %{version}-%{release}
887
888 %description wireless
889 Wireless plugin for collectd.
890
891 %package xmms
892 Summary:        xmms-plugin for collectd
893 Summary(pl_PL.UTF-8):   Wtyczka xmms dla collectd
894 Group:          Daemons
895 Requires:       %{name} = %{version}-%{release}
896
897 %description xmms
898 This plugin collectd data provided by XMMS.
899
900 %prep
901 %setup -q
902 %patch0 -p1
903 %patch1 -p1
904
905 %build
906 %{__libtoolize}
907 %{__aclocal}
908 %{__autoconf}
909 %{__autoheader}
910 %{__automake}
911
912 %configure \
913         --with-libstatgrab=/usr \
914         --with-lm-sensors=/usr \
915         --with-libmysql=/usr \
916         --%{?with_dns:en}%{!?with_dns:dis}able-dns \
917         --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
918         --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
919         --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
920         --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
921         --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
922         --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
923         --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
924         --%{?with_ups:en}%{!?with_ups:dis}able-nut \
925         --%{?with_ping:en}%{!?with_ping:dis}able-ping \
926         --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
927         --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
928         --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
929         --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
930         --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
931         %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
932         %{!?with_xml:--disable-{ascent,bind,libvirt}} \
933         --disable-ipvs \
934         --disable-libvirt \
935         --disable-perl
936
937
938 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
939         BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
940         BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
941
942 %install
943 rm -rf $RPM_BUILD_ROOT
944 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
945         $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
946
947 %{__make} install \
948         DESTDIR=$RPM_BUILD_ROOT
949
950 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
951 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
952
953 # Web frontend:
954 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
955 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
956 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
957 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
958 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
959
960 ### Configs instalation ###
961 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
962         egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
963         grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
964 done
965
966 # Example config in sources: src/collectd.conf
967 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
968
969 # Overwrite only files which we want to change:
970 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
971 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
972
973 # Cleanups:
974 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
975
976 %clean
977 rm -rf $RPM_BUILD_ROOT
978
979 %post
980 /sbin/chkconfig --add %{name}
981 %service %{name} restart
982
983 %preun
984 if [ "$1" = "0" ]; then
985         %service -q %{name} stop
986         /sbin/chkconfig --del %{name}
987 fi
988
989 %post   libs -p /sbin/ldconfig
990 %postun libs -p /sbin/ldconfig
991
992 %define module_scripts() \
993 %post %1 \
994 %service %{name} restart \
995 \
996 %postun %1 \
997 %service %{name} restart
998
999 %module_scripts apache
1000 %module_scripts apcups
1001 %module_scripts ascent
1002 %module_scripts battery
1003 %module_scripts bind
1004 %module_scripts conntrack
1005 %module_scripts cpu
1006 %module_scripts cpufreq
1007 %module_scripts csv
1008 %module_scripts curl
1009 %module_scripts dbi
1010 %module_scripts df
1011 %module_scripts disk
1012 %module_scripts dns
1013 %module_scripts email
1014 %module_scripts entropy
1015 %module_scripts exec
1016 %module_scripts filecount
1017 %module_scripts fscache
1018 %module_scripts hddtemp
1019 %module_scripts interface
1020 %module_scripts ipmi
1021 %module_scripts iptables
1022 %module_scripts irq
1023 %module_scripts load
1024 %module_scripts logfile
1025 %module_scripts match_regex
1026 %module_scripts match_timediff
1027 %module_scripts match_value
1028 %module_scripts mbmon
1029 %module_scripts memcached
1030 %module_scripts memory
1031 %module_scripts multimeter
1032 %module_scripts mysql
1033 %module_scripts netlink
1034 %module_scripts network
1035 %module_scripts nfs
1036 %module_scripts nginx
1037 %module_scripts notify_desktop
1038 %module_scripts notify_email
1039 %module_scripts ntpd
1040 %module_scripts nut
1041 %module_scripts openvpn
1042 %module_scripts ping
1043 %module_scripts postgresql
1044 %module_scripts powerdns
1045 %module_scripts processes
1046 %module_scripts protocols
1047 %module_scripts rrdtool
1048 %module_scripts sensors
1049 %module_scripts serial
1050 %module_scripts snmp
1051 %module_scripts swap
1052 %module_scripts syslog
1053 %module_scripts table
1054 %module_scripts tail
1055 %module_scripts target_notification
1056 %module_scripts target_replace
1057 %module_scripts target_set
1058 %module_scripts tcpconns
1059 %module_scripts teamspeak2
1060 %module_scripts ted
1061 %module_scripts thermal
1062 %module_scripts unixsock
1063 %module_scripts uptime
1064 %module_scripts users
1065 %module_scripts uuid
1066 %module_scripts vmem
1067 %module_scripts vserver
1068 %module_scripts wireless
1069 %module_scripts xmms
1070
1071 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1072 %webapp_register apache %{_webapp}
1073
1074 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1075 %webapp_unregister apache %{_webapp}
1076
1077 %triggerin collection -- apache < 2.2.0, apache-base
1078 %webapp_register httpd %{_webapp}
1079
1080 %triggerun collection -- apache < 2.2.0, apache-base
1081 %webapp_unregister httpd %{_webapp}
1082
1083 %triggerin collection -- lighttpd
1084 %webapp_register lighttpd %{_webapp}
1085
1086 %triggerun collection -- lighttpd
1087 %webapp_unregister lighttpd %{_webapp}
1088
1089 %files
1090 %defattr(644,root,root,755)
1091 %doc AUTHORS ChangeLog README TODO contrib
1092 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1093 %dir %{_sysconfdir}/%{name}.d
1094 %attr(755,root,root) %{_sbindir}/collectd
1095 %attr(755,root,root) %{_sbindir}/collectdmon
1096 %attr(755,root,root) %{_bindir}/collectd-nagios
1097 %dir %{_datadir}/%{name}
1098 %{_datadir}/%{name}/types.db
1099 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1100 %{_mandir}/man1/collectd.1*
1101 %{_mandir}/man1/collectd-nagios.1*
1102 %{_mandir}/man1/collectdmon.1*
1103 %{_mandir}/man5/collectd.conf.5*
1104 %{_mandir}/man5/collectd-java.5.gz
1105 %{_mandir}/man5/collectd-perl.5*
1106 %{_mandir}/man5/types.db.5*
1107 %dir %{_var}/lib/%{name}
1108
1109 %files libs
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1112 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1113 %dir %{_libdir}/%{name}
1114
1115 %files devel
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1118 %{_libdir}/libcollectdclient.la
1119 %dir %{_includedir}/%{name}
1120 %{_includedir}/%{name}/*.h
1121 %{_pkgconfigdir}/libcollectdclient.pc
1122
1123 %files static
1124 %defattr(644,root,root,755)
1125 %{_libdir}/libcollectdclient.a
1126 %{_libdir}/%{name}/*.a
1127
1128 %files collection
1129 %defattr(644,root,root,755)
1130 %dir %{_webappdir}
1131 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1132 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1133 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1134 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1135 %dir %{_appdir}
1136 %dir %{_appdir}/cgi-bin
1137 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1138
1139 ########## PLUGINS:
1140 %if %{with xml}
1141 %if %{with curl}
1142 %files apache
1143 %defattr(640,root,root,755)
1144 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1145 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1146 %endif
1147 %endif
1148
1149 %files apcups
1150 %defattr(644,root,root,755)
1151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1152 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1153
1154 %if %{with curl}
1155 %files ascent
1156 %defattr(640,root,root,755)
1157 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1158 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1159 %endif
1160
1161 %files battery
1162 %defattr(644,root,root,755)
1163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1164 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1165
1166 %if %{with xml}
1167 %if %{with curl}
1168 %files bind
1169 %defattr(644,root,root,755)
1170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1171 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1172 %endif
1173 %endif
1174
1175 %files conntrack
1176 %defattr(644,root,root,755)
1177 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1178 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1179
1180 %files cpu
1181 %defattr(644,root,root,755)
1182 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1183 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1184
1185 %files cpufreq
1186 %defattr(644,root,root,755)
1187 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1188 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1189
1190 %files csv
1191 %defattr(644,root,root,755)
1192 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1193 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1194
1195 %if %{with curl}
1196 %files curl
1197 %defattr(640,root,root,755)
1198 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1199 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1200 %endif
1201
1202 %files dbi
1203 %defattr(640,root,root,755)
1204 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1205 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1206
1207 %files df
1208 %defattr(644,root,root,755)
1209 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1210 %attr(755,root,root) %{_libdir}/%{name}/df.so
1211
1212 %files disk
1213 %defattr(644,root,root,755)
1214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1215 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1216
1217 %if %{with dns}
1218 %files dns
1219 %defattr(644,root,root,755)
1220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1221 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1222 %endif
1223
1224 %files email
1225 %defattr(644,root,root,755)
1226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1227 %attr(755,root,root) %{_libdir}/%{name}/email.so
1228 %{_mandir}/man5/collectd-email.5*
1229
1230 %files entropy
1231 %defattr(644,root,root,755)
1232 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1233 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1234
1235 %files exec
1236 %defattr(644,root,root,755)
1237 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1238 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1239 %{_mandir}/man5/collectd-exec.5*
1240
1241 %files filecount
1242 %defattr(644,root,root,755)
1243 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1244 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1245
1246 %files fscache
1247 %defattr(644,root,root,755)
1248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1249 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1250
1251 %files hddtemp
1252 %defattr(644,root,root,755)
1253 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1254 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1255
1256 %files interface
1257 %defattr(644,root,root,755)
1258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1259 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1260
1261 %if %{with ipmi}
1262 %files ipmi
1263 %defattr(644,root,root,755)
1264 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1265 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1266 %endif
1267
1268 %if %{with iptables}
1269 %files iptables
1270 %defattr(644,root,root,755)
1271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1272 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1273 %endif
1274
1275 %files irq
1276 %defattr(644,root,root,755)
1277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1278 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1279
1280 %files load
1281 %defattr(644,root,root,755)
1282 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1283 %attr(755,root,root) %{_libdir}/%{name}/load.so
1284
1285 %files logfile
1286 %defattr(644,root,root,755)
1287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1288 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1289 %{_var}/log/collectd.log
1290
1291 %files match_regex
1292 %defattr(644,root,root,755)
1293 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1294 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1295
1296 %files match_timediff
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1300
1301 %files match_value
1302 %defattr(644,root,root,755)
1303 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1304 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1305
1306 %files mbmon
1307 %defattr(644,root,root,755)
1308 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1309 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1310
1311 %files memcached
1312 %defattr(644,root,root,755)
1313 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1314 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1315
1316 %files memory
1317 %defattr(644,root,root,755)
1318 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1319 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1320
1321 %if %{with multimeter}
1322 %files multimeter
1323 %defattr(644,root,root,755)
1324 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1325 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1326 %endif
1327
1328 %if %{with mysql}
1329 %files mysql
1330 %defattr(640,root,root,755)
1331 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1332 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1333 %endif
1334
1335 %if %{with netlink}
1336 %files netlink
1337 %defattr(644,root,root,755)
1338 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1339 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1340 %endif
1341
1342 %files network
1343 %defattr(644,root,root,755)
1344 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1345 %attr(755,root,root) %{_libdir}/%{name}/network.so
1346
1347 %files nfs
1348 %defattr(644,root,root,755)
1349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1350 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1351
1352 %if %{with curl}
1353 %files nginx
1354 %defattr(640,root,root,755)
1355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1356 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1357 %endif
1358
1359 %if %{with notify}
1360 %files notify_desktop
1361 %defattr(644,root,root,755)
1362 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1363 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1364 %endif
1365
1366 %if %{with libesmtp}
1367 %files notify_email
1368 %defattr(640,root,root,755)
1369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1370 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1371 %endif
1372
1373 %files ntpd
1374 %defattr(644,root,root,755)
1375 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1376 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1377
1378 %if %{with ups}
1379 %files nut
1380 %defattr(644,root,root,755)
1381 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1382 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1383 %endif
1384
1385 %files openvpn
1386 %defattr(644,root,root,755)
1387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1388 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1389
1390 %if %{with ping}
1391 %files ping
1392 %defattr(644,root,root,755)
1393 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1394 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1395 %endif
1396
1397 %if %{with psql}
1398 %files postgresql
1399 %defattr(640,root,root,755)
1400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1401 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1402 %{_datadir}/%{name}/postgresql_default.conf
1403 %endif
1404
1405 %files powerdns
1406 %defattr(644,root,root,755)
1407 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1408 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1409
1410 %files processes
1411 %defattr(644,root,root,755)
1412 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1413 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1414
1415 %files protocols
1416 %defattr(644,root,root,755)
1417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1418 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1419
1420 %if %{with rrd}
1421 %files rrdtool
1422 %defattr(644,root,root,755)
1423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1424 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1425 %endif
1426
1427 %if %{with sensors}
1428 %files sensors
1429 %defattr(644,root,root,755)
1430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1431 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1432 %endif
1433
1434 %files serial
1435 %defattr(644,root,root,755)
1436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1437 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1438
1439 %if %{with snmp}
1440 %files snmp
1441 %defattr(644,root,root,755)
1442 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1443 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1444 %{_mandir}/man5/collectd-snmp.5*
1445 %endif
1446
1447 %files swap
1448 %defattr(644,root,root,755)
1449 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1450 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1451
1452 %files syslog
1453 %defattr(644,root,root,755)
1454 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1455 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1456
1457 %files table
1458 %defattr(644,root,root,755)
1459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1460 %attr(755,root,root) %{_libdir}/%{name}/table.so
1461
1462 %files tail
1463 %defattr(644,root,root,755)
1464 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1465 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1466
1467 %files target_notification
1468 %defattr(644,root,root,755)
1469 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1470 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1471
1472 %files target_replace
1473 %defattr(644,root,root,755)
1474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1475 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1476
1477 %files target_set
1478 %defattr(644,root,root,755)
1479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1480 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1481
1482 %files tcpconns
1483 %defattr(644,root,root,755)
1484 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1485 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1486
1487 %files teamspeak2
1488 %defattr(644,root,root,755)
1489 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1490 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1491
1492 %files ted
1493 %defattr(644,root,root,755)
1494 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1495 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1496
1497 %files thermal
1498 %defattr(644,root,root,755)
1499 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1500 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1501
1502 %files unixsock
1503 %defattr(644,root,root,755)
1504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1505 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1506 %{_mandir}/man5/collectd-unixsock.5*
1507
1508 %files uptime
1509 %defattr(644,root,root,755)
1510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1511 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1512
1513 %files users
1514 %defattr(644,root,root,755)
1515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1516 %attr(755,root,root) %{_libdir}/%{name}/users.so
1517
1518 %files uuid
1519 %defattr(644,root,root,755)
1520 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1521 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1522
1523 %files vmem
1524 %defattr(644,root,root,755)
1525 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1526 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1527
1528 %files vserver
1529 %defattr(644,root,root,755)
1530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1531 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1532
1533 %files wireless
1534 %defattr(644,root,root,755)
1535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1536 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1537
1538 %if %{with xmms}
1539 %files xmms
1540 %defattr(644,root,root,755)
1541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1542 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1543 %endif
This page took 0.154155 seconds and 4 git commands to generate.