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