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