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