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