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