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