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