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