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