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