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