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