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