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