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