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