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