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