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