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