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