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