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