]>
Commit | Line | Data |
---|---|---|
c43211a5 PG |
1 | # TODO: |
2 | # - package contrib scripts as %doc | |
3 | # - perl modules with Collectd classes package to separate package | |
a9b34e68 PG |
4 | # - Bundled libraries - check if its not changed ones and if it can be |
5 | # mainstream library: | |
6 | # liboconfig . . . . . yes (shipped version) | |
7 | # - Libraries not found by configure: | |
8 | # libganglia . . . . . no (gm_protocol.h not found) | |
9 | # libiokit . . . . . . no | |
10 | # libjvm . . . . . . . no (javac not found) | |
11 | # libkstat . . . . . . no (Solaris only) | |
12 | # libkvm . . . . . . . no | |
a9b34e68 PG |
13 | # libnetapp . . . . . . no (netapp_api.h not found) |
14 | # libperl . . . . . . . no | |
15 | # librouteros . . . . . no ('routeros_api.h' not found) | |
16 | # libtokyotyrant . . . no (tcrdb.h not found) | |
17 | # libvirt . . . . . . . no (pkg-config doesn't know library) | |
18 | # libyajl . . . . . . . no (yajl/yajl_parse.h not found) | |
19 | # oracle . . . . . . . no (ORACLE_HOME is not set) | |
d8a93b37 | 20 | # - Disabled modules (build most of them an package): |
c43211a5 PG |
21 | # apple_sensors . . . no (obvious) |
22 | # ipvs . . . . . . . no (ip_vs.h not found - llh to be fixed) | |
23 | # libvirt . . . . . . no (requires library) | |
24 | # multimeter . . . . no ? | |
25 | # onewire . . . . . . no (needs libowfs) | |
26 | # perl . . . . . . . no (buggy perl: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467072) | |
27 | # rrdcached . . . . . no (requires rrdtool >= 1.4.0) | |
28 | # tape . . . . . . . no ? | |
a9b34e68 PG |
29 | # curl_json . . . . . . no |
30 | # gmond . . . . . . . . no | |
31 | # java . . . . . . . . no | |
a9b34e68 PG |
32 | # netapp . . . . . . . no |
33 | # oracle . . . . . . . no | |
34 | # routeros . . . . . . no | |
35 | # rrdcached . . . . . . no | |
36 | # tokyotyrant . . . . . no | |
37 | # zfs_arc . . . . . . . no | |
c43211a5 PG |
38 | # - logrotate file for logfile plugin |
39 | # - %desc -l pl for plugins | |
40 | # - package SpamAssassin plugin from contrib | |
41 | ||
34fc103e | 42 | # Conditional build: |
1018cae1 | 43 | %bcond_without curl # apache, ascent, bind, curl and nginx plugins |
7e70ab62 TP |
44 | %bcond_without dns # DNS plugin |
45 | %bcond_without ipmi # IPMI plugin | |
34fc103e | 46 | %bcond_without iptables # iptables plugin |
1018cae1 | 47 | %bcond_without libesmtp # notify_email plugin |
34fc103e | 48 | %bcond_with multimeter # multimeter plugin |
1018cae1 | 49 | %bcond_without mysql # MySQL plugin |
34fc103e | 50 | %bcond_without netlink # netlink plugin |
1018cae1 TP |
51 | %bcond_without notify # notify_desktop plugin |
52 | %bcond_without ping # ping plugin | |
b5cac6d2 | 53 | %bcond_without pgsql # PostgreSQL plugin |
1018cae1 TP |
54 | %bcond_without rrd # rrdtool and rrdcached plugins |
55 | %bcond_without sensors # sensors plugin | |
56 | %bcond_without snmp # SNMP plugin | |
57 | %bcond_without ups # nut plugin | |
58 | %bcond_without xml # ascent, bind and libvirt plugins | |
59 | %bcond_without xmms # XMMS plugin | |
daff3c99 ER |
60 | |
61 | # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637 | |
4b6e34c7 | 62 | %ifarch %{x8664} |
63 | %undefine with_iptables | |
64 | %undefine with_netlink | |
65 | %endif | |
daff3c99 | 66 | |
7df111b4 | 67 | Summary: Collects system information in RRD files |
322f1351 | 68 | Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD |
373d486f | 69 | Name: collectd |
8a569bfe | 70 | Version: 4.10.1 |
71 | Release: 1 | |
373d486f | 72 | License: GPL v2 |
81857fc6 | 73 | Group: Daemons |
d94da88b | 74 | Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2 |
8a569bfe | 75 | # Source0-md5: 8cd79b4ebdb9dbeb51ba52d3463a06ef |
f6984413 | 76 | Source1: %{name}.conf |
ec8f9a12 | 77 | Source2: %{name}.init |
96376a8d | 78 | Source3: %{name}-http.conf |
cdf53ab5 | 79 | Source4: %{name}-lighttpd.conf |
4929f1a7 PG |
80 | Source10: %{name}-df.conf |
81 | Source11: %{name}-rrdtool.conf | |
cdf53ab5 | 82 | Patch0: %{name}-collection.patch |
1bb84330 | 83 | Patch1: compile.patch |
f6984413 | 84 | URL: http://collectd.org/ |
aedbf1de | 85 | %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3} |
373d486f AF |
86 | BuildRequires: autoconf |
87 | BuildRequires: automake | |
1018cae1 | 88 | %{?with_curl:BuildRequires: curl-devel} |
a833d36c | 89 | BuildRequires: hal-devel |
13d220ef | 90 | %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4} |
1f546c2e | 91 | BuildRequires: libdbi-devel |
1018cae1 | 92 | %{?with_libesmtp:BuildRequires: libesmtp-devel} |
1f546c2e | 93 | BuildRequires: libltdl-devel |
b5cac6d2 | 94 | BuildRequires: libmemcached-devel |
95 | BuildRequires: libnetlink-devel | |
7e70ab62 | 96 | %{?with_netlink:BuildRequires: libnetlink-devel} |
1018cae1 TP |
97 | %{?with_notify:BuildRequires: libnotify-devel} |
98 | %{?with_ping:BuildRequires: liboping-devel} | |
7e70ab62 | 99 | %{?with_dns:BuildRequires: libpcap-devel} |
8bf13ddb | 100 | BuildRequires: libstatgrab-devel >= 0.12 |
daff3c99 | 101 | BuildRequires: libstdc++-devel |
373d486f | 102 | BuildRequires: libtool |
1018cae1 TP |
103 | %{?with_xml:BuildRequires: libxml2-devel} |
104 | %{?with_sensors:BuildRequires: lm_sensors-devel} | |
105 | %{?with_mysql:BuildRequires: mysql-devel} | |
b5cac6d2 | 106 | BuildRequires: ncurses-devel |
daff3c99 | 107 | %{?with_snmp:BuildRequires: net-snmp-devel} |
1018cae1 | 108 | %{?with_ups:BuildRequires: nut-devel} |
18e77dbc | 109 | BuildRequires: perl-devel |
b5cac6d2 | 110 | BuildRequires: pkgconfig |
111 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
112 | BuildRequires: python-devel | |
113 | BuildRequires: python-modules | |
c7024cdb | 114 | BuildRequires: rpmbuild(macros) >= 1.268 |
1018cae1 | 115 | %{?with_rrd:BuildRequires: rrdtool-devel} |
b5cac6d2 | 116 | BuildRequires: which |
117 | #BuildRequires: xfsprogs-devel | |
1018cae1 | 118 | %{?with_xmms:BuildRequires: xmms-devel} |
7df111b4 | 119 | Requires(post,preun): /sbin/chkconfig |
c7024cdb | 120 | Requires: rc-scripts |
373d486f AF |
121 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
122 | ||
30751942 TP |
123 | %define _pkglibdir %{_sharedstatedir}/%{name} |
124 | %define _webapps /etc/webapps | |
125 | %define _webapp %{name} | |
126 | %define _webappdir %{_webapps}/%{_webapp} | |
127 | %define _appdir %{_datadir}/%{_webapp} | |
9259a6ab | 128 | |
373d486f | 129 | %description |
7df111b4 JB |
130 | collectd is a small daemon which collects system information every 10 |
131 | seconds and writes the results in an RRD-file. | |
132 | ||
133 | In contrast to most similar software, collectd is not a script but | |
134 | written in plain C for performance and portability. As a daemon it | |
135 | stays in memory, so there is no need to start up a heavy interpreter | |
136 | every time new values should be logged. This allows collectd to have a | |
137 | 10 second resolution while being nice to the system. | |
138 | ||
19cbcad3 | 139 | %description -l pl.UTF-8 |
f26b05df | 140 | collectd to mały demon zbierający co 10 sekund informacje o systemie |
141 | i zapisujący wyniki do pliku RRD. | |
373d486f | 142 | |
19cbcad3 JR |
143 | W odróżnieniu od innych podobnych programów collectd nie jest |
144 | skryptem, lecz jest napisany w czystym C z myślą o wydajności i | |
145 | przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby | |
f26b05df | 146 | urychamiania ciężkiego interpretera za każdym razem, kiedy powinny |
147 | być zapisane nowe wartości. Dzięki temu collect może mieć | |
148 | rozdzielczość 10 sekund i nie obciążać zbytnio systemu. | |
373d486f | 149 | |
b8e7f76a | 150 | %package libs |
7e70ab62 TP |
151 | Summary: %{name} libraries |
152 | Summary(pl.UTF-8): Biblioteki %{name} | |
153 | Group: Libraries | |
b8e7f76a PG |
154 | |
155 | %description libs | |
156 | %{name} libraries. | |
157 | ||
158 | %description libs -l pl.UTF-8 | |
159 | Biblioteki %{name}. | |
160 | ||
161 | %package devel | |
7e70ab62 TP |
162 | Summary: Header files for %{name} libraries |
163 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name} | |
164 | Group: Development/Libraries | |
165 | Requires: %{name}-libs = %{version}-%{release} | |
b8e7f76a PG |
166 | |
167 | %description devel | |
168 | Header files for %{name} libraries. | |
169 | ||
170 | %description devel -l pl.UTF-8 | |
171 | Pliki nagłówkowe bibliotek %{name}. | |
172 | ||
80d5b170 | 173 | %package static |
174 | Summary: Static files for %{name} libraries | |
175 | Summary(pl.UTF-8): Pliki statyczne bibliotek %{name} | |
176 | Group: Development/Libraries | |
177 | Requires: %{name}-libs = %{version}-%{release} | |
178 | ||
179 | %description static | |
180 | Static files for %{name} libraries. | |
181 | ||
daff3c99 | 182 | %description static -l pl.UTF-8 |
80d5b170 | 183 | Pliki statyczne bibliotek %{name}. |
184 | ||
18e77dbc | 185 | %package apache |
273ffc81 JB |
186 | Summary: apache-plugin for collectd |
187 | Summary(pl_PL.UTF-8): Wtyczka apache dla collectd | |
18e77dbc | 188 | Group: Daemons |
273ffc81 | 189 | Requires: %{name} = %{version}-%{release} |
18e77dbc | 190 | |
191 | %description apache | |
daff3c99 | 192 | This plugin collect data provided by Apache's `mod_status'. |
18e77dbc | 193 | |
194 | %description apache -l pl.UTF-8 | |
273ffc81 JB |
195 | Wtyczka collectd zbierająca informacje udostępniane przez moduł |
196 | 'mod_status' Apacha. | |
18e77dbc | 197 | |
5e965dc7 PG |
198 | %package apcups |
199 | Summary: APC UPS plugin for collectd | |
200 | Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd | |
201 | Group: Daemons | |
202 | Requires: %{name} = %{version}-%{release} | |
203 | ||
204 | %description apcups | |
a9b34e68 PG |
205 | The APC UPS plugin connects to an instance of Apcupsd to read various |
206 | statistics about a connected uninterruptible power supply (UPS), such as | |
207 | voltage, load, etc. | |
5e965dc7 PG |
208 | |
209 | %package ascent | |
210 | Summary: ascent-plugin for collectd | |
211 | Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd | |
212 | Group: Daemons | |
213 | Requires: %{name} = %{version}-%{release} | |
214 | ||
215 | %description ascent | |
a9b34e68 PG |
216 | The Ascent plugin reads and parses the statistics page of Ascent, a free and |
217 | open-source server software for the game World of Warcraft by Blizzard | |
218 | Entertainment. | |
5e965dc7 PG |
219 | |
220 | %package battery | |
221 | Summary: battery plugin for collectd | |
222 | Summary(pl_PL.UTF-8): Wtyczka battery dla collectd | |
223 | Group: Daemons | |
224 | Requires: %{name} = %{version}-%{release} | |
225 | ||
226 | %description battery | |
227 | This plugin collects the battery's charge, the drawn current and the | |
228 | battery's voltage. | |
229 | ||
b8e7f76a PG |
230 | %package bind |
231 | Summary: bind plugin for collectd | |
232 | Summary(pl_PL.UTF-8): Wtyczka bind dla collectd | |
233 | Group: Daemons | |
234 | Requires: %{name} = %{version}-%{release} | |
235 | ||
236 | %description bind | |
daff3c99 ER |
237 | Starting with BIND 9.5.0, the most widely used DNS server software |
238 | provides extensive statistics about queries, responses and lots of | |
239 | other information. The bind plugin retrieves this information that's | |
240 | encoded in XML and provided via HTTP and submits the values to | |
241 | collectd. | |
b8e7f76a | 242 | |
133ab397 | 243 | %package collection |
30751942 TP |
244 | Summary: Web script for collectd |
245 | Summary(pl_PL.UTF-8): Web script for collectd | |
5fafedfc | 246 | Group: Applications/WWW |
247 | Requires: %{name} = %{version}-%{release} | |
cdf53ab5 PG |
248 | Requires: perl(CGI) |
249 | Requires: perl(Data::Dumper) | |
250 | Requires: perl(HTML::Entities) | |
251 | Requires: perl(RRDs) | |
252 | Requires: perl(URI::Escape) | |
253 | Requires: webserver(cgi) | |
16598688 | 254 | Suggests: fonts-TTF-DejaVu |
5fafedfc | 255 | |
133ab397 | 256 | %description collection |
30751942 | 257 | Web script for collectd. |
5fafedfc | 258 | |
f26b05df | 259 | %package collection3 |
260 | Summary: Web script for collectd | |
261 | Summary(pl_PL.UTF-8): Web script for collectd | |
262 | Group: Applications/WWW | |
263 | Requires: %{name} = %{version}-%{release} | |
264 | Requires: perl(Config::General) | |
265 | Requires: perl(HTML::Entities) | |
266 | Requires: perl(RRDs) | |
267 | Requires: webserver(cgi) | |
268 | Suggests: fonts-TTF-DejaVu | |
269 | ||
270 | %description collection3 | |
271 | Web script for collectd. | |
272 | ||
a9b34e68 PG |
273 | %package contextswitch |
274 | Summary: contextswitch-plugin for collectd | |
275 | Summary(pl_PL.UTF-8): Wtyczka contextswitch dla collectd | |
276 | Group: Daemons | |
277 | Requires: %{name} = %{version}-%{release} | |
278 | ||
279 | %description contextswitch | |
280 | The ContextSwitch plugin collects the number of context switches | |
281 | done by the operating system. | |
282 | ||
d94da88b | 283 | %package conntrack |
284 | Summary: conntrack-plugin for collectd | |
285 | Summary(pl_PL.UTF-8): Wtyczka conntrack dla collectd | |
286 | Group: Daemons | |
287 | Requires: %{name} = %{version}-%{release} | |
288 | ||
289 | %description conntrack | |
290 | The conntrack-plugin collects the connection tracking table size. | |
291 | ||
5e965dc7 PG |
292 | %package cpu |
293 | Summary: cpu-plugin for collectd | |
294 | Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd | |
295 | Group: Daemons | |
296 | Requires: %{name} = %{version}-%{release} | |
297 | ||
298 | %description cpu | |
daff3c99 ER |
299 | The cpu-plugin collects the amount of time spent by the CPU in various |
300 | states, most notably executing user code, executing system code, | |
301 | waiting for IO operations and being idle. | |
5e965dc7 PG |
302 | |
303 | %package cpufreq | |
304 | Summary: cpufreq-plugin for collectd | |
305 | Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd | |
306 | Group: Daemons | |
307 | Requires: %{name} = %{version}-%{release} | |
308 | ||
309 | %description cpufreq | |
310 | Collects the current CPU's frequency, mostly for mobile computers. | |
311 | ||
312 | %package csv | |
313 | Summary: CSV output plugin for collectd | |
314 | Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd | |
315 | Group: Daemons | |
316 | Requires: %{name} = %{version}-%{release} | |
317 | ||
318 | %description csv | |
319 | CSV output plugin for collectd. | |
320 | ||
b8e7f76a PG |
321 | %package curl |
322 | Summary: cURL output plugin for collectd | |
323 | Summary(pl_PL.UTF-8): Wtyczka wyjściowa cURL dla collectd | |
324 | Group: Daemons | |
325 | Requires: %{name} = %{version}-%{release} | |
326 | ||
327 | %description curl | |
328 | The curl plugin uses the libcurl to read web pages and the match | |
329 | infrastructure (the same code used by the tail plugin) to use regular | |
330 | expressions with the received data. | |
331 | ||
332 | %package dbi | |
333 | Summary: dbi plugin for collectd | |
334 | Summary(pl_PL.UTF-8): Wtyczka dbi dla collectd | |
335 | Group: Daemons | |
336 | Requires: %{name} = %{version}-%{release} | |
337 | ||
338 | %description dbi | |
daff3c99 ER |
339 | This plugin uses the dbi library to connect to various databases, |
340 | execute SQL statements and read back the results. dbi is an acronym | |
341 | for "database interface" in case you were wondering about the name. | |
342 | You can configure how each column is to be interpreted and the plugin | |
343 | will generate one or more data sets from each row returned according | |
344 | to these rules. | |
b8e7f76a | 345 | |
5e965dc7 PG |
346 | %package df |
347 | Summary: df-plugin for collectd | |
348 | Summary(pl_PL.UTF-8): Wtyczka df dla collectd | |
349 | Group: Daemons | |
350 | Requires: %{name} = %{version}-%{release} | |
351 | ||
352 | %description df | |
daff3c99 ER |
353 | The df-plugin collects file system usage information, i. e. basically |
354 | how much space on a mounted partition is used and how much is | |
355 | available. It's named after and very similar to the df(1) UNIX command | |
356 | that's been around forever. | |
5e965dc7 PG |
357 | |
358 | %package disk | |
359 | Summary: disk-plugin for collectd | |
360 | Summary(pl_PL.UTF-8): Wtyczka disk dla collectd | |
361 | Group: Daemons | |
362 | Requires: %{name} = %{version}-%{release} | |
363 | ||
364 | %description disk | |
365 | This plugin collects performance statistics of harddisks and, where | |
366 | supported, partitions. | |
367 | ||
8bf13ddb PG |
368 | %package dns |
369 | Summary: dns-plugin for collectd | |
370 | Summary(pl_PL.UTF-8): Wtyczka dns dla collectd | |
371 | Group: Daemons | |
372 | Requires: %{name} = %{version}-%{release} | |
3a1b5393 | 373 | Requires: perl-rrdtool |
ef79d9ea | 374 | |
8bf13ddb | 375 | %description dns |
daff3c99 ER |
376 | This plugin has a similar functionality to dnstop: It uses libpcap to |
377 | get a copy of all traffic from/to port UDP/53 (that's the DNS port), | |
378 | interprets the packets and collects statistics of your DNS traffic. | |
5e965dc7 PG |
379 | |
380 | %package email | |
381 | Summary: email-plugin for collectd | |
382 | Summary(pl_PL.UTF-8): Wtyczka email dla collectd | |
383 | Group: Daemons | |
384 | Requires: %{name} = %{version}-%{release} | |
385 | ||
386 | %description email | |
387 | The email plugin opens an UNIX-socket over which one can submit email | |
daff3c99 ER |
388 | statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. |
389 | mails received/handled, spam scores and matched spam checks. | |
5e965dc7 PG |
390 | |
391 | This plugin is intended to be used with the the | |
daff3c99 ER |
392 | Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which |
393 | is included in contrib/, but is of course not limited to that use. | |
5e965dc7 PG |
394 | |
395 | %package entropy | |
396 | Summary: entropy-plugin for collectd | |
397 | Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd | |
398 | Group: Daemons | |
399 | Requires: %{name} = %{version}-%{release} | |
400 | ||
401 | %description entropy | |
a9b34e68 PG |
402 | The Entropy plugin collects the available entropy on a system. Entropy is |
403 | important to generate random numbers, which are used for encryption, | |
404 | authorization and similar tasks. | |
5e965dc7 PG |
405 | |
406 | %package exec | |
407 | Summary: exec-plugin for collectd | |
408 | Summary(pl_PL.UTF-8): Wtyczka exec dla collectd | |
409 | Group: Daemons | |
410 | Requires: %{name} = %{version}-%{release} | |
411 | ||
412 | %description exec | |
413 | The exec plugin forks of an executable either to receive values or to | |
414 | dispatch notifications to the outside world. | |
415 | ||
416 | %package filecount | |
417 | Summary: filecount-plugin for collectd | |
418 | Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd | |
419 | Group: Daemons | |
420 | Requires: %{name} = %{version}-%{release} | |
421 | ||
422 | %description filecount | |
daff3c99 ER |
423 | The filecount-plugin does something very simple: Count the number of |
424 | files in a directory and all its subdirectories. This can be used for | |
425 | a variety of statistics, for example the queue length of an MTA, the | |
426 | number of PHP sessions of a web server or simply the number of files | |
427 | in your home directory. | |
8bf13ddb | 428 | |
d94da88b | 429 | %package fscache |
430 | Summary: fscache-plugin for collectd | |
431 | Summary(pl_PL.UTF-8): Wtyczka fscache dla collectd | |
432 | Group: Daemons | |
433 | Requires: %{name} = %{version}-%{release} | |
434 | ||
435 | %description fscache | |
daff3c99 ER |
436 | The fscache-plugin collects statistics about Linux file-system based |
437 | caching framework. | |
d94da88b | 438 | |
8bf13ddb PG |
439 | %package hddtemp |
440 | Summary: hddtemp-plugin for collectd | |
441 | Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd | |
442 | Group: Daemons | |
443 | Requires: %{name} = %{version}-%{release} | |
b73c1be9 | 444 | Suggests: hddtemp-hddtempd |
8bf13ddb PG |
445 | |
446 | %description hddtemp | |
daff3c99 ER |
447 | Temperature of harddisks. The temperatures are provided via S.M.A.R.T. |
448 | and queried by the external hddtemp-daemon. | |
5e965dc7 PG |
449 | |
450 | %package interface | |
451 | Summary: interface-plugin for collectd | |
452 | Summary(pl_PL.UTF-8): Wtyczka interface dla collectd | |
453 | Group: Daemons | |
454 | Requires: %{name} = %{version}-%{release} | |
455 | ||
456 | %description interface | |
daff3c99 ER |
457 | The interface-plugin collects information about the traffic (octets), |
458 | packets and errors of interfaces. | |
5e965dc7 PG |
459 | |
460 | %package iptables | |
461 | Summary: iptables-plugin for collectd | |
462 | Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd | |
463 | Group: Daemons | |
464 | Requires: %{name} = %{version}-%{release} | |
465 | ||
466 | %description iptables | |
467 | With this plugin you can gather statistics from your ip_tables based | |
daff3c99 ER |
468 | packetfilter (aka. firewall). It can collect the byte- and |
469 | packet-counters of selected rules and submit them to collectd. You can | |
470 | select rules that should be collected wither by its position (e.g. | |
471 | "the fourth rule in the INPUT queue in the filter table") or by its | |
472 | comment (using the COMMENT match). This means that depending on your | |
473 | firewall layout you can collect certain services (such as the amount | |
474 | of web-traffic), source or destination hosts or networks, dropped | |
475 | packets and much more. | |
8bf13ddb | 476 | |
87ba198e | 477 | %package ipmi |
478 | Summary: ipmi-plugin for collectd | |
479 | Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd | |
480 | Group: Daemons | |
481 | Requires: %{name} = %{version}-%{release} | |
482 | ||
483 | %description ipmi | |
a9b34e68 PG |
484 | The IPMI plugin uses the OpenIPMI library to read hardware sensors from |
485 | servers using the Intelligent Platform Management Interface (IPMI). IPMI | |
486 | is very common with server hardware but usually not available in consumer | |
487 | hardware. | |
34fc103e | 488 | |
5e965dc7 PG |
489 | %package irq |
490 | Summary: IRQs-plugin for collectd | |
491 | Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd | |
492 | Group: Daemons | |
493 | Requires: %{name} = %{version}-%{release} | |
494 | ||
495 | %description irq | |
a9b34e68 PG |
496 | The IRQ plugin collects the number of times each interrupt has been handled |
497 | by the operating system. | |
5e965dc7 PG |
498 | |
499 | %package load | |
500 | Summary: load-plugin for collectd | |
501 | Summary(pl_PL.UTF-8): Wtyczka load dla collectd | |
502 | Group: Daemons | |
503 | Requires: %{name} = %{version}-%{release} | |
504 | ||
505 | %description load | |
506 | Collects the system load. These numbers give a rough overview over the | |
507 | utilization of a machine, though their meaning is mostly overrated. | |
508 | ||
509 | %package logfile | |
510 | Summary: logfile-plugin for collectd | |
511 | Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd | |
512 | Group: Daemons | |
513 | Requires: %{name} = %{version}-%{release} | |
514 | ||
515 | %description logfile | |
a9b34e68 PG |
516 | The LogFile plugin receives log messages from the daemon and writes them to |
517 | a text file. | |
518 | ||
519 | %package madwifi | |
520 | Summary: madwifi plugin for collectd | |
521 | Summary(pl_PL.UTF-8): Wtyczka madwifi dla collectd | |
522 | Group: Daemons | |
523 | Requires: %{name} = %{version}-%{release} | |
524 | ||
525 | %description madwifi | |
526 | The MadWifi plugin collects information about Atheros wireless LAN chipsets | |
527 | from the MadWifi driver. It uses the /sys filesystem to identify cards | |
528 | handled by this driver automatically but can be configured manually, too. | |
529 | Because very many statistics are available, an advanced selection mechanism | |
530 | is provided. | |
531 | ||
532 | %package match_empty_counter | |
533 | Summary: match_empty_counter plugin for collectd | |
534 | Summary(pl_PL.UTF-8): Wtyczka match_empty_counter dla collectd | |
535 | Group: Daemons | |
536 | Requires: %{name} = %{version}-%{release} | |
537 | ||
538 | %description match_empty_counter | |
539 | Empty Counter match matches value lists, where at least one data source is | |
540 | of type COUNTER and the counter value of all counter data sources is zero. | |
541 | ||
542 | %package match_hashed | |
543 | Summary: match_hashed plugin for collectd | |
544 | Summary(pl_PL.UTF-8): Wtyczka match_hashed dla collectd | |
545 | Group: Daemons | |
546 | Requires: %{name} = %{version}-%{release} | |
547 | ||
548 | %description match_hashed | |
549 | match_hashed plugin for collectd - match for simple load balancing and | |
550 | redundant storage. | |
5e965dc7 | 551 | |
b8e7f76a PG |
552 | %package match_regex |
553 | Summary: match_regex plugin for collectd | |
554 | Summary(pl_PL.UTF-8): Wtyczka match_regex dla collectd | |
555 | Group: Daemons | |
556 | Requires: %{name} = %{version}-%{release} | |
557 | ||
558 | %description match_regex | |
559 | match_regex plugin for collectd. | |
560 | ||
561 | %package match_timediff | |
562 | Summary: match_timediff plugin for collectd | |
563 | Summary(pl_PL.UTF-8): Wtyczka match_timediff dla collectd | |
564 | Group: Daemons | |
565 | Requires: %{name} = %{version}-%{release} | |
566 | ||
567 | %description match_timediff | |
568 | match_timediff plugin for collectd. | |
569 | ||
570 | %package match_value | |
571 | Summary: match_value plugin for collectd | |
572 | Summary(pl_PL.UTF-8): Wtyczka match_value dla collectd | |
573 | Group: Daemons | |
574 | Requires: %{name} = %{version}-%{release} | |
575 | ||
576 | %description match_value | |
577 | match_value plugin for collectd. | |
578 | ||
5e965dc7 | 579 | %package mbmon |
b8e7f76a | 580 | Summary: mbmon plugin for collectd |
5e965dc7 PG |
581 | Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd |
582 | Group: Daemons | |
583 | Requires: %{name} = %{version}-%{release} | |
584 | ||
585 | %description mbmon | |
586 | The mbmon plugin uses mbmon to retrieve temperature, voltage, etc. | |
587 | ||
9987a2c5 PG |
588 | %package memcachec |
589 | Summary: memcachec-plugin for collectd | |
590 | Summary(pl_PL.UTF-8): Wtyczka memcachec dla collectd | |
591 | Group: Daemons | |
592 | Requires: %{name} = %{version}-%{release} | |
593 | ||
594 | %description memcachec | |
595 | The memcachec plugin connects to a memcached server, queries one or more | |
596 | given pages and parses the returned data according to user specification. | |
597 | The matches used are similar to the matches used in the cURL and Tail | |
598 | plugins. | |
599 | ||
5e965dc7 PG |
600 | %package memcached |
601 | Summary: memcached-plugin for collectd | |
602 | Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd | |
603 | Group: Daemons | |
604 | Requires: %{name} = %{version}-%{release} | |
605 | ||
606 | %description memcached | |
daff3c99 ER |
607 | The memcached plugin connects to a memcached daemon and collects the |
608 | number of connections and requests handled by the daemon, the CPU | |
609 | resources consumed, number of items cached, number of threads, and | |
610 | bytes sent and received. | |
5e965dc7 PG |
611 | |
612 | %package memory | |
613 | Summary: memory-plugin for collectd | |
614 | Summary(pl_PL.UTF-8): Wtyczka memory dla collectd | |
615 | Group: Daemons | |
616 | Requires: %{name} = %{version}-%{release} | |
617 | ||
618 | %description memory | |
619 | Collects physical memory utilization for collectd. | |
620 | ||
621 | %package multimeter | |
622 | Summary: multimeter-plugin for collectd | |
623 | Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd | |
624 | Group: Daemons | |
625 | Requires: %{name} = %{version}-%{release} | |
626 | ||
627 | %description multimeter | |
a9b34e68 PG |
628 | The Multimeter plugin reads a value (usually a voltage or current) from a |
629 | multimeter connected to a serial bus. The plugin tries /dev/ttyS0-9 in order | |
630 | to find a multimeter – no configuration is possible. | |
631 | ||
632 | The multimeter used for development was a Metex M-4650CR. | |
5e965dc7 | 633 | |
18e77dbc | 634 | %package mysql |
273ffc81 JB |
635 | Summary: mysql-plugin for collectd |
636 | Summary(pl_PL.UTF-8): Moduł mysql dla collectd. | |
18e77dbc | 637 | Group: Daemons |
273ffc81 | 638 | Requires: %{name} = %{version}-%{release} |
e00e3af9 | 639 | Requires: mysql-client |
18e77dbc | 640 | |
641 | %description mysql | |
273ffc81 | 642 | MySQL querying plugin. This plugins provides data of issued commands, |
18e77dbc | 643 | called handlers and database traffic. |
644 | ||
645 | %description mysql -l pl.UTF-8 | |
273ffc81 JB |
646 | Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych |
647 | poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym. | |
18e77dbc | 648 | |
5e965dc7 PG |
649 | %package netlink |
650 | Summary: netlink-plugin for collectd | |
651 | Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd | |
652 | Group: Daemons | |
653 | Requires: %{name} = %{version}-%{release} | |
654 | ||
655 | %description netlink | |
daff3c99 ER |
656 | This plugin will open a netlink socket to the Linux kernel and use it |
657 | to get statistics for interfaces, qdiscs, classes, and, if you can | |
658 | make use of it, filters. Since in most setups many of the statistics | |
659 | this plugin can collect aren't of interest, you can select which | |
660 | information to gather using the configuration. | |
5e965dc7 PG |
661 | |
662 | %package network | |
663 | Summary: network-plugin for collectd | |
664 | Summary(pl_PL.UTF-8): Wtyczka network dla collectd | |
665 | Group: Daemons | |
666 | Requires: %{name} = %{version}-%{release} | |
667 | ||
668 | %description network | |
a9b34e68 PG |
669 | The Network plugin can send values to other instances and receive values |
670 | from other %{name} instances. | |
5e965dc7 PG |
671 | |
672 | %package nfs | |
673 | Summary: NFS-plugin for collectd | |
674 | Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd | |
675 | Group: Daemons | |
676 | Requires: %{name} = %{version}-%{release} | |
677 | ||
678 | %description nfs | |
daff3c99 ER |
679 | The nfs plugin counts the number of procedure calls of the different |
680 | NFS procedures. | |
5e965dc7 | 681 | |
8bf13ddb PG |
682 | %package nginx |
683 | Summary: nginx-plugin for collectd | |
684 | Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd | |
685 | Group: Daemons | |
686 | Requires: %{name} = %{version}-%{release} | |
687 | ||
688 | %description nginx | |
daff3c99 ER |
689 | This plugin collects the number of connections and requests handled by |
690 | the nginx daemon, a HTTP and mail server/proxy. It queries the page | |
691 | provided by the ngx_http_stub_status_module module, which isn't | |
692 | compiled by default. | |
8bf13ddb | 693 | |
7be39ce7 | 694 | %package notify_desktop |
695 | Summary: notify_desktop for collectd | |
696 | Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd | |
697 | Group: Daemons | |
698 | Requires: %{name} = %{version}-%{release} | |
6af07819 | 699 | Requires: dbus(org.freedesktop.Notifications) |
7be39ce7 | 700 | |
701 | %description notify_desktop | |
5e965dc7 | 702 | This plugin sends a desktop notification to a notification daemon, as |
6af07819 | 703 | defined in the Desktop Notification Specification. |
7be39ce7 | 704 | |
b4b27e4a | 705 | %package notify_email |
5e965dc7 | 706 | Summary: notify_email-plugin for collectd |
b4b27e4a PG |
707 | Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd |
708 | Group: Daemons | |
709 | Requires: %{name} = %{version}-%{release} | |
710 | ||
711 | %description notify_email | |
a9b34e68 PG |
712 | The Notify Email plugin uses libESMTP to send notifications to a configured |
713 | email address(es). | |
b4b27e4a | 714 | |
5e965dc7 PG |
715 | %package ntpd |
716 | Summary: ntpd-plugin for collectd | |
717 | Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd | |
718 | Group: Daemons | |
719 | Requires: %{name} = %{version}-%{release} | |
720 | ||
721 | %description ntpd | |
a9b34e68 PG |
722 | The NTPd plugin queries an NTP server (usually the local one, where |
723 | statistics access is allowed) and extracts : | |
724 | - "local" clock parameters: time offset, error and offset loop, | |
725 | - parameters for each NTP server used to sync time: offset, dispersion, delay. | |
5e965dc7 | 726 | |
b4b27e4a PG |
727 | %package nut |
728 | Summary: nut-plugin for collectd | |
729 | Summary(pl_PL.UTF-8): Wtyczka nut dla collectd | |
730 | Group: Daemons | |
731 | Requires: %{name} = %{version}-%{release} | |
732 | ||
733 | %description nut | |
5e965dc7 | 734 | UPS statistics using the Network UPS Tools. These statistics include |
daff3c99 ER |
735 | basically everything NUT will give us, including voltages, currents, |
736 | power, frequencies, load, and temperatures. | |
b4b27e4a | 737 | |
a9b34e68 PG |
738 | %package olsrd |
739 | Summary: olsrd plugin for collectd | |
740 | Summary(pl_PL.UTF-8): Wtyczka olsrd dla collectd | |
741 | Group: Daemons | |
742 | Requires: %{name} = %{version}-%{release} | |
743 | Requires: openvpn | |
744 | ||
745 | %description olsrd | |
746 | The olsrd plugin reads information about meshed networks from the txtinfo | |
747 | plugin of the Optimized Link State Routing daemon (olsrd). | |
748 | ||
b8e7f76a PG |
749 | %package openvpn |
750 | Summary: openvpn plugin for collectd | |
751 | Summary(pl_PL.UTF-8): Wtyczka openvpn dla collectd | |
752 | Group: Daemons | |
753 | Requires: %{name} = %{version}-%{release} | |
754 | Requires: openvpn | |
755 | ||
756 | %description openvpn | |
daff3c99 ER |
757 | The OpenVPN plugin reads a status file maintained by OpenVPN and |
758 | gathers traffic statistics about connected clients. | |
b8e7f76a | 759 | |
907cfb56 PG |
760 | %package ping |
761 | Summary: ping-plugin for collectd | |
762 | Summary(pl_PL.UTF-8): Wtyczka ping dla collectd | |
763 | Group: Daemons | |
764 | Requires: %{name} = %{version}-%{release} | |
daff3c99 | 765 | Requires: liboping >= 1.1.2 |
907cfb56 PG |
766 | |
767 | %description ping | |
daff3c99 ER |
768 | The network latency is measured as a roundtrip time. An |
769 | ICMP-echo-request (aka. "ping")is sent to a host and the time needed | |
770 | for his echo-reply (aka. "pong") to arrive is measured. If a reply is | |
771 | not received within one second the plugin will no longer expect a | |
772 | reply and return. This may happen in several circumstances, e. g. the | |
773 | packet is lost, the host is down, a router has dismissed the packet, | |
774 | etc. | |
907cfb56 | 775 | |
b4b27e4a PG |
776 | %package postgresql |
777 | Summary: mysql-plugin for collectd | |
778 | Summary(pl_PL.UTF-8): Moduł postgresql dla collectd. | |
779 | Group: Daemons | |
780 | Requires: %{name} = %{version}-%{release} | |
781 | ||
782 | %description postgresql | |
daff3c99 ER |
783 | The postgresql plugin queries statistics from PostgreSQL databases. It |
784 | keeps a persistent connection to all configured databases and tries to | |
785 | reconnect if the connection has been interrupted. | |
b4b27e4a | 786 | |
4b6e34c7 | 787 | %package powerdns |
788 | Summary: powerdns-plugin for collectd | |
789 | Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd | |
790 | Group: Daemons | |
791 | Requires: %{name} = %{version}-%{release} | |
792 | ||
793 | %description powerdns | |
5e965dc7 | 794 | The powerdns plugin queries statistics from an authoritative PowerDNS |
daff3c99 ER |
795 | nameserver and/or a PowerDNS recursor. Since both offer a wide variety |
796 | of values, many of which are probably meaningless to most users, but | |
797 | may be useful for some. | |
5e965dc7 PG |
798 | |
799 | %package processes | |
800 | Summary: processes-plugin for collectd | |
801 | Summary(pl_PL.UTF-8): Wtyczka processes dla collectd | |
802 | Group: Daemons | |
803 | Requires: %{name} = %{version}-%{release} | |
804 | ||
805 | %description processes | |
daff3c99 ER |
806 | This plugin collects the number of processes, grouped by their state |
807 | (e.g. running, sleeping, zombies, etc.). In addition to that, it can | |
808 | select detailed statistics about selected processes, grouped by name. | |
4b6e34c7 | 809 | |
d94da88b | 810 | %package protocols |
811 | Summary: protocols-plugin for collectd | |
812 | Summary(pl_PL.UTF-8): Wtyczka protocols dla collectd | |
813 | Group: Daemons | |
814 | Requires: %{name} = %{version}-%{release} | |
815 | ||
816 | %description protocols | |
daff3c99 ER |
817 | The protocols-plugin provides information about network protocols, |
818 | such as IP, TCP and UDP. | |
d94da88b | 819 | |
a9b34e68 PG |
820 | %package python |
821 | Summary: python-plugin for collectd | |
822 | Summary(pl_PL.UTF-8): Wtyczka python dla collectd | |
823 | Group: Daemons | |
824 | Requires: %{name} = %{version}-%{release} | |
825 | ||
826 | %description python | |
827 | The Python plugin embeds a Python interpreter into collectd and exposes | |
828 | the application programming interface (API) to Python-scripts. This allows | |
829 | to write own plugins in the popular scripting language, which are then | |
830 | loaded and executed by the daemon without the need to start a new process | |
831 | and interpreter every few seconds. Python-modules written for the Python | |
832 | plugin are therefore more powerful and efficient than scripts executed by | |
833 | the Exec plugin. | |
834 | ||
8bf13ddb PG |
835 | %package rrdtool |
836 | Summary: rrdtool-plugin for collectd | |
837 | Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd | |
838 | Group: Daemons | |
839 | Requires: %{name} = %{version}-%{release} | |
840 | Requires: rrdtool | |
841 | ||
842 | %description rrdtool | |
a9b34e68 | 843 | The RRDtool plugin writes values to RRD-files using librrd. |
8bf13ddb PG |
844 | |
845 | %package sensors | |
846 | Summary: sensors-plugin for collectd | |
847 | Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd | |
848 | Group: Daemons | |
849 | Requires: %{name} = %{version}-%{release} | |
850 | ||
851 | %description sensors | |
5e965dc7 | 852 | This plugin uses lm-sensors to read hardware sensors. You will need to |
daff3c99 ER |
853 | configure lm-sensors before this plugin will collect any usefull and |
854 | correct data. | |
5e965dc7 | 855 | |
5e965dc7 PG |
856 | %package serial |
857 | Summary: serial-plugin for collectd | |
858 | Summary(pl_PL.UTF-8): Wtyczka serial dla collectd | |
859 | Group: Daemons | |
860 | Requires: %{name} = %{version}-%{release} | |
861 | ||
862 | %description serial | |
a9b34e68 | 863 | The Serial plugin collects the traffic on serial interfaces. |
8bf13ddb PG |
864 | |
865 | %package snmp | |
866 | Summary: snmp-plugin for collectd | |
867 | Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd | |
868 | Group: Daemons | |
869 | Requires: %{name} = %{version}-%{release} | |
870 | ||
871 | %description snmp | |
5e965dc7 | 872 | The snmp plugin queries other hosts using SNMP, the Simple Network |
daff3c99 ER |
873 | Management Protocol, and translates the value it receives to |
874 | collectd's internal format and dispatches them. Depending on the write | |
875 | plugins you have loaded they may be written to disk or submitted to | |
876 | another instance or whatever you configured. | |
5e965dc7 PG |
877 | |
878 | %package swap | |
879 | Summary: swap-plugin for collectd | |
880 | Summary(pl_PL.UTF-8): Wtyczka swap dla collectd | |
881 | Group: Daemons | |
882 | Requires: %{name} = %{version}-%{release} | |
883 | ||
884 | %description swap | |
a9b34e68 PG |
885 | The Swap plugin collects the amount of memory currently written onto hard |
886 | disk or whatever the system calls “swap”. | |
5e965dc7 PG |
887 | |
888 | %package syslog | |
889 | Summary: syslog-plugin for collectd | |
890 | Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd | |
891 | Group: Daemons | |
892 | Requires: %{name} = %{version}-%{release} | |
893 | ||
894 | %description syslog | |
a9b34e68 PG |
895 | The SysLog plugin receives log messages from the daemon and dispatches |
896 | them to syslog(3). | |
5e965dc7 | 897 | |
d94da88b | 898 | %package table |
899 | Summary: table-plugin for collectd | |
900 | Summary(pl_PL.UTF-8): Wtyczka table dla collectd | |
901 | Group: Daemons | |
902 | Requires: %{name} = %{version}-%{release} | |
903 | ||
904 | %description table | |
905 | The table-plugin provides parsing for table-like structured files, | |
906 | such as many files beneath /proc. | |
907 | ||
b8e7f76a PG |
908 | %package target_notification |
909 | Summary: target_notification-plugin for collectd | |
910 | Summary(pl_PL.UTF-8): Wtyczka target_notification dla collectd | |
911 | Group: Daemons | |
912 | Requires: %{name} = %{version}-%{release} | |
913 | ||
914 | %description target_notification | |
915 | target_notification plugin for collectd. | |
916 | ||
917 | %package target_replace | |
918 | Summary: target_replace-plugin for collectd | |
919 | Summary(pl_PL.UTF-8): Wtyczka target_replace dla collectd | |
920 | Group: Daemons | |
921 | Requires: %{name} = %{version}-%{release} | |
922 | ||
923 | %description target_replace | |
924 | target_replace plugin for collectd. | |
925 | ||
a9b34e68 PG |
926 | %package target_scale |
927 | Summary: target_scale-plugin for collectd | |
928 | Summary(pl_PL.UTF-8): Wtyczka target_scale dla collectd | |
929 | Group: Daemons | |
930 | Requires: %{name} = %{version}-%{release} | |
931 | ||
932 | %description target_scale | |
933 | Target to scale (multiply) values by an arbitrary value. | |
934 | ||
b8e7f76a PG |
935 | %package target_set |
936 | Summary: target_set-plugin for collectd | |
937 | Summary(pl_PL.UTF-8): Wtyczka target_set dla collectd | |
938 | Group: Daemons | |
939 | Requires: %{name} = %{version}-%{release} | |
940 | ||
941 | %description target_set | |
942 | target_set plugin for collectd. | |
943 | ||
5e965dc7 PG |
944 | %package tail |
945 | Summary: tail-plugin for collectd | |
946 | Summary(pl_PL.UTF-8): Wtyczka tail dla collectd | |
947 | Group: Daemons | |
948 | Requires: %{name} = %{version}-%{release} | |
949 | ||
950 | %description tail | |
daff3c99 ER |
951 | The tail-plugin can be used to "tail" logfiles, i.e. follow them as |
952 | tail -F does. Each line is given to one or more "matches" which test | |
953 | if the line is relevant for any statistics using a regular expression. | |
5e965dc7 PG |
954 | |
955 | %package tcpconns | |
956 | Summary: tcpconns-plugin for collectd | |
957 | Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd | |
958 | Group: Daemons | |
959 | Requires: %{name} = %{version}-%{release} | |
960 | ||
961 | %description tcpconns | |
962 | The tcpconns-plugin counts the number of TCP connections to or from a | |
daff3c99 ER |
963 | specified port. Typically the connectioins where you specify the local |
964 | port are incoming connections while the connections where you specify | |
965 | the remote port are outgoing connections. | |
5e965dc7 PG |
966 | |
967 | %package teamspeak2 | |
968 | Summary: teamspeak2-plugin for collectd | |
969 | Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd | |
970 | Group: Daemons | |
971 | Requires: %{name} = %{version}-%{release} | |
972 | ||
973 | %description teamspeak2 | |
daff3c99 ER |
974 | The teamspeak2 plugin connects to the query port of a teamspeak2 |
975 | server and polls interesting global and virtual server data. The | |
976 | plugin can query only one physical server but unlimited virtual | |
977 | servers. | |
5e965dc7 | 978 | |
d94da88b | 979 | %package ted |
980 | Summary: ted-plugin for collectd | |
981 | Summary(pl_PL.UTF-8): Wtyczka ted dla collectd | |
982 | Group: Daemons | |
983 | Requires: %{name} = %{version}-%{release} | |
984 | ||
985 | %description ted | |
daff3c99 ER |
986 | The TED-plugin reads power consumption measurements from “The Energy |
987 | Detective” (TED). | |
d94da88b | 988 | |
5e965dc7 PG |
989 | %package thermal |
990 | Summary: thermal-plugin for collectd | |
991 | Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd | |
992 | Group: Daemons | |
993 | Requires: %{name} = %{version}-%{release} | |
994 | ||
995 | %description thermal | |
a9b34e68 PG |
996 | The thermal plugin reads ACPI thermal zone information from the sysfs or |
997 | procfs file system, i. e. mostly system temperature information. | |
5e965dc7 PG |
998 | |
999 | %package unixsock | |
1000 | Summary: unixsock-plugin for collectd | |
1001 | Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd | |
1002 | Group: Daemons | |
1003 | Requires: %{name} = %{version}-%{release} | |
1004 | ||
1005 | %description unixsock | |
daff3c99 ER |
1006 | The unixsock plugin opens an UNIX-socket over which one can interact |
1007 | with the daemon. This can be used to use the values collected by | |
1008 | collectd in other applications, such as monitoring, or submit | |
1009 | externally collected values to collectd. | |
5e965dc7 | 1010 | |
d94da88b | 1011 | %package uptime |
1012 | Summary: uptime-plugin for collectd | |
1013 | Summary(pl_PL.UTF-8): Wtyczka uptime dla collectd | |
1014 | Group: Daemons | |
1015 | Requires: %{name} = %{version}-%{release} | |
1016 | ||
1017 | %description uptime | |
1018 | The uptime-plugin can collect the server's uptime. | |
1019 | ||
5e965dc7 PG |
1020 | %package users |
1021 | Summary: users-plugin for collectd | |
1022 | Summary(pl_PL.UTF-8): Wtyczka users dla collectd | |
1023 | Group: Daemons | |
1024 | Requires: %{name} = %{version}-%{release} | |
1025 | ||
1026 | %description users | |
1027 | Number of users currently logged in. | |
8bf13ddb PG |
1028 | |
1029 | %package uuid | |
1030 | Summary: uuid-plugin for collectd | |
1031 | Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd | |
1032 | Group: Daemons | |
1033 | Requires: %{name} = %{version}-%{release} | |
1034 | ||
1035 | %description uuid | |
daff3c99 ER |
1036 | This plugin, if loaded, causes the Hostname to be taken from the |
1037 | machine's UUID. The UUID is a universally unique designation for the | |
1038 | machine, usually taken from the machine's BIOS. This is most useful if | |
1039 | the machine is running in a virtual environment such as Xen, in which | |
1040 | case the UUID is preserved across shutdowns and migration. | |
5e965dc7 PG |
1041 | |
1042 | %package vmem | |
1043 | Summary: vmem-plugin for collectd | |
1044 | Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd | |
1045 | Group: Daemons | |
1046 | Requires: %{name} = %{version}-%{release} | |
1047 | ||
1048 | %description vmem | |
daff3c99 ER |
1049 | The vmem plugin collects information about the usage of virtual |
1050 | memory. Since the statistics provided by the Linux kernel are very | |
1051 | detailed, they are collected very detailed. | |
5e965dc7 PG |
1052 | |
1053 | %package vserver | |
1054 | Summary: vserver-plugin for collectd | |
1055 | Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd | |
1056 | Group: Daemons | |
1057 | Requires: %{name} = %{version}-%{release} | |
1058 | ||
1059 | %description vserver | |
daff3c99 ER |
1060 | Collects information about the virtual servers running on a system, |
1061 | using Linux-Vserver. | |
5e965dc7 | 1062 | |
a9b34e68 PG |
1063 | %package write_http |
1064 | Summary: write_http-plugin for collectd | |
1065 | Summary(pl_PL.UTF-8): Wtyczka write_http dla collectd | |
1066 | Group: Daemons | |
1067 | Requires: %{name} = %{version}-%{release} | |
1068 | ||
1069 | %description write_http | |
1070 | The Write HTTP plugin sends the values collected by collectd to a | |
1071 | web-server using HTTP POST requests. The data is formatted as PUTVAL | |
1072 | commands. | |
1073 | ||
5e965dc7 PG |
1074 | %package wireless |
1075 | Summary: wireless-plugin for collectd | |
1076 | Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd | |
1077 | Group: Daemons | |
1078 | Requires: %{name} = %{version}-%{release} | |
1079 | ||
1080 | %description wireless | |
a9b34e68 PG |
1081 | The Wireless plugin collects signal quality, signal power and |
1082 | signal-to-noise ratio for wireless LAN cards. | |
8bf13ddb PG |
1083 | |
1084 | %package xmms | |
1085 | Summary: xmms-plugin for collectd | |
1086 | Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd | |
1087 | Group: Daemons | |
1088 | Requires: %{name} = %{version}-%{release} | |
8bf13ddb PG |
1089 | |
1090 | %description xmms | |
a9b34e68 PG |
1091 | The XMMS plugin is a plugin for the XMMS music player. It graphs the |
1092 | bit-rate and sampling rate as you play songs. Not really useful, just | |
1093 | something that got written because we can. | |
8bf13ddb | 1094 | |
f26b05df | 1095 | %package -n perl-Collectd |
1096 | Summary: Perl files from Collectd package | |
1097 | Group: Daemons | |
1098 | ||
1099 | %description -n perl-Collectd | |
1100 | Perl files from Collectd package | |
1101 | ||
373d486f AF |
1102 | %prep |
1103 | %setup -q | |
cdf53ab5 | 1104 | %patch0 -p1 |
1bb84330 | 1105 | %patch1 -p1 |
526f2b1b | 1106 | |
373d486f AF |
1107 | %build |
1108 | %{__libtoolize} | |
1109 | %{__aclocal} | |
1110 | %{__autoconf} | |
1111 | %{__autoheader} | |
1112 | %{__automake} | |
4b6e34c7 | 1113 | |
373d486f AF |
1114 | %configure \ |
1115 | --with-libstatgrab=/usr \ | |
1116 | --with-lm-sensors=/usr \ | |
4b6e34c7 | 1117 | --with-libmysql=/usr \ |
34fc103e | 1118 | --%{?with_dns:en}%{!?with_dns:dis}able-dns \ |
7e70ab62 | 1119 | --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \ |
34fc103e | 1120 | --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \ |
7e70ab62 | 1121 | --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \ |
1018cae1 | 1122 | --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \ |
95c10a4d | 1123 | --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \ |
1018cae1 TP |
1124 | --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \ |
1125 | --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \ | |
1126 | --%{?with_ups:en}%{!?with_ups:dis}able-nut \ | |
1127 | --%{?with_ping:en}%{!?with_ping:dis}able-ping \ | |
b5cac6d2 | 1128 | --%{?with_pgsql:en}%{!?with_pgsql:dis}able-postgresql \ |
876407e2 | 1129 | --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \ |
1018cae1 TP |
1130 | --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \ |
1131 | --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \ | |
1132 | --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \ | |
1133 | %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \ | |
556a9493 | 1134 | %{!?with_xml:--disable-{ascent,bind,libvirt}} \ |
aedbf1de PG |
1135 | --disable-ipvs \ |
1136 | --disable-libvirt \ | |
1137 | --disable-perl | |
4b6e34c7 | 1138 | |
1139 | ||
87ba198e | 1140 | %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \ |
1141 | BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \ | |
f26b05df | 1142 | BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread" |
373d486f AF |
1143 | |
1144 | %install | |
1145 | rm -rf $RPM_BUILD_ROOT | |
711f12a6 | 1146 | install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \ |
f26b05df | 1147 | $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/} |
373d486f AF |
1148 | |
1149 | %{__make} install \ | |
1150 | DESTDIR=$RPM_BUILD_ROOT | |
81857fc6 | 1151 | |
e105712e | 1152 | touch $RPM_BUILD_ROOT%{_var}/log/collectd.log |
ff0d0ea0 | 1153 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
373d486f | 1154 | |
96376a8d PG |
1155 | # Web frontend: |
1156 | install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir} | |
1157 | install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin | |
1158 | install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf | |
1159 | install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf | |
cdf53ab5 | 1160 | install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf |
96376a8d | 1161 | |
f26b05df | 1162 | cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir} |
1163 | ||
711f12a6 | 1164 | ### Configs instalation ### |
b8e7f76a PG |
1165 | for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do |
1166 | egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf | |
4929f1a7 | 1167 | grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf |
cbe0cde9 | 1168 | done |
1169 | ||
711f12a6 PG |
1170 | # Example config in sources: src/collectd.conf |
1171 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf | |
4929f1a7 PG |
1172 | |
1173 | # Overwrite only files which we want to change: | |
1174 | install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf | |
1175 | install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf | |
711f12a6 | 1176 | |
f26b05df | 1177 | mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/ |
1178 | ||
96376a8d PG |
1179 | # Cleanups: |
1180 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la | |
1181 | ||
373d486f AF |
1182 | %clean |
1183 | rm -rf $RPM_BUILD_ROOT | |
1184 | ||
81857fc6 | 1185 | %post |
373d486f AF |
1186 | /sbin/chkconfig --add %{name} |
1187 | %service %{name} restart | |
1188 | ||
81857fc6 | 1189 | %preun |
373d486f AF |
1190 | if [ "$1" = "0" ]; then |
1191 | %service -q %{name} stop | |
1192 | /sbin/chkconfig --del %{name} | |
1193 | fi | |
1194 | ||
b8e7f76a PG |
1195 | %post libs -p /sbin/ldconfig |
1196 | %postun libs -p /sbin/ldconfig | |
1197 | ||
bed4848f PG |
1198 | %define module_scripts() \ |
1199 | %post %1 \ | |
1200 | %service %{name} restart \ | |
1201 | \ | |
1202 | %postun %1 \ | |
1203 | %service %{name} restart | |
1204 | ||
0e2c8900 | 1205 | %module_scripts apache |
5e965dc7 | 1206 | %module_scripts apcups |
0e2c8900 | 1207 | %module_scripts ascent |
5e965dc7 | 1208 | %module_scripts battery |
0e2c8900 | 1209 | %module_scripts bind |
a9b34e68 | 1210 | %module_scripts contextswitch |
d94da88b | 1211 | %module_scripts conntrack |
5e965dc7 | 1212 | %module_scripts cpu |
d94da88b | 1213 | %module_scripts cpufreq |
5e965dc7 | 1214 | %module_scripts csv |
0e2c8900 | 1215 | %module_scripts curl |
b8e7f76a | 1216 | %module_scripts dbi |
5e965dc7 PG |
1217 | %module_scripts df |
1218 | %module_scripts disk | |
0e2c8900 | 1219 | %module_scripts dns |
5e965dc7 PG |
1220 | %module_scripts email |
1221 | %module_scripts entropy | |
1222 | %module_scripts exec | |
1223 | %module_scripts filecount | |
d94da88b | 1224 | %module_scripts fscache |
bed4848f | 1225 | %module_scripts hddtemp |
5e965dc7 | 1226 | %module_scripts interface |
0e2c8900 TP |
1227 | %module_scripts ipmi |
1228 | %module_scripts iptables | |
5e965dc7 PG |
1229 | %module_scripts irq |
1230 | %module_scripts load | |
1231 | %module_scripts logfile | |
a9b34e68 PG |
1232 | %module_scripts madwifi |
1233 | %module_scripts match_empty_counter | |
1234 | %module_scripts match_hashed | |
b8e7f76a PG |
1235 | %module_scripts match_regex |
1236 | %module_scripts match_timediff | |
1237 | %module_scripts match_value | |
5e965dc7 | 1238 | %module_scripts mbmon |
9987a2c5 | 1239 | %module_scripts memcachec |
5e965dc7 PG |
1240 | %module_scripts memcached |
1241 | %module_scripts memory | |
0e2c8900 TP |
1242 | %module_scripts multimeter |
1243 | %module_scripts mysql | |
1244 | %module_scripts netlink | |
5e965dc7 PG |
1245 | %module_scripts network |
1246 | %module_scripts nfs | |
0e2c8900 TP |
1247 | %module_scripts nginx |
1248 | %module_scripts notify_desktop | |
1249 | %module_scripts notify_email | |
5e965dc7 | 1250 | %module_scripts ntpd |
0e2c8900 | 1251 | %module_scripts nut |
a9b34e68 | 1252 | %module_scripts olsrd |
b8e7f76a | 1253 | %module_scripts openvpn |
0e2c8900 TP |
1254 | %module_scripts ping |
1255 | %module_scripts postgresql | |
bed4848f | 1256 | %module_scripts powerdns |
5e965dc7 | 1257 | %module_scripts processes |
d94da88b | 1258 | %module_scripts protocols |
a9b34e68 | 1259 | %module_scripts python |
0e2c8900 TP |
1260 | %module_scripts rrdtool |
1261 | %module_scripts sensors | |
5e965dc7 | 1262 | %module_scripts serial |
0e2c8900 | 1263 | %module_scripts snmp |
5e965dc7 PG |
1264 | %module_scripts swap |
1265 | %module_scripts syslog | |
d94da88b | 1266 | %module_scripts table |
5e965dc7 | 1267 | %module_scripts tail |
b8e7f76a PG |
1268 | %module_scripts target_notification |
1269 | %module_scripts target_replace | |
a9b34e68 | 1270 | %module_scripts target_scale |
b8e7f76a | 1271 | %module_scripts target_set |
5e965dc7 PG |
1272 | %module_scripts tcpconns |
1273 | %module_scripts teamspeak2 | |
d94da88b | 1274 | %module_scripts ted |
5e965dc7 PG |
1275 | %module_scripts thermal |
1276 | %module_scripts unixsock | |
d94da88b | 1277 | %module_scripts uptime |
5e965dc7 | 1278 | %module_scripts users |
bed4848f | 1279 | %module_scripts uuid |
5e965dc7 PG |
1280 | %module_scripts vmem |
1281 | %module_scripts vserver | |
a9b34e68 | 1282 | %module_scripts write_http |
5e965dc7 | 1283 | %module_scripts wireless |
0e2c8900 | 1284 | %module_scripts xmms |
bed4848f | 1285 | |
96376a8d PG |
1286 | %triggerin collection -- apache1 < 1.3.37-3, apache1-base |
1287 | %webapp_register apache %{_webapp} | |
1288 | ||
1289 | %triggerun collection -- apache1 < 1.3.37-3, apache1-base | |
1290 | %webapp_unregister apache %{_webapp} | |
1291 | ||
1292 | %triggerin collection -- apache < 2.2.0, apache-base | |
1293 | %webapp_register httpd %{_webapp} | |
1294 | ||
1295 | %triggerun collection -- apache < 2.2.0, apache-base | |
1296 | %webapp_unregister httpd %{_webapp} | |
1297 | ||
73f73519 | 1298 | %triggerin collection -- lighttpd |
cdf53ab5 PG |
1299 | %webapp_register lighttpd %{_webapp} |
1300 | ||
73f73519 | 1301 | %triggerun collection -- lighttpd |
cdf53ab5 PG |
1302 | %webapp_unregister lighttpd %{_webapp} |
1303 | ||
373d486f AF |
1304 | %files |
1305 | %defattr(644,root,root,755) | |
e105712e | 1306 | %doc AUTHORS ChangeLog README TODO contrib |
25bc0190 PG |
1307 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf |
1308 | %dir %{_sysconfdir}/%{name}.d | |
373d486f | 1309 | %attr(755,root,root) %{_sbindir}/collectd |
e105712e | 1310 | %attr(755,root,root) %{_sbindir}/collectdmon |
18e77dbc | 1311 | %attr(755,root,root) %{_bindir}/collectd-nagios |
b8e7f76a PG |
1312 | %dir %{_datadir}/%{name} |
1313 | %{_datadir}/%{name}/types.db | |
ff0d0ea0 | 1314 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
373d486f | 1315 | %{_mandir}/man1/collectd.1* |
18e77dbc | 1316 | %{_mandir}/man1/collectd-nagios.1* |
80d5b170 | 1317 | %{_mandir}/man1/collectdmon.1* |
373d486f | 1318 | %{_mandir}/man5/collectd.conf.5* |
daff3c99 | 1319 | %{_mandir}/man5/collectd-java.5* |
18e77dbc | 1320 | %{_mandir}/man5/collectd-perl.5* |
e105712e | 1321 | %{_mandir}/man5/types.db.5* |
e105712e | 1322 | %dir %{_var}/lib/%{name} |
1323 | ||
b8e7f76a PG |
1324 | %files libs |
1325 | %defattr(644,root,root,755) | |
1326 | %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.* | |
1327 | %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0 | |
421d51c6 | 1328 | %dir %{_libdir}/%{name} |
b8e7f76a PG |
1329 | |
1330 | %files devel | |
1331 | %defattr(644,root,root,755) | |
1332 | %attr(755,root,root) %{_libdir}/libcollectdclient.so | |
1333 | %{_libdir}/libcollectdclient.la | |
1334 | %dir %{_includedir}/%{name} | |
1335 | %{_includedir}/%{name}/*.h | |
1336 | %{_pkgconfigdir}/libcollectdclient.pc | |
1337 | ||
80d5b170 | 1338 | %files static |
1339 | %defattr(644,root,root,755) | |
1340 | %{_libdir}/libcollectdclient.a | |
1341 | %{_libdir}/%{name}/*.a | |
1342 | ||
5e965dc7 PG |
1343 | %files collection |
1344 | %defattr(644,root,root,755) | |
1345 | %dir %{_webappdir} | |
1346 | %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf | |
1347 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf | |
1348 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf | |
cdf53ab5 | 1349 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf |
5e965dc7 PG |
1350 | %dir %{_appdir} |
1351 | %dir %{_appdir}/cgi-bin | |
1352 | %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi | |
1353 | ||
f26b05df | 1354 | %files collection3 |
1355 | %defattr(644,root,root,755) | |
1356 | %{_appdir}/collection3 | |
1357 | ||
8bf13ddb | 1358 | ########## PLUGINS: |
1018cae1 TP |
1359 | %if %{with xml} |
1360 | %if %{with curl} | |
61ccc70a TP |
1361 | %files apache |
1362 | %defattr(640,root,root,755) | |
1363 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf | |
1364 | %attr(755,root,root) %{_libdir}/%{name}/apache.so | |
1018cae1 TP |
1365 | %endif |
1366 | %endif | |
61ccc70a | 1367 | |
5e965dc7 PG |
1368 | %files apcups |
1369 | %defattr(644,root,root,755) | |
1370 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf | |
1371 | %attr(755,root,root) %{_libdir}/%{name}/apcups.so | |
1372 | ||
1018cae1 | 1373 | %if %{with curl} |
8bf13ddb | 1374 | %files ascent |
61ccc70a | 1375 | %defattr(640,root,root,755) |
711f12a6 | 1376 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf |
8bf13ddb | 1377 | %attr(755,root,root) %{_libdir}/%{name}/ascent.so |
1018cae1 | 1378 | %endif |
18e77dbc | 1379 | |
5e965dc7 | 1380 | %files battery |
5fafedfc | 1381 | %defattr(644,root,root,755) |
5e965dc7 PG |
1382 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf |
1383 | %attr(755,root,root) %{_libdir}/%{name}/battery.so | |
1384 | ||
1018cae1 TP |
1385 | %if %{with xml} |
1386 | %if %{with curl} | |
b8e7f76a PG |
1387 | %files bind |
1388 | %defattr(644,root,root,755) | |
1389 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf | |
1390 | %attr(755,root,root) %{_libdir}/%{name}/bind.so | |
1018cae1 TP |
1391 | %endif |
1392 | %endif | |
b8e7f76a | 1393 | |
a9b34e68 PG |
1394 | %files contextswitch |
1395 | %defattr(644,root,root,755) | |
1396 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf | |
1397 | %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so | |
1398 | ||
d94da88b | 1399 | %files conntrack |
1400 | %defattr(644,root,root,755) | |
1401 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf | |
1402 | %attr(755,root,root) %{_libdir}/%{name}/conntrack.so | |
1403 | ||
5e965dc7 PG |
1404 | %files cpu |
1405 | %defattr(644,root,root,755) | |
1406 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf | |
1407 | %attr(755,root,root) %{_libdir}/%{name}/cpu.so | |
1408 | ||
1409 | %files cpufreq | |
1410 | %defattr(644,root,root,755) | |
1411 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf | |
1412 | %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so | |
1413 | ||
1414 | %files csv | |
1415 | %defattr(644,root,root,755) | |
1416 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf | |
1417 | %attr(755,root,root) %{_libdir}/%{name}/csv.so | |
1418 | ||
1018cae1 | 1419 | %if %{with curl} |
b8e7f76a | 1420 | %files curl |
61ccc70a | 1421 | %defattr(640,root,root,755) |
b8e7f76a PG |
1422 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf |
1423 | %attr(755,root,root) %{_libdir}/%{name}/curl.so | |
fa204bb4 CM |
1424 | %if %{with xml} |
1425 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf | |
1426 | %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so | |
1427 | %endif | |
1018cae1 | 1428 | %endif |
b8e7f76a PG |
1429 | |
1430 | %files dbi | |
61ccc70a | 1431 | %defattr(640,root,root,755) |
b8e7f76a PG |
1432 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf |
1433 | %attr(755,root,root) %{_libdir}/%{name}/dbi.so | |
1434 | ||
5e965dc7 PG |
1435 | %files df |
1436 | %defattr(644,root,root,755) | |
1437 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf | |
1438 | %attr(755,root,root) %{_libdir}/%{name}/df.so | |
1439 | ||
1440 | %files disk | |
1441 | %defattr(644,root,root,755) | |
1442 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf | |
1443 | %attr(755,root,root) %{_libdir}/%{name}/disk.so | |
5fafedfc | 1444 | |
7e70ab62 | 1445 | %if %{with dns} |
8bf13ddb PG |
1446 | %files dns |
1447 | %defattr(644,root,root,755) | |
711f12a6 | 1448 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf |
8bf13ddb | 1449 | %attr(755,root,root) %{_libdir}/%{name}/dns.so |
7e70ab62 | 1450 | %endif |
8bf13ddb | 1451 | |
5e965dc7 PG |
1452 | %files email |
1453 | %defattr(644,root,root,755) | |
1454 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf | |
1455 | %attr(755,root,root) %{_libdir}/%{name}/email.so | |
1456 | %{_mandir}/man5/collectd-email.5* | |
1457 | ||
1458 | %files entropy | |
1459 | %defattr(644,root,root,755) | |
1460 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf | |
1461 | %attr(755,root,root) %{_libdir}/%{name}/entropy.so | |
1462 | ||
1463 | %files exec | |
1464 | %defattr(644,root,root,755) | |
1465 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf | |
1466 | %attr(755,root,root) %{_libdir}/%{name}/exec.so | |
1467 | %{_mandir}/man5/collectd-exec.5* | |
1468 | ||
1469 | %files filecount | |
1470 | %defattr(644,root,root,755) | |
1471 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf | |
1472 | %attr(755,root,root) %{_libdir}/%{name}/filecount.so | |
1473 | ||
d94da88b | 1474 | %files fscache |
1475 | %defattr(644,root,root,755) | |
1476 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf | |
1477 | %attr(755,root,root) %{_libdir}/%{name}/fscache.so | |
1478 | ||
8bf13ddb PG |
1479 | %files hddtemp |
1480 | %defattr(644,root,root,755) | |
711f12a6 | 1481 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf |
8bf13ddb PG |
1482 | %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so |
1483 | ||
5e965dc7 PG |
1484 | %files interface |
1485 | %defattr(644,root,root,755) | |
1486 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf | |
1487 | %attr(755,root,root) %{_libdir}/%{name}/interface.so | |
1488 | ||
87ba198e | 1489 | %if %{with ipmi} |
1490 | %files ipmi | |
1491 | %defattr(644,root,root,755) | |
711f12a6 | 1492 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf |
87ba198e | 1493 | %attr(755,root,root) %{_libdir}/%{name}/ipmi.so |
1494 | %endif | |
1495 | ||
5e965dc7 PG |
1496 | %if %{with iptables} |
1497 | %files iptables | |
1498 | %defattr(644,root,root,755) | |
1499 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf | |
1500 | %attr(755,root,root) %{_libdir}/%{name}/iptables.so | |
1501 | %endif | |
1502 | ||
1503 | %files irq | |
1504 | %defattr(644,root,root,755) | |
1505 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf | |
1506 | %attr(755,root,root) %{_libdir}/%{name}/irq.so | |
1507 | ||
1508 | %files load | |
1509 | %defattr(644,root,root,755) | |
1510 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf | |
1511 | %attr(755,root,root) %{_libdir}/%{name}/load.so | |
1512 | ||
1513 | %files logfile | |
1514 | %defattr(644,root,root,755) | |
1515 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf | |
1516 | %attr(755,root,root) %{_libdir}/%{name}/logfile.so | |
4929f1a7 | 1517 | %{_var}/log/collectd.log |
5e965dc7 | 1518 | |
a9b34e68 PG |
1519 | %files madwifi |
1520 | %defattr(644,root,root,755) | |
1521 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf | |
1522 | %attr(755,root,root) %{_libdir}/%{name}/madwifi.so | |
b5cac6d2 | 1523 | |
a9b34e68 PG |
1524 | %files match_empty_counter |
1525 | %defattr(644,root,root,755) | |
1526 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf | |
1527 | %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so | |
1528 | ||
1529 | %files match_hashed | |
1530 | %defattr(644,root,root,755) | |
1531 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf | |
1532 | %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so | |
1533 | ||
b8e7f76a PG |
1534 | %files match_regex |
1535 | %defattr(644,root,root,755) | |
1536 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf | |
1537 | %attr(755,root,root) %{_libdir}/%{name}/match_regex.so | |
1538 | ||
1539 | %files match_timediff | |
1540 | %defattr(644,root,root,755) | |
1541 | %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so | |
80d5b170 | 1542 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf |
b8e7f76a PG |
1543 | |
1544 | %files match_value | |
1545 | %defattr(644,root,root,755) | |
1546 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf | |
1547 | %attr(755,root,root) %{_libdir}/%{name}/match_value.so | |
1548 | ||
5e965dc7 PG |
1549 | %files mbmon |
1550 | %defattr(644,root,root,755) | |
1551 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf | |
1552 | %attr(755,root,root) %{_libdir}/%{name}/mbmon.so | |
1553 | ||
9987a2c5 PG |
1554 | %files memcachec |
1555 | %defattr(644,root,root,755) | |
1556 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf | |
1557 | %attr(755,root,root) %{_libdir}/%{name}/memcachec.so | |
1558 | ||
5e965dc7 PG |
1559 | %files memcached |
1560 | %defattr(644,root,root,755) | |
1561 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf | |
1562 | %attr(755,root,root) %{_libdir}/%{name}/memcached.so | |
1563 | ||
1564 | %files memory | |
1565 | %defattr(644,root,root,755) | |
1566 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf | |
1567 | %attr(755,root,root) %{_libdir}/%{name}/memory.so | |
1568 | ||
1569 | %if %{with multimeter} | |
1570 | %files multimeter | |
1571 | %defattr(644,root,root,755) | |
1572 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf | |
1573 | %attr(755,root,root) %{_libdir}/%{name}/multimeter.so | |
1574 | %endif | |
1575 | ||
1018cae1 | 1576 | %if %{with mysql} |
18e77dbc | 1577 | %files mysql |
61ccc70a | 1578 | %defattr(640,root,root,755) |
711f12a6 | 1579 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf |
18e77dbc | 1580 | %attr(755,root,root) %{_libdir}/%{name}/mysql.so |
1018cae1 | 1581 | %endif |
8bf13ddb | 1582 | |
5e965dc7 PG |
1583 | %if %{with netlink} |
1584 | %files netlink | |
1585 | %defattr(644,root,root,755) | |
1586 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf | |
1587 | %attr(755,root,root) %{_libdir}/%{name}/netlink.so | |
1588 | %endif | |
1589 | ||
1590 | %files network | |
1591 | %defattr(644,root,root,755) | |
1592 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf | |
1593 | %attr(755,root,root) %{_libdir}/%{name}/network.so | |
1594 | ||
1595 | %files nfs | |
1596 | %defattr(644,root,root,755) | |
1597 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf | |
1598 | %attr(755,root,root) %{_libdir}/%{name}/nfs.so | |
1599 | ||
1018cae1 | 1600 | %if %{with curl} |
8bf13ddb | 1601 | %files nginx |
61ccc70a | 1602 | %defattr(640,root,root,755) |
711f12a6 | 1603 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf |
8bf13ddb | 1604 | %attr(755,root,root) %{_libdir}/%{name}/nginx.so |
1018cae1 | 1605 | %endif |
8bf13ddb | 1606 | |
1018cae1 | 1607 | %if %{with notify} |
7be39ce7 | 1608 | %files notify_desktop |
1609 | %defattr(644,root,root,755) | |
711f12a6 | 1610 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf |
7be39ce7 | 1611 | %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so |
1018cae1 | 1612 | %endif |
7be39ce7 | 1613 | |
1018cae1 | 1614 | %if %{with libesmtp} |
b4b27e4a | 1615 | %files notify_email |
61ccc70a | 1616 | %defattr(640,root,root,755) |
711f12a6 | 1617 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf |
b4b27e4a | 1618 | %attr(755,root,root) %{_libdir}/%{name}/notify_email.so |
1018cae1 | 1619 | %endif |
b4b27e4a | 1620 | |
5e965dc7 PG |
1621 | %files ntpd |
1622 | %defattr(644,root,root,755) | |
1623 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf | |
1624 | %attr(755,root,root) %{_libdir}/%{name}/ntpd.so | |
1625 | ||
1018cae1 | 1626 | %if %{with ups} |
b4b27e4a PG |
1627 | %files nut |
1628 | %defattr(644,root,root,755) | |
711f12a6 | 1629 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf |
b4b27e4a | 1630 | %attr(755,root,root) %{_libdir}/%{name}/nut.so |
1018cae1 | 1631 | %endif |
b4b27e4a | 1632 | |
a9b34e68 PG |
1633 | %files olsrd |
1634 | %defattr(644,root,root,755) | |
1635 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf | |
1636 | %attr(755,root,root) %{_libdir}/%{name}/olsrd.so | |
1637 | ||
b8e7f76a PG |
1638 | %files openvpn |
1639 | %defattr(644,root,root,755) | |
1640 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf | |
1641 | %attr(755,root,root) %{_libdir}/%{name}/openvpn.so | |
1642 | ||
1018cae1 | 1643 | %if %{with ping} |
907cfb56 PG |
1644 | %files ping |
1645 | %defattr(644,root,root,755) | |
711f12a6 | 1646 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf |
907cfb56 | 1647 | %attr(755,root,root) %{_libdir}/%{name}/ping.so |
1018cae1 | 1648 | %endif |
907cfb56 | 1649 | |
b5cac6d2 | 1650 | %if %{with pgsql} |
b4b27e4a | 1651 | %files postgresql |
61ccc70a | 1652 | %defattr(640,root,root,755) |
711f12a6 | 1653 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf |
b4b27e4a | 1654 | %attr(755,root,root) %{_libdir}/%{name}/postgresql.so |
8a56fd06 | 1655 | %{_datadir}/%{name}/postgresql_default.conf |
1018cae1 | 1656 | %endif |
b4b27e4a | 1657 | |
4b6e34c7 | 1658 | %files powerdns |
1659 | %defattr(644,root,root,755) | |
711f12a6 | 1660 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf |
4b6e34c7 | 1661 | %attr(755,root,root) %{_libdir}/%{name}/powerdns.so |
1662 | ||
5e965dc7 PG |
1663 | %files processes |
1664 | %defattr(644,root,root,755) | |
1665 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf | |
1666 | %attr(755,root,root) %{_libdir}/%{name}/processes.so | |
1667 | ||
d94da88b | 1668 | %files protocols |
1669 | %defattr(644,root,root,755) | |
1670 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf | |
1671 | %attr(755,root,root) %{_libdir}/%{name}/protocols.so | |
1672 | ||
a9b34e68 PG |
1673 | %files python |
1674 | %defattr(644,root,root,755) | |
1675 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf | |
1676 | %attr(755,root,root) %{_libdir}/%{name}/python.so | |
1677 | %{_mandir}/man5/collectd-python.5* | |
1678 | ||
1018cae1 | 1679 | %if %{with rrd} |
8bf13ddb PG |
1680 | %files rrdtool |
1681 | %defattr(644,root,root,755) | |
711f12a6 | 1682 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf |
8bf13ddb | 1683 | %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so |
1018cae1 | 1684 | %endif |
8bf13ddb | 1685 | |
1018cae1 | 1686 | %if %{with sensors} |
8bf13ddb PG |
1687 | %files sensors |
1688 | %defattr(644,root,root,755) | |
711f12a6 | 1689 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf |
8bf13ddb | 1690 | %attr(755,root,root) %{_libdir}/%{name}/sensors.so |
1018cae1 | 1691 | %endif |
8bf13ddb | 1692 | |
5e965dc7 PG |
1693 | %files serial |
1694 | %defattr(644,root,root,755) | |
1695 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf | |
1696 | %attr(755,root,root) %{_libdir}/%{name}/serial.so | |
1697 | ||
1018cae1 | 1698 | %if %{with snmp} |
8bf13ddb PG |
1699 | %files snmp |
1700 | %defattr(644,root,root,755) | |
711f12a6 | 1701 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf |
8bf13ddb | 1702 | %attr(755,root,root) %{_libdir}/%{name}/snmp.so |
5e965dc7 | 1703 | %{_mandir}/man5/collectd-snmp.5* |
1018cae1 | 1704 | %endif |
5e965dc7 PG |
1705 | |
1706 | %files swap | |
1707 | %defattr(644,root,root,755) | |
1708 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf | |
1709 | %attr(755,root,root) %{_libdir}/%{name}/swap.so | |
1710 | ||
1711 | %files syslog | |
1712 | %defattr(644,root,root,755) | |
1713 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf | |
1714 | %attr(755,root,root) %{_libdir}/%{name}/syslog.so | |
1715 | ||
d94da88b | 1716 | %files table |
1717 | %defattr(644,root,root,755) | |
1718 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf | |
1719 | %attr(755,root,root) %{_libdir}/%{name}/table.so | |
1720 | ||
5e965dc7 PG |
1721 | %files tail |
1722 | %defattr(644,root,root,755) | |
1723 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf | |
1724 | %attr(755,root,root) %{_libdir}/%{name}/tail.so | |
1725 | ||
b8e7f76a PG |
1726 | %files target_notification |
1727 | %defattr(644,root,root,755) | |
1728 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf | |
1729 | %attr(755,root,root) %{_libdir}/%{name}/target_notification.so | |
1730 | ||
1731 | %files target_replace | |
1732 | %defattr(644,root,root,755) | |
1733 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf | |
1734 | %attr(755,root,root) %{_libdir}/%{name}/target_replace.so | |
1735 | ||
a9b34e68 PG |
1736 | %files target_scale |
1737 | %defattr(644,root,root,755) | |
1738 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf | |
1739 | %attr(755,root,root) %{_libdir}/%{name}/target_scale.so | |
1740 | ||
b8e7f76a PG |
1741 | %files target_set |
1742 | %defattr(644,root,root,755) | |
1743 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf | |
1744 | %attr(755,root,root) %{_libdir}/%{name}/target_set.so | |
1745 | ||
5e965dc7 PG |
1746 | %files tcpconns |
1747 | %defattr(644,root,root,755) | |
1748 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf | |
1749 | %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so | |
1750 | ||
1751 | %files teamspeak2 | |
1752 | %defattr(644,root,root,755) | |
1753 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf | |
1754 | %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so | |
1755 | ||
d94da88b | 1756 | %files ted |
1757 | %defattr(644,root,root,755) | |
1758 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf | |
1759 | %attr(755,root,root) %{_libdir}/%{name}/ted.so | |
1760 | ||
5e965dc7 PG |
1761 | %files thermal |
1762 | %defattr(644,root,root,755) | |
1763 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf | |
1764 | %attr(755,root,root) %{_libdir}/%{name}/thermal.so | |
1765 | ||
1766 | %files unixsock | |
1767 | %defattr(644,root,root,755) | |
1768 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf | |
1769 | %attr(755,root,root) %{_libdir}/%{name}/unixsock.so | |
1770 | %{_mandir}/man5/collectd-unixsock.5* | |
1771 | ||
d94da88b | 1772 | %files uptime |
1773 | %defattr(644,root,root,755) | |
1774 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf | |
1775 | %attr(755,root,root) %{_libdir}/%{name}/uptime.so | |
1776 | ||
5e965dc7 PG |
1777 | %files users |
1778 | %defattr(644,root,root,755) | |
1779 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf | |
1780 | %attr(755,root,root) %{_libdir}/%{name}/users.so | |
8bf13ddb PG |
1781 | |
1782 | %files uuid | |
1783 | %defattr(644,root,root,755) | |
711f12a6 | 1784 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf |
8bf13ddb PG |
1785 | %attr(755,root,root) %{_libdir}/%{name}/uuid.so |
1786 | ||
5e965dc7 PG |
1787 | %files vmem |
1788 | %defattr(644,root,root,755) | |
1789 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf | |
1790 | %attr(755,root,root) %{_libdir}/%{name}/vmem.so | |
1791 | ||
1792 | %files vserver | |
1793 | %defattr(644,root,root,755) | |
1794 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf | |
1795 | %attr(755,root,root) %{_libdir}/%{name}/vserver.so | |
1796 | ||
1797 | %files wireless | |
1798 | %defattr(644,root,root,755) | |
1799 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf | |
1800 | %attr(755,root,root) %{_libdir}/%{name}/wireless.so | |
1801 | ||
a9b34e68 PG |
1802 | %files write_http |
1803 | %defattr(644,root,root,755) | |
1804 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf | |
1805 | %attr(755,root,root) %{_libdir}/%{name}/write_http.so | |
1806 | ||
1018cae1 | 1807 | %if %{with xmms} |
8bf13ddb PG |
1808 | %files xmms |
1809 | %defattr(644,root,root,755) | |
711f12a6 | 1810 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf |
8bf13ddb | 1811 | %attr(755,root,root) %{_libdir}/%{name}/xmms.so |
1018cae1 | 1812 | %endif |
f26b05df | 1813 | |
1814 | %files -n perl-Collectd | |
1815 | %defattr(644,root,root,755) | |
1816 | %{perl_vendorlib}/Collectd.pm | |
1817 | %{perl_vendorlib}/Collectd |