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