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