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