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