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