]> git.pld-linux.org Git - packages/collectd.git/blob - collectd.spec
- link sensors plugin with libsensors
[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
493 %description mysql
494 MySQL querying plugin. This plugins provides data of issued commands,
495 called handlers and database traffic.
496
497 %description mysql -l pl.UTF-8
498 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
499 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
500
501 %package netlink
502 Summary:        netlink-plugin for collectd
503 Summary(pl_PL.UTF-8):   Wtyczka netlink dla collectd
504 Group:          Daemons
505 Requires:       %{name} = %{version}-%{release}
506
507 %description netlink
508 This plugin will open a netlink socket to the Linux kernel and use it to get
509 statistics for interfaces, qdiscs, classes, and, if you can make use of it,
510 filters. Since in most setups many of the statistics this plugin can collect
511 aren't of interest, you can select which information to gather using the
512 configuration.
513
514 %package network
515 Summary:        network-plugin for collectd
516 Summary(pl_PL.UTF-8):   Wtyczka network dla collectd
517 Group:          Daemons
518 Requires:       %{name} = %{version}-%{release}
519
520 %description network
521 nginx plugin for collectd.
522
523 %package nfs
524 Summary:        NFS-plugin for collectd
525 Summary(pl_PL.UTF-8):   Wtyczka NFS dla collectd
526 Group:          Daemons
527 Requires:       %{name} = %{version}-%{release}
528
529 %description nfs
530 The nfs plugin counts the number of procedure calls of the different NFS
531 procedures.
532
533 %package nginx
534 Summary:        nginx-plugin for collectd
535 Summary(pl_PL.UTF-8):   Wtyczka nginx dla collectd
536 Group:          Daemons
537 Requires:       %{name} = %{version}-%{release}
538
539 %description nginx
540 This plugin collects the number of connections and requests handled by the
541 nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
542 the ngx_http_stub_status_module module, which isn't compiled by default.
543
544 %package notify_desktop
545 Summary:        notify_desktop for collectd
546 Summary(pl_PL.UTF-8):   Wtyczka notify_desktop dla collectd
547 Group:          Daemons
548 Requires:       %{name} = %{version}-%{release}
549
550 %description notify_desktop
551 This plugin sends a desktop notification to a notification daemon, as
552 defined in the Desktop Notification Specification. To actually display the
553 notifications, notification-daemon is required and collectd has to be able
554 to access the X server.
555
556 %package notify_email
557 Summary:        notify_email-plugin for collectd
558 Summary(pl_PL.UTF-8):   Wtyczka notify_email dla collectd
559 Group:          Daemons
560 Requires:       %{name} = %{version}-%{release}
561
562 %description notify_email
563 notify_email plugin for collectd.
564
565 %package ntpd
566 Summary:        ntpd-plugin for collectd
567 Summary(pl_PL.UTF-8):   Wtyczka ntpd dla collectd
568 Group:          Daemons
569 Requires:       %{name} = %{version}-%{release}
570
571 %description ntpd
572 NTPd plugin for collectd.
573
574 %package nut
575 Summary:        nut-plugin for collectd
576 Summary(pl_PL.UTF-8):   Wtyczka nut dla collectd
577 Group:          Daemons
578 Requires:       %{name} = %{version}-%{release}
579
580 %description nut
581 UPS statistics using the Network UPS Tools. These statistics include
582 basically everything NUT will give us, including voltages, currents, power,
583 frequencies, load, and temperatures.
584
585 %package openvpn
586 Summary:        openvpn plugin for collectd
587 Summary(pl_PL.UTF-8):   Wtyczka openvpn dla collectd
588 Group:          Daemons
589 Requires:       %{name} = %{version}-%{release}
590 Requires:       openvpn
591
592 %description openvpn
593 The OpenVPN plugin reads a status file maintained by OpenVPN and gathers
594 traffic statistics about connected clients.
595
596 %package ping
597 Summary:        ping-plugin for collectd
598 Summary(pl_PL.UTF-8):   Wtyczka ping dla collectd
599 Group:          Daemons
600 Requires:       %{name} = %{version}-%{release}
601
602 %description ping
603 The network latency is measured as a roundtrip time. An ICMP-echo-request
604 (aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
605 "pong") to arrive is measured. If a reply is not received within one second
606 the plugin will no longer expect a reply and return. This may happen in
607 several circumstances, e. g. the packet is lost, the host is down, a router
608 has dismissed the packet, etc.
609
610 %package postgresql
611 Summary:        mysql-plugin for collectd
612 Summary(pl_PL.UTF-8):   Moduł postgresql dla collectd.
613 Group:          Daemons
614 Requires:       %{name} = %{version}-%{release}
615
616 %description postgresql
617 The postgresql plugin queries statistics from PostgreSQL databases. It keeps
618 a persistent connection to all configured databases and tries to reconnect
619 if the connection has been interrupted.
620
621 %package powerdns
622 Summary:        powerdns-plugin for collectd
623 Summary(pl_PL.UTF-8):   Wtyczka powerdns dla collectd
624 Group:          Daemons
625 Requires:       %{name} = %{version}-%{release}
626
627 %description powerdns
628 The powerdns plugin queries statistics from an authoritative PowerDNS
629 nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
630 values, many of which are probably meaningless to most users, but may be
631 useful for some.
632
633 %package processes
634 Summary:        processes-plugin for collectd
635 Summary(pl_PL.UTF-8):   Wtyczka processes dla collectd
636 Group:          Daemons
637 Requires:       %{name} = %{version}-%{release}
638
639 %description processes
640 This plugin collects the number of processes, grouped by their state (e.g.
641 running, sleeping, zombies, etc.). In addition to that, it can select
642 detailed statistics about selected processes, grouped by name.
643
644 %package protocols
645 Summary:        protocols-plugin for collectd
646 Summary(pl_PL.UTF-8):   Wtyczka protocols dla collectd
647 Group:          Daemons
648 Requires:       %{name} = %{version}-%{release}
649
650 %description protocols
651 The protocols-plugin provides information about network protocols, such as
652 IP, TCP and UDP.
653
654 %package rrdtool
655 Summary:        rrdtool-plugin for collectd
656 Summary(pl_PL.UTF-8):   Wtyczka rrdtool dla collectd
657 Group:          Daemons
658 Requires:       %{name} = %{version}-%{release}
659 Requires:       rrdtool
660
661 %description rrdtool
662 RRDTOOL plugin for collectd.
663
664 %package sensors
665 Summary:        sensors-plugin for collectd
666 Summary(pl_PL.UTF-8):   Wtyczka sensors dla collectd
667 Group:          Daemons
668 Requires:       %{name} = %{version}-%{release}
669
670 %description sensors
671 This plugin uses lm-sensors to read hardware sensors. You will need to
672 configure lm-sensors before this plugin will collect any usefull and correct
673 data.
674
675 %package serial
676 Summary:        serial-plugin for collectd
677 Summary(pl_PL.UTF-8):   Wtyczka serial dla collectd
678 Group:          Daemons
679 Requires:       %{name} = %{version}-%{release}
680
681 %description serial
682 Serial plugin for collectd.
683
684 %package snmp
685 Summary:        snmp-plugin for collectd
686 Summary(pl_PL.UTF-8):   Wtyczka snmp dla collectd
687 Group:          Daemons
688 Requires:       %{name} = %{version}-%{release}
689
690 %description snmp
691 The snmp plugin queries other hosts using SNMP, the Simple Network
692 Management Protocol, and translates the value it receives to collectd's
693 internal format and dispatches them. Depending on the write plugins you have
694 loaded they may be written to disk or submitted to another instance or
695 whatever you configured.
696
697 %package swap
698 Summary:        swap-plugin for collectd
699 Summary(pl_PL.UTF-8):   Wtyczka swap dla collectd
700 Group:          Daemons
701 Requires:       %{name} = %{version}-%{release}
702
703 %description swap
704 Swap space plugin for collectd.
705
706 %package syslog
707 Summary:        syslog-plugin for collectd
708 Summary(pl_PL.UTF-8):   Wtyczka syslog dla collectd
709 Group:          Daemons
710 Requires:       %{name} = %{version}-%{release}
711
712 %description syslog
713 Syslog plugin for collectd.
714
715 %package table
716 Summary:        table-plugin for collectd
717 Summary(pl_PL.UTF-8):   Wtyczka table dla collectd
718 Group:          Daemons
719 Requires:       %{name} = %{version}-%{release}
720
721 %description table
722 The table-plugin provides parsing for table-like structured files,
723 such as many files beneath /proc.
724
725 %package target_notification
726 Summary:        target_notification-plugin for collectd
727 Summary(pl_PL.UTF-8):   Wtyczka target_notification dla collectd
728 Group:          Daemons
729 Requires:       %{name} = %{version}-%{release}
730
731 %description target_notification
732 target_notification plugin for collectd.
733
734 %package target_replace
735 Summary:        target_replace-plugin for collectd
736 Summary(pl_PL.UTF-8):   Wtyczka target_replace dla collectd
737 Group:          Daemons
738 Requires:       %{name} = %{version}-%{release}
739
740 %description target_replace
741 target_replace plugin for collectd.
742
743 %package target_set
744 Summary:        target_set-plugin for collectd
745 Summary(pl_PL.UTF-8):   Wtyczka target_set dla collectd
746 Group:          Daemons
747 Requires:       %{name} = %{version}-%{release}
748
749 %description target_set
750 target_set plugin for collectd.
751
752 %package tail
753 Summary:        tail-plugin for collectd
754 Summary(pl_PL.UTF-8):   Wtyczka tail dla collectd
755 Group:          Daemons
756 Requires:       %{name} = %{version}-%{release}
757
758 %description tail
759 The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
760 does. Each line is given to one or more "matches" which test if the line is
761 relevant for any statistics using a regular expression.
762
763 %package tcpconns
764 Summary:        tcpconns-plugin for collectd
765 Summary(pl_PL.UTF-8):   Wtyczka tcpconns dla collectd
766 Group:          Daemons
767 Requires:       %{name} = %{version}-%{release}
768
769 %description tcpconns
770 The tcpconns-plugin counts the number of TCP connections to or from a
771 specified port. Typically the connectioins where you specify the local port
772 are incoming connections while the connections where you specify the remote
773 port are outgoing connections.
774
775 %package teamspeak2
776 Summary:        teamspeak2-plugin for collectd
777 Summary(pl_PL.UTF-8):   Wtyczka teamspeak2 dla collectd
778 Group:          Daemons
779 Requires:       %{name} = %{version}-%{release}
780
781 %description teamspeak2
782 The teamspeak2 plugin connects to the query port of a teamspeak2 server and
783 polls interesting global and virtual server data. The plugin can query only
784 one physical server but unlimited virtual servers.
785
786 %package ted
787 Summary:        ted-plugin for collectd
788 Summary(pl_PL.UTF-8):   Wtyczka ted dla collectd
789 Group:          Daemons
790 Requires:       %{name} = %{version}-%{release}
791
792 %description ted
793 The TED-plugin reads power consumption measurements from “The Energy Detective”
794 (TED).
795
796 %package thermal
797 Summary:        thermal-plugin for collectd
798 Summary(pl_PL.UTF-8):   Wtyczka thermal dla collectd
799 Group:          Daemons
800 Requires:       %{name} = %{version}-%{release}
801
802 %description thermal
803 Thermal plugin for collectd.
804
805 %package unixsock
806 Summary:        unixsock-plugin for collectd
807 Summary(pl_PL.UTF-8):   Wtyczka unixsock dla collectd
808 Group:          Daemons
809 Requires:       %{name} = %{version}-%{release}
810
811 %description unixsock
812 The unixsock plugin opens an UNIX-socket over which one can interact with
813 the daemon. This can be used to use the values collected by collectd in
814 other applications, such as monitoring, or submit externally collected
815 values to collectd.
816
817 %package uptime
818 Summary:        uptime-plugin for collectd
819 Summary(pl_PL.UTF-8):   Wtyczka uptime dla collectd
820 Group:          Daemons
821 Requires:       %{name} = %{version}-%{release}
822
823 %description uptime
824 The uptime-plugin can collect the server's uptime.
825
826 %package users
827 Summary:        users-plugin for collectd
828 Summary(pl_PL.UTF-8):   Wtyczka users dla collectd
829 Group:          Daemons
830 Requires:       %{name} = %{version}-%{release}
831
832 %description users
833 Number of users currently logged in.
834
835 %package uuid
836 Summary:        uuid-plugin for collectd
837 Summary(pl_PL.UTF-8):   Wtyczka uuid dla collectd
838 Group:          Daemons
839 Requires:       %{name} = %{version}-%{release}
840
841 %description uuid
842 This plugin, if loaded, causes the Hostname to be taken from the machine's
843 UUID. The UUID is a universally unique designation for the machine, usually
844 taken from the machine's BIOS. This is most useful if the machine is
845 running in a virtual environment such as Xen, in which case the UUID is
846 preserved across shutdowns and migration.
847
848 %package vmem
849 Summary:        vmem-plugin for collectd
850 Summary(pl_PL.UTF-8):   Wtyczka vmem dla collectd
851 Group:          Daemons
852 Requires:       %{name} = %{version}-%{release}
853
854 %description vmem
855 The vmem plugin collects information about the usage of virtual memory.
856 Since the statistics provided by the Linux kernel are very detailed, they
857 are collected very detailed.
858
859 %package vserver
860 Summary:        vserver-plugin for collectd
861 Summary(pl_PL.UTF-8):   Wtyczka vserver dla collectd
862 Group:          Daemons
863 Requires:       %{name} = %{version}-%{release}
864
865 %description vserver
866 Collects information about the virtual servers running on a system, using
867 Linux-Vserver.
868
869 %package wireless
870 Summary:        wireless-plugin for collectd
871 Summary(pl_PL.UTF-8):   Wtyczka wireless dla collectd
872 Group:          Daemons
873 Requires:       %{name} = %{version}-%{release}
874
875 %description wireless
876 Wireless plugin for collectd.
877
878 %package xmms
879 Summary:        xmms-plugin for collectd
880 Summary(pl_PL.UTF-8):   Wtyczka xmms dla collectd
881 Group:          Daemons
882 Requires:       %{name} = %{version}-%{release}
883
884 %description xmms
885 This plugin collectd data provided by XMMS.
886
887 %prep
888 %setup -q
889 %patch0 -p1
890 %patch1 -p1
891
892 %build
893 %{__libtoolize}
894 %{__aclocal}
895 %{__autoconf}
896 %{__autoheader}
897 %{__automake}
898
899 %configure \
900         --with-libstatgrab=/usr \
901         --with-lm-sensors=/usr \
902         --with-libmysql=/usr \
903         --%{?with_dns:en}%{!?with_dns:dis}able-dns \
904         --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
905         --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
906         --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
907         --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
908         --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
909         --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
910         --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
911         --%{?with_ups:en}%{!?with_ups:dis}able-nut \
912         --%{?with_ping:en}%{!?with_ping:dis}able-ping \
913         --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
914         --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
915         --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
916         --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
917         --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
918         %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
919         %{!?with_xml:--disable-{ascent,bind,libvirt}} \
920         --disable-ipvs \
921         --disable-libvirt \
922         --disable-perl
923
924
925 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
926         BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
927         BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
928
929 %install
930 rm -rf $RPM_BUILD_ROOT
931 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
932         $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
933
934 %{__make} install \
935         DESTDIR=$RPM_BUILD_ROOT
936
937 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
938 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
939
940 # Web frontend:
941 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
942 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
943 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
944 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
945 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
946
947 ### Configs instalation ###
948 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
949         egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
950         grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
951 done
952
953 # Example config in sources: src/collectd.conf
954 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
955
956 # Overwrite only files which we want to change:
957 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
958 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
959
960 # Cleanups:
961 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
962
963 %clean
964 rm -rf $RPM_BUILD_ROOT
965
966 %post
967 /sbin/chkconfig --add %{name}
968 %service %{name} restart
969
970 %preun
971 if [ "$1" = "0" ]; then
972         %service -q %{name} stop
973         /sbin/chkconfig --del %{name}
974 fi
975
976 %post   libs -p /sbin/ldconfig
977 %postun libs -p /sbin/ldconfig
978
979 %define module_scripts() \
980 %post %1 \
981 %service %{name} restart \
982 \
983 %postun %1 \
984 %service %{name} restart
985
986 %module_scripts apache
987 %module_scripts apcups
988 %module_scripts ascent
989 %module_scripts battery
990 %module_scripts bind
991 %module_scripts conntrack
992 %module_scripts cpu
993 %module_scripts cpufreq
994 %module_scripts csv
995 %module_scripts curl
996 %module_scripts dbi
997 %module_scripts df
998 %module_scripts disk
999 %module_scripts dns
1000 %module_scripts email
1001 %module_scripts entropy
1002 %module_scripts exec
1003 %module_scripts filecount
1004 %module_scripts fscache
1005 %module_scripts hddtemp
1006 %module_scripts interface
1007 %module_scripts ipmi
1008 %module_scripts iptables
1009 %module_scripts irq
1010 %module_scripts load
1011 %module_scripts logfile
1012 %module_scripts match_regex
1013 %module_scripts match_timediff
1014 %module_scripts match_value
1015 %module_scripts mbmon
1016 %module_scripts memcached
1017 %module_scripts memory
1018 %module_scripts multimeter
1019 %module_scripts mysql
1020 %module_scripts netlink
1021 %module_scripts network
1022 %module_scripts nfs
1023 %module_scripts nginx
1024 %module_scripts notify_desktop
1025 %module_scripts notify_email
1026 %module_scripts ntpd
1027 %module_scripts nut
1028 %module_scripts openvpn
1029 %module_scripts ping
1030 %module_scripts postgresql
1031 %module_scripts powerdns
1032 %module_scripts processes
1033 %module_scripts protocols
1034 %module_scripts rrdtool
1035 %module_scripts sensors
1036 %module_scripts serial
1037 %module_scripts snmp
1038 %module_scripts swap
1039 %module_scripts syslog
1040 %module_scripts table
1041 %module_scripts tail
1042 %module_scripts target_notification
1043 %module_scripts target_replace
1044 %module_scripts target_set
1045 %module_scripts tcpconns
1046 %module_scripts teamspeak2
1047 %module_scripts ted
1048 %module_scripts thermal
1049 %module_scripts unixsock
1050 %module_scripts uptime
1051 %module_scripts users
1052 %module_scripts uuid
1053 %module_scripts vmem
1054 %module_scripts vserver
1055 %module_scripts wireless
1056 %module_scripts xmms
1057
1058 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1059 %webapp_register apache %{_webapp}
1060
1061 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1062 %webapp_unregister apache %{_webapp}
1063
1064 %triggerin collection -- apache < 2.2.0, apache-base
1065 %webapp_register httpd %{_webapp}
1066
1067 %triggerun collection -- apache < 2.2.0, apache-base
1068 %webapp_unregister httpd %{_webapp}
1069
1070 %triggerin collection -- lighttpd
1071 %webapp_register lighttpd %{_webapp}
1072
1073 %triggerun collection -- lighttpd
1074 %webapp_unregister lighttpd %{_webapp}
1075
1076 %files
1077 %defattr(644,root,root,755)
1078 %doc AUTHORS ChangeLog README TODO contrib
1079 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1080 %dir %{_sysconfdir}/%{name}.d
1081 %attr(755,root,root) %{_sbindir}/collectd
1082 %attr(755,root,root) %{_sbindir}/collectdmon
1083 %attr(755,root,root) %{_bindir}/collectd-nagios
1084 %dir %{_datadir}/%{name}
1085 %{_datadir}/%{name}/types.db
1086 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1087 %{_mandir}/man1/collectd.1*
1088 %{_mandir}/man1/collectd-nagios.1*
1089 %{_mandir}/man5/collectd.conf.5*
1090 %{_mandir}/man5/collectd-perl.5*
1091 %{_mandir}/man1/collectdmon.1*
1092 %{_mandir}/man5/types.db.5*
1093 %dir %{_var}/lib/%{name}
1094
1095 %files libs
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1098 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1099 %dir %{_libdir}/%{name}
1100
1101 %files devel
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1104 %{_libdir}/libcollectdclient.la
1105 %dir %{_includedir}/%{name}
1106 %{_includedir}/%{name}/*.h
1107 %{_pkgconfigdir}/libcollectdclient.pc
1108
1109 %files collection
1110 %defattr(644,root,root,755)
1111 %dir %{_webappdir}
1112 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1113 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1114 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1115 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1116 %dir %{_appdir}
1117 %dir %{_appdir}/cgi-bin
1118 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1119
1120 ########## PLUGINS:
1121 %if %{with xml}
1122 %if %{with curl}
1123 %files apache
1124 %defattr(640,root,root,755)
1125 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1126 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1127 %endif
1128 %endif
1129
1130 %files apcups
1131 %defattr(644,root,root,755)
1132 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1133 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1134
1135 %if %{with curl}
1136 %files ascent
1137 %defattr(640,root,root,755)
1138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1139 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1140 %endif
1141
1142 %files battery
1143 %defattr(644,root,root,755)
1144 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1145 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1146
1147 %if %{with xml}
1148 %if %{with curl}
1149 %files bind
1150 %defattr(644,root,root,755)
1151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1152 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1153 %endif
1154 %endif
1155
1156 %files conntrack
1157 %defattr(644,root,root,755)
1158 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1159 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1160
1161 %files cpu
1162 %defattr(644,root,root,755)
1163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1164 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1165
1166 %files cpufreq
1167 %defattr(644,root,root,755)
1168 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1169 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1170
1171 %files csv
1172 %defattr(644,root,root,755)
1173 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1174 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1175
1176 %if %{with curl}
1177 %files curl
1178 %defattr(640,root,root,755)
1179 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1180 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1181 %endif
1182
1183 %files dbi
1184 %defattr(640,root,root,755)
1185 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1186 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1187
1188 %files df
1189 %defattr(644,root,root,755)
1190 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1191 %attr(755,root,root) %{_libdir}/%{name}/df.so
1192
1193 %files disk
1194 %defattr(644,root,root,755)
1195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1196 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1197
1198 %if %{with dns}
1199 %files dns
1200 %defattr(644,root,root,755)
1201 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1202 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1203 %endif
1204
1205 %files email
1206 %defattr(644,root,root,755)
1207 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1208 %attr(755,root,root) %{_libdir}/%{name}/email.so
1209 %{_mandir}/man5/collectd-email.5*
1210
1211 %files entropy
1212 %defattr(644,root,root,755)
1213 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1214 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1215
1216 %files exec
1217 %defattr(644,root,root,755)
1218 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1219 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1220 %{_mandir}/man5/collectd-exec.5*
1221
1222 %files filecount
1223 %defattr(644,root,root,755)
1224 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1225 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1226
1227 %files fscache
1228 %defattr(644,root,root,755)
1229 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1230 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1231
1232 %files hddtemp
1233 %defattr(644,root,root,755)
1234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1235 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1236
1237 %files interface
1238 %defattr(644,root,root,755)
1239 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1240 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1241
1242 %if %{with ipmi}
1243 %files ipmi
1244 %defattr(644,root,root,755)
1245 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1246 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1247 %endif
1248
1249 %if %{with iptables}
1250 %files iptables
1251 %defattr(644,root,root,755)
1252 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1253 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1254 %endif
1255
1256 %files irq
1257 %defattr(644,root,root,755)
1258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1259 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1260
1261 %files load
1262 %defattr(644,root,root,755)
1263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1264 %attr(755,root,root) %{_libdir}/%{name}/load.so
1265
1266 %files logfile
1267 %defattr(644,root,root,755)
1268 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1269 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1270 %{_var}/log/collectd.log
1271
1272 %files match_regex
1273 %defattr(644,root,root,755)
1274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1275 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1276
1277 %files match_timediff
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1280
1281 %files match_value
1282 %defattr(644,root,root,755)
1283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1284 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1285
1286 %files mbmon
1287 %defattr(644,root,root,755)
1288 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1289 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1290
1291 %files memcached
1292 %defattr(644,root,root,755)
1293 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1294 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1295
1296 %files memory
1297 %defattr(644,root,root,755)
1298 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1299 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1300
1301 %if %{with multimeter}
1302 %files multimeter
1303 %defattr(644,root,root,755)
1304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1305 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1306 %endif
1307
1308 %if %{with mysql}
1309 %files mysql
1310 %defattr(640,root,root,755)
1311 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1312 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1313 %endif
1314
1315 %if %{with netlink}
1316 %files netlink
1317 %defattr(644,root,root,755)
1318 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1319 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1320 %endif
1321
1322 %files network
1323 %defattr(644,root,root,755)
1324 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1325 %attr(755,root,root) %{_libdir}/%{name}/network.so
1326
1327 %files nfs
1328 %defattr(644,root,root,755)
1329 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1330 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1331
1332 %if %{with curl}
1333 %files nginx
1334 %defattr(640,root,root,755)
1335 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1336 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1337 %endif
1338
1339 %if %{with notify}
1340 %files notify_desktop
1341 %defattr(644,root,root,755)
1342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1343 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1344 %endif
1345
1346 %if %{with libesmtp}
1347 %files notify_email
1348 %defattr(640,root,root,755)
1349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1350 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1351 %endif
1352
1353 %files ntpd
1354 %defattr(644,root,root,755)
1355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1356 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1357
1358 %if %{with ups}
1359 %files nut
1360 %defattr(644,root,root,755)
1361 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1362 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1363 %endif
1364
1365 %files openvpn
1366 %defattr(644,root,root,755)
1367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1368 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1369
1370 %if %{with ping}
1371 %files ping
1372 %defattr(644,root,root,755)
1373 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1374 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1375 %endif
1376
1377 %if %{with psql}
1378 %files postgresql
1379 %defattr(640,root,root,755)
1380 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1381 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1382 %{_datadir}/%{name}/postgresql_default.conf
1383 %endif
1384
1385 %files powerdns
1386 %defattr(644,root,root,755)
1387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1388 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1389
1390 %files processes
1391 %defattr(644,root,root,755)
1392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1393 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1394
1395 %files protocols
1396 %defattr(644,root,root,755)
1397 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1398 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1399
1400 %if %{with rrd}
1401 %files rrdtool
1402 %defattr(644,root,root,755)
1403 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1404 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1405 %endif
1406
1407 %if %{with sensors}
1408 %files sensors
1409 %defattr(644,root,root,755)
1410 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1411 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1412 %endif
1413
1414 %files serial
1415 %defattr(644,root,root,755)
1416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1417 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1418
1419 %if %{with snmp}
1420 %files snmp
1421 %defattr(644,root,root,755)
1422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1423 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1424 %{_mandir}/man5/collectd-snmp.5*
1425 %endif
1426
1427 %files swap
1428 %defattr(644,root,root,755)
1429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1430 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1431
1432 %files syslog
1433 %defattr(644,root,root,755)
1434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1435 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1436
1437 %files table
1438 %defattr(644,root,root,755)
1439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1440 %attr(755,root,root) %{_libdir}/%{name}/table.so
1441
1442 %files tail
1443 %defattr(644,root,root,755)
1444 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1445 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1446
1447 %files target_notification
1448 %defattr(644,root,root,755)
1449 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1450 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1451
1452 %files target_replace
1453 %defattr(644,root,root,755)
1454 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1455 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1456
1457 %files target_set
1458 %defattr(644,root,root,755)
1459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1460 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1461
1462 %files tcpconns
1463 %defattr(644,root,root,755)
1464 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1465 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1466
1467 %files teamspeak2
1468 %defattr(644,root,root,755)
1469 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1470 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1471
1472 %files ted
1473 %defattr(644,root,root,755)
1474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1475 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1476
1477 %files thermal
1478 %defattr(644,root,root,755)
1479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1480 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1481
1482 %files unixsock
1483 %defattr(644,root,root,755)
1484 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1485 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1486 %{_mandir}/man5/collectd-unixsock.5*
1487
1488 %files uptime
1489 %defattr(644,root,root,755)
1490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1491 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1492
1493 %files users
1494 %defattr(644,root,root,755)
1495 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1496 %attr(755,root,root) %{_libdir}/%{name}/users.so
1497
1498 %files uuid
1499 %defattr(644,root,root,755)
1500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1501 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1502
1503 %files vmem
1504 %defattr(644,root,root,755)
1505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1506 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1507
1508 %files vserver
1509 %defattr(644,root,root,755)
1510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1511 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1512
1513 %files wireless
1514 %defattr(644,root,root,755)
1515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1516 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1517
1518 %if %{with xmms}
1519 %files xmms
1520 %defattr(644,root,root,755)
1521 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1522 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1523 %endif
This page took 0.19871 seconds and 3 git commands to generate.