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