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