]> git.pld-linux.org Git - packages/collectd.git/blob - collectd.spec
- added predefined PostgreSQL queries
[packages/collectd.git] / collectd.spec
1 # TODO:
2 # - package contrib scripts as %doc
3 # - perl modules with Collectd classes package to separate package
4 # - Disabled modules:
5 #    apple_sensors . . . no             (obvious)
6 #    ipvs  . . . . . . . no             (ip_vs.h not found - llh to be fixed)
7 #    libvirt . . . . . . no             (requires library)
8 #    multimeter  . . . . no             ?
9 #    onewire . . . . . . no             (needs libowfs)
10 #    perl  . . . . . . . no             (needs libperl)
11 #    tape  . . . . . . . no             ?
12 # - logrotate file for logfile plugin
13 # - %desc -l pl for plugins
14 #
15 # Conditional build:
16 %bcond_without  dns             # ???
17 %bcond_without  ipmi            # ipmi plugin package
18 %bcond_without  iptables        # iptables plugin
19 %bcond_with     multimeter      # multimeter plugin
20 %bcond_without  netlink         # netlink plugin
21 #
22 #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
23 %ifarch %{x8664}
24 %undefine with_iptables
25 %undefine with_netlink
26 %endif
27 Summary:        Collects system information in RRD files
28 Summary(pl.UTF-8):      Zbieranie informacji o systemie w plikach RRD
29 Name:           collectd
30 Version:        4.6.2
31 Release:        2
32 License:        GPL v2
33 Group:          Daemons
34 Source0:        http://collectd.org/files/%{name}-%{version}.tar.gz
35 # Source0-md5:  9eee46a6330780d6e6b41155b159f4f9
36 Source1:        %{name}.conf
37 Source2:        %{name}.init
38 Source3:        %{name}-http.conf
39 Source4:        %{name}-lighttpd.conf
40 Source10:       %{name}-df.conf
41 Source11:       %{name}-rrdtool.conf
42 Patch0:         %{name}-collection.patch
43 URL:            http://collectd.org/
44 %{?with_ipmi:BuildRequires:     OpenIPMI-devel >= 2.0.14-3}
45 BuildRequires:  autoconf
46 BuildRequires:  automake
47 BuildRequires:  curl-devel
48 BuildRequires:  hal-devel
49 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
50 BuildRequires:  libesmtp-devel
51 BuildRequires:  libnetlink-devel
52 BuildRequires:  libnotify-devel
53 BuildRequires:  liboping-devel
54 BuildRequires:  libpcap-devel
55 BuildRequires:  libstatgrab-devel >= 0.12
56 BuildRequires:  libtool
57 BuildRequires:  libxml2-devel
58 BuildRequires:  lm_sensors-devel
59 BuildRequires:  mysql-devel
60 BuildRequires:  nut-devel
61 BuildRequires:  perl-devel
62 BuildRequires:  postgresql-devel
63 BuildRequires:  rpmbuild(macros) >= 1.268
64 BuildRequires:  rrdtool-devel
65 BuildRequires:  net-snmp-devel
66 BuildRequires:  xmms-devel
67 Requires(post,preun):   /sbin/chkconfig
68 Requires:       rc-scripts
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %define         _pkglibdir      %{_sharedstatedir}/%{name}
72 %define         _webapps        /etc/webapps
73 %define         _webapp         %{name}
74 %define         _webappdir      %{_webapps}/%{_webapp}
75 %define         _appdir         %{_datadir}/%{_webapp}
76
77 %description
78 collectd is a small daemon which collects system information every 10
79 seconds and writes the results in an RRD-file.
80
81 In contrast to most similar software, collectd is not a script but
82 written in plain C for performance and portability. As a daemon it
83 stays in memory, so there is no need to start up a heavy interpreter
84 every time new values should be logged. This allows collectd to have a
85 10 second resolution while being nice to the system.
86
87 %description -l pl.UTF-8
88 collectd to mały demon zbierający co 10 sekund informacje o systemie i
89 zapisujący wyniki do pliku RRD.
90
91 W odróżnieniu od innych podobnych programów collectd nie jest
92 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
93 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
94 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
95 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
96 sekund i nie obciążać zbytnio systemu.
97
98 %package libs
99 Summary:        %{name} libraries
100 Summary(pl.UTF-8):      Biblioteki %{name} 
101 Group:          Libraries
102
103 %description libs
104 %{name} libraries.
105
106 %description libs -l pl.UTF-8
107 Biblioteki %{name}.
108
109 %package devel
110 Summary:        Header files for %{name} libraries
111 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek %{name} 
112 Group:          Development/Libraries
113 Requires:       %{name}-libs = %{version}-%{release}
114
115 %description devel
116 Header files for %{name} libraries.
117
118 %description devel -l pl.UTF-8
119 Pliki nagłówkowe bibliotek %{name}.
120
121 %package apache
122 Summary:        apache-plugin for collectd
123 Summary(pl_PL.UTF-8):   Wtyczka apache dla collectd
124 Group:          Daemons
125 Requires:       %{name} = %{version}-%{release}
126
127 %description apache
128 This plugin collectd data provided by Apache's `mod_status'.
129
130 %description apache -l pl.UTF-8
131 Wtyczka collectd zbierająca informacje udostępniane przez moduł
132 'mod_status' Apacha.
133
134 %package apcups
135 Summary:        APC UPS plugin for collectd
136 Summary(pl_PL.UTF-8):   Wtyczka APC UPS dla collectd
137 Group:          Daemons
138 Requires:       %{name} = %{version}-%{release}
139
140 %description apcups
141 APC UPS plugin for collectd.
142
143 %package ascent
144 Summary:        ascent-plugin for collectd
145 Summary(pl_PL.UTF-8):   Wtyczka ascent dla collectd
146 Group:          Daemons
147 Requires:       %{name} = %{version}-%{release}
148
149 %description ascent
150 ascent plugin for collectd.
151
152 %package battery
153 Summary:        battery plugin for collectd
154 Summary(pl_PL.UTF-8):   Wtyczka battery dla collectd
155 Group:          Daemons
156 Requires:       %{name} = %{version}-%{release}
157
158 %description battery
159 This plugin collects the battery's charge, the drawn current and the
160 battery's voltage.
161
162 %package bind
163 Summary:        bind plugin for collectd
164 Summary(pl_PL.UTF-8):   Wtyczka bind dla collectd
165 Group:          Daemons
166 Requires:       %{name} = %{version}-%{release}
167
168 %description bind
169 Starting with BIND 9.5.0, the most widely used DNS server software provides
170 extensive statistics about queries, responses and lots of other information.
171 The bind plugin retrieves this information that's encoded in XML and provided
172 via HTTP and submits the values to collectd.
173
174 %package collection
175 Summary:        Web script for collectd
176 Summary(pl_PL.UTF-8):   Web script for collectd
177 Group:          Applications/WWW
178 Requires:       %{name} = %{version}-%{release}
179 Requires:       perl(CGI)
180 Requires:       perl(Data::Dumper)
181 Requires:       perl(HTML::Entities)
182 Requires:       perl(RRDs)
183 Requires:       perl(URI::Escape)
184 Requires:       webserver(cgi)
185 Suggests:       fonts-TTF-DejaVu
186
187 %description collection
188 Web script for collectd.
189
190 %package cpu
191 Summary:        cpu-plugin for collectd
192 Summary(pl_PL.UTF-8):   Wtyczka cpu dla collectd
193 Group:          Daemons
194 Requires:       %{name} = %{version}-%{release}
195
196 %description cpu
197 The cpu-plugin collects the amount of time spent by the CPU in various states,
198 most notably executing user code, executing system code, waiting for IO
199 operations and being idle.
200
201 %package cpufreq
202 Summary:        cpufreq-plugin for collectd
203 Summary(pl_PL.UTF-8):   Wtyczka cpufreq dla collectd
204 Group:          Daemons
205 Requires:       %{name} = %{version}-%{release}
206
207 %description cpufreq
208 Collects the current CPU's frequency, mostly for mobile computers.
209
210 %package csv
211 Summary:        CSV output plugin for collectd
212 Summary(pl_PL.UTF-8):   Wtyczka wyjściowa CSV dla collectd
213 Group:          Daemons
214 Requires:       %{name} = %{version}-%{release}
215
216 %description csv
217 CSV output plugin for collectd.
218
219 %package curl
220 Summary:        cURL output plugin for collectd
221 Summary(pl_PL.UTF-8):   Wtyczka wyjściowa cURL dla collectd
222 Group:          Daemons
223 Requires:       %{name} = %{version}-%{release}
224
225 %description curl
226 The curl plugin uses the libcurl to read web pages and the match
227 infrastructure (the same code used by the tail plugin) to use regular
228 expressions with the received data.
229
230 %package dbi
231 Summary:        dbi plugin for collectd
232 Summary(pl_PL.UTF-8):   Wtyczka dbi dla collectd
233 Group:          Daemons
234 Requires:       %{name} = %{version}-%{release}
235
236 %description dbi
237 This plugin uses the dbi library to connect to various databases, execute
238 SQL statements and read back the results. dbi is an acronym for "database
239 interface" in case you were wondering about the name. You can configure how
240 each column is to be interpreted and the plugin will generate one or more
241 data sets from each row returned according to these rules.
242
243 %package df
244 Summary:        df-plugin for collectd
245 Summary(pl_PL.UTF-8):   Wtyczka df dla collectd
246 Group:          Daemons
247 Requires:       %{name} = %{version}-%{release}
248
249 %description df
250 The df-plugin collects file system usage information, i. e. basically how
251 much space on a mounted partition is used and how much is available. It's
252 named after and very similar to the df(1) UNIX command that's been around
253 forever.
254
255 %package disk
256 Summary:        disk-plugin for collectd
257 Summary(pl_PL.UTF-8):   Wtyczka disk dla collectd
258 Group:          Daemons
259 Requires:       %{name} = %{version}-%{release}
260
261 %description disk
262 This plugin collects performance statistics of harddisks and, where
263 supported, partitions.
264
265 %package dns
266 Summary:        dns-plugin for collectd
267 Summary(pl_PL.UTF-8):   Wtyczka dns dla collectd
268 Group:          Daemons
269 Requires:       %{name} = %{version}-%{release}
270 Requires:       perl-rrdtool
271
272 %description dns
273 This plugin has a similar functionality to dnstop: It uses libpcap to get
274 a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
275 the packets and collects statistics of your DNS traffic.
276
277 %package email
278 Summary:        email-plugin for collectd
279 Summary(pl_PL.UTF-8):   Wtyczka email dla collectd
280 Group:          Daemons
281 Requires:       %{name} = %{version}-%{release}
282
283 %description email
284 The email plugin opens an UNIX-socket over which one can submit email
285 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
286 received/handled, spam scores and matched spam checks.
287
288 This plugin is intended to be used with the the
289 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
290 included in contrib/, but is of course not limited to that use.
291
292 %package entropy
293 Summary:        entropy-plugin for collectd
294 Summary(pl_PL.UTF-8):   Wtyczka entropy dla collectd
295 Group:          Daemons
296 Requires:       %{name} = %{version}-%{release}
297
298 %description entropy
299 entropy plugin for collectd.
300
301 %package exec
302 Summary:        exec-plugin for collectd
303 Summary(pl_PL.UTF-8):   Wtyczka exec dla collectd
304 Group:          Daemons
305 Requires:       %{name} = %{version}-%{release}
306
307 %description exec
308 The exec plugin forks of an executable either to receive values or to
309 dispatch notifications to the outside world.
310
311 %package filecount
312 Summary:        filecount-plugin for collectd
313 Summary(pl_PL.UTF-8):   Wtyczka filecount dla collectd
314 Group:          Daemons
315 Requires:       %{name} = %{version}-%{release}
316
317 %description filecount
318 The filecount-plugin does something very simple: Count the number of files
319 in a directory and all its subdirectories. This can be used for a variety of
320 statistics, for example the queue length of an MTA, the number of PHP
321 sessions of a web server or simply the number of files in your home
322 directory.
323
324 %package hddtemp
325 Summary:        hddtemp-plugin for collectd
326 Summary(pl_PL.UTF-8):   Wtyczka hddtemp dla collectd
327 Group:          Daemons
328 Requires:       %{name} = %{version}-%{release}
329 Suggests:       hddtemp-hddtempd
330
331 %description hddtemp
332 Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
333 queried by the external hddtemp-daemon.
334
335 %package interface
336 Summary:        interface-plugin for collectd
337 Summary(pl_PL.UTF-8):   Wtyczka interface dla collectd
338 Group:          Daemons
339 Requires:       %{name} = %{version}-%{release}
340
341 %description interface
342 The interface-plugin collects information about the traffic (octets), packets
343 and errors of interfaces.
344
345 %package iptables
346 Summary:        iptables-plugin for collectd
347 Summary(pl_PL.UTF-8):   Wtyczka iptables dla collectd
348 Group:          Daemons
349 Requires:       %{name} = %{version}-%{release}
350
351 %description iptables
352 With this plugin you can gather statistics from your ip_tables based
353 packetfilter (aka. firewall). It can collect the byte- and packet-counters
354 of selected rules and submit them to collectd. You can select rules that
355 should be collected wither by its position (e.g. "the fourth rule in the
356 INPUT queue in the filter table") or by its comment (using the COMMENT
357 match). This means that depending on your firewall layout you can collect
358 certain services (such as the amount of web-traffic), source or destination
359 hosts or networks, dropped packets and much more.
360
361 %package ipmi
362 Summary:        ipmi-plugin for collectd
363 Summary(pl_PL.UTF-8):   Wtyczka ipmi dla collectd
364 Group:          Daemons
365 Requires:       %{name} = %{version}-%{release}
366
367 %description ipmi
368 ipmi plugin for collectd.
369
370 %description ipmi -l pl.UTF-8
371 Wtyczka ipmi dla collectd.
372
373 %package irq
374 Summary:        IRQs-plugin for collectd
375 Summary(pl_PL.UTF-8):   Wtyczka IRQs dla collectd
376 Group:          Daemons
377 Requires:       %{name} = %{version}-%{release}
378
379 %description irq
380 IRQs plugin for collectd.
381
382 %package load
383 Summary:        load-plugin for collectd
384 Summary(pl_PL.UTF-8):   Wtyczka load dla collectd
385 Group:          Daemons
386 Requires:       %{name} = %{version}-%{release}
387
388 %description load
389 Collects the system load. These numbers give a rough overview over the
390 utilization of a machine, though their meaning is mostly overrated.
391
392 %package logfile
393 Summary:        logfile-plugin for collectd
394 Summary(pl_PL.UTF-8):   Wtyczka logfile dla collectd
395 Group:          Daemons
396 Requires:       %{name} = %{version}-%{release}
397
398 %description logfile
399 Logfile plugin for collectd.
400
401 %package match_regex
402 Summary:        match_regex plugin for collectd
403 Summary(pl_PL.UTF-8):   Wtyczka match_regex dla collectd
404 Group:          Daemons
405 Requires:       %{name} = %{version}-%{release}
406
407 %description match_regex
408 match_regex plugin for collectd.
409
410 %package match_timediff
411 Summary:        match_timediff plugin for collectd
412 Summary(pl_PL.UTF-8):   Wtyczka match_timediff dla collectd
413 Group:          Daemons
414 Requires:       %{name} = %{version}-%{release}
415
416 %description match_timediff
417 match_timediff plugin for collectd.
418
419 %package match_value
420 Summary:        match_value plugin for collectd
421 Summary(pl_PL.UTF-8):   Wtyczka match_value dla collectd
422 Group:          Daemons
423 Requires:       %{name} = %{version}-%{release}
424
425 %description match_value
426 match_value plugin for collectd.
427
428 %package mbmon
429 Summary:        mbmon plugin for collectd
430 Summary(pl_PL.UTF-8):   Wtyczka mbmon dla collectd
431 Group:          Daemons
432 Requires:       %{name} = %{version}-%{release}
433
434 %description mbmon
435 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
436
437 %package memcached
438 Summary:        memcached-plugin for collectd
439 Summary(pl_PL.UTF-8):   Wtyczka memcached dla collectd
440 Group:          Daemons
441 Requires:       %{name} = %{version}-%{release}
442
443 %description memcached
444 The memcached plugin connects to a memcached daemon and collects the number
445 of connections and requests handled by the daemon, the CPU resources consumed,
446 number of items cached, number of threads, and bytes sent and received.
447
448 %package memory
449 Summary:        memory-plugin for collectd
450 Summary(pl_PL.UTF-8):   Wtyczka memory dla collectd
451 Group:          Daemons
452 Requires:       %{name} = %{version}-%{release}
453
454 %description memory
455 Collects physical memory utilization for collectd.
456
457 %package multimeter
458 Summary:        multimeter-plugin for collectd
459 Summary(pl_PL.UTF-8):   Wtyczka multimeter dla collectd
460 Group:          Daemons
461 Requires:       %{name} = %{version}-%{release}
462
463 %description multimeter
464 Multimeter plugin for collectd.
465
466 %package mysql
467 Summary:        mysql-plugin for collectd
468 Summary(pl_PL.UTF-8):   Moduł mysql dla collectd.
469 Group:          Daemons
470 Requires:       %{name} = %{version}-%{release}
471
472 %description mysql
473 MySQL querying plugin. This plugins provides data of issued commands,
474 called handlers and database traffic.
475
476 %description mysql -l pl.UTF-8
477 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
478 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
479
480 %package netlink
481 Summary:        netlink-plugin for collectd
482 Summary(pl_PL.UTF-8):   Wtyczka netlink dla collectd
483 Group:          Daemons
484 Requires:       %{name} = %{version}-%{release}
485
486 %description netlink
487 This plugin will open a netlink socket to the Linux kernel and use it to get
488 statistics for interfaces, qdiscs, classes, and, if you can make use of it,
489 filters. Since in most setups many of the statistics this plugin can collect
490 aren't of interest, you can select which information to gather using the
491 configuration.
492
493 %package network
494 Summary:        network-plugin for collectd
495 Summary(pl_PL.UTF-8):   Wtyczka network dla collectd
496 Group:          Daemons
497 Requires:       %{name} = %{version}-%{release}
498
499 %description network
500 nginx plugin for collectd.
501
502 %package nfs
503 Summary:        NFS-plugin for collectd
504 Summary(pl_PL.UTF-8):   Wtyczka NFS dla collectd
505 Group:          Daemons
506 Requires:       %{name} = %{version}-%{release}
507
508 %description nfs
509 The nfs plugin counts the number of procedure calls of the different NFS
510 procedures.
511
512 %package nginx
513 Summary:        nginx-plugin for collectd
514 Summary(pl_PL.UTF-8):   Wtyczka nginx dla collectd
515 Group:          Daemons
516 Requires:       %{name} = %{version}-%{release}
517
518 %description nginx
519 This plugin collects the number of connections and requests handled by the
520 nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
521 the ngx_http_stub_status_module module, which isn't compiled by default.
522
523 %package notify_desktop
524 Summary:        notify_desktop for collectd
525 Summary(pl_PL.UTF-8):   Wtyczka notify_desktop dla collectd
526 Group:          Daemons
527 Requires:       %{name} = %{version}-%{release}
528
529 %description notify_desktop
530 This plugin sends a desktop notification to a notification daemon, as
531 defined in the Desktop Notification Specification. To actually display the
532 notifications, notification-daemon is required and collectd has to be able
533 to access the X server.
534
535 %package notify_email
536 Summary:        notify_email-plugin for collectd
537 Summary(pl_PL.UTF-8):   Wtyczka notify_email dla collectd
538 Group:          Daemons
539 Requires:       %{name} = %{version}-%{release}
540
541 %description notify_email
542 notify_email plugin for collectd.
543
544 %package ntpd
545 Summary:        ntpd-plugin for collectd
546 Summary(pl_PL.UTF-8):   Wtyczka ntpd dla collectd
547 Group:          Daemons
548 Requires:       %{name} = %{version}-%{release}
549
550 %description ntpd
551 NTPd plugin for collectd.
552
553 %package nut
554 Summary:        nut-plugin for collectd
555 Summary(pl_PL.UTF-8):   Wtyczka nut dla collectd
556 Group:          Daemons
557 Requires:       %{name} = %{version}-%{release}
558
559 %description nut
560 UPS statistics using the Network UPS Tools. These statistics include
561 basically everything NUT will give us, including voltages, currents, power,
562 frequencies, load, and temperatures.
563
564 %package openvpn
565 Summary:        openvpn plugin for collectd
566 Summary(pl_PL.UTF-8):   Wtyczka openvpn dla collectd
567 Group:          Daemons
568 Requires:       %{name} = %{version}-%{release}
569 Requires:       openvpn
570
571 %description openvpn
572 The OpenVPN plugin reads a status file maintained by OpenVPN and gathers
573 traffic statistics about connected clients.
574
575 %package ping
576 Summary:        ping-plugin for collectd
577 Summary(pl_PL.UTF-8):   Wtyczka ping dla collectd
578 Group:          Daemons
579 Requires:       %{name} = %{version}-%{release}
580
581 %description ping
582 The network latency is measured as a roundtrip time. An ICMP-echo-request
583 (aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
584 "pong") to arrive is measured. If a reply is not received within one second
585 the plugin will no longer expect a reply and return. This may happen in
586 several circumstances, e. g. the packet is lost, the host is down, a router
587 has dismissed the packet, etc.
588
589 %package postgresql
590 Summary:        mysql-plugin for collectd
591 Summary(pl_PL.UTF-8):   Moduł postgresql dla collectd.
592 Group:          Daemons
593 Requires:       %{name} = %{version}-%{release}
594
595 %description postgresql
596 The postgresql plugin queries statistics from PostgreSQL databases. It keeps
597 a persistent connection to all configured databases and tries to reconnect
598 if the connection has been interrupted.
599
600 %package powerdns
601 Summary:        powerdns-plugin for collectd
602 Summary(pl_PL.UTF-8):   Wtyczka powerdns dla collectd
603 Group:          Daemons
604 Requires:       %{name} = %{version}-%{release}
605
606 %description powerdns
607 The powerdns plugin queries statistics from an authoritative PowerDNS
608 nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
609 values, many of which are probably meaningless to most users, but may be
610 useful for some.
611
612 %package processes
613 Summary:        processes-plugin for collectd
614 Summary(pl_PL.UTF-8):   Wtyczka processes dla collectd
615 Group:          Daemons
616 Requires:       %{name} = %{version}-%{release}
617
618 %description processes
619 This plugin collects the number of processes, grouped by their state (e.g.
620 running, sleeping, zombies, etc.). In addition to that, it can select
621 detailed statistics about selected processes, grouped by name.
622
623 %package rrdtool
624 Summary:        rrdtool-plugin for collectd
625 Summary(pl_PL.UTF-8):   Wtyczka rrdtool dla collectd
626 Group:          Daemons
627 Requires:       %{name} = %{version}-%{release}
628 Requires:       rrdtool
629
630 %description rrdtool
631 RRDTOOL plugin for collectd.
632
633 %package sensors
634 Summary:        sensors-plugin for collectd
635 Summary(pl_PL.UTF-8):   Wtyczka sensors dla collectd
636 Group:          Daemons
637 Requires:       %{name} = %{version}-%{release}
638
639 %description sensors
640 This plugin uses lm-sensors to read hardware sensors. You will need to
641 configure lm-sensors before this plugin will collect any usefull and correct
642 data.
643
644 %module_scripts serial
645 %package serial
646 Summary:        serial-plugin for collectd
647 Summary(pl_PL.UTF-8):   Wtyczka serial dla collectd
648 Group:          Daemons
649 Requires:       %{name} = %{version}-%{release}
650
651 %description serial
652 Serial plugin for collectd.
653
654 %package snmp
655 Summary:        snmp-plugin for collectd
656 Summary(pl_PL.UTF-8):   Wtyczka snmp dla collectd
657 Group:          Daemons
658 Requires:       %{name} = %{version}-%{release}
659
660 %description snmp
661 The snmp plugin queries other hosts using SNMP, the Simple Network
662 Management Protocol, and translates the value it receives to collectd's
663 internal format and dispatches them. Depending on the write plugins you have
664 loaded they may be written to disk or submitted to another instance or
665 whatever you configured.
666
667 %package swap
668 Summary:        swap-plugin for collectd
669 Summary(pl_PL.UTF-8):   Wtyczka swap dla collectd
670 Group:          Daemons
671 Requires:       %{name} = %{version}-%{release}
672
673 %description swap
674 Swap space plugin for collectd.
675
676 %package syslog
677 Summary:        syslog-plugin for collectd
678 Summary(pl_PL.UTF-8):   Wtyczka syslog dla collectd
679 Group:          Daemons
680 Requires:       %{name} = %{version}-%{release}
681
682 %description syslog
683 Syslog plugin for collectd.
684
685 %package target_notification
686 Summary:        target_notification-plugin for collectd
687 Summary(pl_PL.UTF-8):   Wtyczka target_notification dla collectd
688 Group:          Daemons
689 Requires:       %{name} = %{version}-%{release}
690
691 %description target_notification
692 target_notification plugin for collectd.
693
694 %package target_replace
695 Summary:        target_replace-plugin for collectd
696 Summary(pl_PL.UTF-8):   Wtyczka target_replace dla collectd
697 Group:          Daemons
698 Requires:       %{name} = %{version}-%{release}
699
700 %description target_replace
701 target_replace plugin for collectd.
702
703 %package target_set
704 Summary:        target_set-plugin for collectd
705 Summary(pl_PL.UTF-8):   Wtyczka target_set dla collectd
706 Group:          Daemons
707 Requires:       %{name} = %{version}-%{release}
708
709 %description target_set
710 target_set plugin for collectd.
711
712 %package tail
713 Summary:        tail-plugin for collectd
714 Summary(pl_PL.UTF-8):   Wtyczka tail dla collectd
715 Group:          Daemons
716 Requires:       %{name} = %{version}-%{release}
717
718 %description tail
719 The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
720 does. Each line is given to one or more "matches" which test if the line is
721 relevant for any statistics using a regular expression.
722
723 %package tcpconns
724 Summary:        tcpconns-plugin for collectd
725 Summary(pl_PL.UTF-8):   Wtyczka tcpconns dla collectd
726 Group:          Daemons
727 Requires:       %{name} = %{version}-%{release}
728
729 %description tcpconns
730 The tcpconns-plugin counts the number of TCP connections to or from a
731 specified port. Typically the connectioins where you specify the local port
732 are incoming connections while the connections where you specify the remote
733 port are outgoing connections.
734
735 %package teamspeak2
736 Summary:        teamspeak2-plugin for collectd
737 Summary(pl_PL.UTF-8):   Wtyczka teamspeak2 dla collectd
738 Group:          Daemons
739 Requires:       %{name} = %{version}-%{release}
740
741 %description teamspeak2
742 The teamspeak2 plugin connects to the query port of a teamspeak2 server and
743 polls interesting global and virtual server data. The plugin can query only
744 one physical server but unlimited virtual servers.
745
746 %package thermal
747 Summary:        thermal-plugin for collectd
748 Summary(pl_PL.UTF-8):   Wtyczka thermal dla collectd
749 Group:          Daemons
750 Requires:       %{name} = %{version}-%{release}
751
752 %description thermal
753 Thermal plugin for collectd.
754
755 %package unixsock
756 Summary:        unixsock-plugin for collectd
757 Summary(pl_PL.UTF-8):   Wtyczka unixsock dla collectd
758 Group:          Daemons
759 Requires:       %{name} = %{version}-%{release}
760
761 %description unixsock
762 The unixsock plugin opens an UNIX-socket over which one can interact with
763 the daemon. This can be used to use the values collected by collectd in
764 other applications, such as monitoring, or submit externally collected
765 values to collectd.
766
767 %package users
768 Summary:        users-plugin for collectd
769 Summary(pl_PL.UTF-8):   Wtyczka users dla collectd
770 Group:          Daemons
771 Requires:       %{name} = %{version}-%{release}
772
773 %description users
774 Number of users currently logged in.
775
776 %package uuid
777 Summary:        uuid-plugin for collectd
778 Summary(pl_PL.UTF-8):   Wtyczka uuid dla collectd
779 Group:          Daemons
780 Requires:       %{name} = %{version}-%{release}
781
782 %description uuid
783 This plugin, if loaded, causes the Hostname to be taken from the machine's
784 UUID. The UUID is a universally unique designation for the machine, usually
785 taken from the machine's BIOS. This is most useful if the machine is
786 running in a virtual environment such as Xen, in which case the UUID is
787 preserved across shutdowns and migration.
788
789 %package vmem
790 Summary:        vmem-plugin for collectd
791 Summary(pl_PL.UTF-8):   Wtyczka vmem dla collectd
792 Group:          Daemons
793 Requires:       %{name} = %{version}-%{release}
794
795 %description vmem
796 The vmem plugin collects information about the usage of virtual memory.
797 Since the statistics provided by the Linux kernel are very detailed, they
798 are collected very detailed.
799
800 %package vserver
801 Summary:        vserver-plugin for collectd
802 Summary(pl_PL.UTF-8):   Wtyczka vserver dla collectd
803 Group:          Daemons
804 Requires:       %{name} = %{version}-%{release}
805
806 %description vserver
807 Collects information about the virtual servers running on a system, using
808 Linux-Vserver.
809
810 %package wireless
811 Summary:        wireless-plugin for collectd
812 Summary(pl_PL.UTF-8):   Wtyczka wireless dla collectd
813 Group:          Daemons
814 Requires:       %{name} = %{version}-%{release}
815
816 %description wireless
817 Wireless plugin for collectd.
818
819 %package xmms
820 Summary:        xmms-plugin for collectd
821 Summary(pl_PL.UTF-8):   Wtyczka xmms dla collectd
822 Group:          Daemons
823 Requires:       %{name} = %{version}-%{release}
824
825 %description xmms
826 This plugin collectd data provided by XMMS.
827
828 %prep
829 %setup -q
830 %patch0 -p1
831
832 %build
833 %{__libtoolize}
834 %{__aclocal}
835 %{__autoconf}
836 %{__autoheader}
837 %{__automake}
838
839 %configure \
840         --with-libstatgrab=/usr \
841         --with-lm-sensors=/usr \
842         --with-libmysql=/usr \
843         --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
844         --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
845         --%{?with_dns:en}%{!?with_dns:dis}able-dns \
846         --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
847         --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
848         --disable-ipvs \
849         --disable-libvirt \
850         --disable-perl
851
852
853 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
854         BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
855         BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
856
857 %install
858 rm -rf $RPM_BUILD_ROOT
859 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
860         $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
861
862 %{__make} install \
863         DESTDIR=$RPM_BUILD_ROOT
864
865 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
866 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
867
868 # Web frontend:
869 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
870 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
871 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
872 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
873 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
874
875 ### Configs instalation ###
876 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
877         egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
878         grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
879 done
880
881 # Example config in sources: src/collectd.conf
882 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
883
884 # Overwrite only files which we want to change:
885 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
886 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
887
888 # Cleanups:
889 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
890
891 %clean
892 rm -rf $RPM_BUILD_ROOT
893
894 %post
895 /sbin/chkconfig --add %{name}
896 %service %{name} restart
897
898 %preun
899 if [ "$1" = "0" ]; then
900         %service -q %{name} stop
901         /sbin/chkconfig --del %{name}
902 fi
903
904 %post   libs -p /sbin/ldconfig
905 %postun libs -p /sbin/ldconfig
906
907 %define module_scripts() \
908 %post %1 \
909 %service %{name} restart \
910 \
911 %postun %1 \
912 %service %{name} restart
913
914 %module_scripts apache
915 %module_scripts apcups
916 %module_scripts ascent
917 %module_scripts battery
918 %module_scripts bind
919 %module_scripts cpufreq
920 %module_scripts cpu
921 %module_scripts csv
922 %module_scripts curl
923 %module_scripts dbi
924 %module_scripts df
925 %module_scripts disk
926 %{?with_dns:%module_scripts dns}
927 %module_scripts email
928 %module_scripts entropy
929 %module_scripts exec
930 %module_scripts filecount
931 %module_scripts hddtemp
932 %module_scripts interface
933 %{?with_ipmi:%module_scripts ipmi}
934 %{?with_iptables:%module_scripts iptables}
935 %module_scripts irq
936 %module_scripts load
937 %module_scripts logfile
938 %module_scripts match_regex
939 %module_scripts match_timediff
940 %module_scripts match_value
941 %module_scripts mbmon
942 %module_scripts memcached
943 %module_scripts memory
944 %{?with_multimeter:%module_scripts multimeter}
945 %module_scripts mysql
946 %{?with_netlink:%module_scripts netlink}
947 %module_scripts network
948 %module_scripts nfs
949 %module_scripts nginx
950 %module_scripts notify_desktop
951 %module_scripts notify_email
952 %module_scripts ntpd
953 %module_scripts nut
954 %module_scripts openvpn
955 %module_scripts ping
956 %module_scripts postgresql
957 %module_scripts powerdns
958 %module_scripts processes
959 %module_scripts rrdtool
960 %module_scripts sensors
961 %module_scripts serial
962 %module_scripts snmp
963 %module_scripts swap
964 %module_scripts syslog
965 %module_scripts tail
966 %module_scripts target_notification
967 %module_scripts target_replace
968 %module_scripts target_set
969 %module_scripts tcpconns
970 %module_scripts teamspeak2
971 %module_scripts thermal
972 %module_scripts unixsock
973 %module_scripts users
974 %module_scripts uuid
975 %module_scripts vmem
976 %module_scripts vserver
977 %module_scripts wireless
978 %module_scripts xmms
979
980 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
981 %webapp_register apache %{_webapp}
982
983 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
984 %webapp_unregister apache %{_webapp}
985
986 %triggerin collection -- apache < 2.2.0, apache-base
987 %webapp_register httpd %{_webapp}
988
989 %triggerun collection -- apache < 2.2.0, apache-base
990 %webapp_unregister httpd %{_webapp}
991
992 %triggerin collection -- lighttpd
993 %webapp_register lighttpd %{_webapp}
994
995 %triggerun collection -- lighttpd
996 %webapp_unregister lighttpd %{_webapp}
997
998 %files
999 %defattr(644,root,root,755)
1000 %doc AUTHORS ChangeLog README TODO contrib
1001 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1002 %dir %{_sysconfdir}/%{name}.d
1003 %attr(755,root,root) %{_sbindir}/collectd
1004 %attr(755,root,root) %{_sbindir}/collectdmon
1005 %attr(755,root,root) %{_bindir}/collectd-nagios
1006 %dir %{_datadir}/%{name}
1007 %{_datadir}/%{name}/types.db
1008 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1009 %{_mandir}/man1/collectd.1*
1010 %{_mandir}/man1/collectd-nagios.1*
1011 %{_mandir}/man5/collectd.conf.5*
1012 %{_mandir}/man5/collectd-perl.5*
1013 %{_mandir}/man1/collectdmon.1*
1014 %{_mandir}/man5/types.db.5*
1015 %dir %{_var}/lib/%{name}
1016
1017 %files libs
1018 %defattr(644,root,root,755)
1019 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1020 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1021 %dir %{_libdir}/%{name}
1022
1023 %files devel
1024 %defattr(644,root,root,755)
1025 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1026 %{_libdir}/libcollectdclient.la
1027 %dir %{_includedir}/%{name}
1028 %{_includedir}/%{name}/*.h
1029 %{_pkgconfigdir}/libcollectdclient.pc
1030
1031 %files collection
1032 %defattr(644,root,root,755)
1033 %dir %{_webappdir}
1034 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1035 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1036 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1037 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1038 %dir %{_appdir}
1039 %dir %{_appdir}/cgi-bin
1040 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1041
1042 ########## PLUGINS:
1043 %files apcups
1044 %defattr(644,root,root,755)
1045 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1046 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1047
1048 %files ascent
1049 %defattr(644,root,root,755)
1050 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1051 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1052
1053 %files apache
1054 %defattr(644,root,root,755)
1055 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1056 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1057
1058 %files battery
1059 %defattr(644,root,root,755)
1060 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1061 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1062
1063 %files bind
1064 %defattr(644,root,root,755)
1065 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1066 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1067
1068 %files cpu
1069 %defattr(644,root,root,755)
1070 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1071 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1072
1073 %files cpufreq
1074 %defattr(644,root,root,755)
1075 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1076 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1077
1078 %files csv
1079 %defattr(644,root,root,755)
1080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1081 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1082
1083 %files curl
1084 %defattr(644,root,root,755)
1085 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1086 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1087
1088 %files dbi
1089 %defattr(644,root,root,755)
1090 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1091 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1092
1093 %files df
1094 %defattr(644,root,root,755)
1095 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1096 %attr(755,root,root) %{_libdir}/%{name}/df.so
1097
1098 %files disk
1099 %defattr(644,root,root,755)
1100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1101 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1102
1103 %files dns
1104 %defattr(644,root,root,755)
1105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1106 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1107
1108 %files email
1109 %defattr(644,root,root,755)
1110 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1111 %attr(755,root,root) %{_libdir}/%{name}/email.so
1112 %{_mandir}/man5/collectd-email.5*
1113
1114 %files entropy
1115 %defattr(644,root,root,755)
1116 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1117 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1118
1119 %files exec
1120 %defattr(644,root,root,755)
1121 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1122 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1123 %{_mandir}/man5/collectd-exec.5*
1124
1125 %files filecount
1126 %defattr(644,root,root,755)
1127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1128 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1129
1130 %files hddtemp
1131 %defattr(644,root,root,755)
1132 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1133 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1134
1135 %files interface
1136 %defattr(644,root,root,755)
1137 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1138 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1139
1140 %if %{with ipmi}
1141 %files ipmi
1142 %defattr(644,root,root,755)
1143 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1144 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1145 %endif
1146
1147 %if %{with iptables}
1148 %files iptables
1149 %defattr(644,root,root,755)
1150 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1151 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1152 %endif
1153
1154 %files irq
1155 %defattr(644,root,root,755)
1156 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1157 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1158
1159 %files load
1160 %defattr(644,root,root,755)
1161 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1162 %attr(755,root,root) %{_libdir}/%{name}/load.so
1163
1164 %files logfile
1165 %defattr(644,root,root,755)
1166 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1167 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1168 %{_var}/log/collectd.log
1169
1170 %files match_regex
1171 %defattr(644,root,root,755)
1172 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1173 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1174
1175 %files match_timediff
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1178
1179 %files match_value
1180 %defattr(644,root,root,755)
1181 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1182 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1183
1184 %files mbmon
1185 %defattr(644,root,root,755)
1186 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1187 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1188
1189 %files memcached
1190 %defattr(644,root,root,755)
1191 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1192 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1193
1194 %files memory
1195 %defattr(644,root,root,755)
1196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1197 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1198
1199 %if %{with multimeter}
1200 %files multimeter
1201 %defattr(644,root,root,755)
1202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1203 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1204 %endif
1205
1206 %files mysql
1207 %defattr(644,root,root,755)
1208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1209 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1210
1211 %if %{with netlink}
1212 %files netlink
1213 %defattr(644,root,root,755)
1214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1215 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1216 %endif
1217
1218 %files network
1219 %defattr(644,root,root,755)
1220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1221 %attr(755,root,root) %{_libdir}/%{name}/network.so
1222
1223 %files nfs
1224 %defattr(644,root,root,755)
1225 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1226 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1227
1228 %files nginx
1229 %defattr(644,root,root,755)
1230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1231 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1232
1233 %files notify_desktop
1234 %defattr(644,root,root,755)
1235 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1236 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1237
1238 %files notify_email
1239 %defattr(644,root,root,755)
1240 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1241 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1242
1243 %files ntpd
1244 %defattr(644,root,root,755)
1245 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1246 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1247
1248 %files nut
1249 %defattr(644,root,root,755)
1250 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1251 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1252
1253 %files openvpn
1254 %defattr(644,root,root,755)
1255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1256 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1257
1258 %files ping
1259 %defattr(644,root,root,755)
1260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1261 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1262
1263 %files postgresql
1264 %defattr(644,root,root,755)
1265 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1266 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1267 %{_datadir}/%{name}/postgresql_default.conf
1268
1269 %files powerdns
1270 %defattr(644,root,root,755)
1271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1272 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1273
1274 %files processes
1275 %defattr(644,root,root,755)
1276 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1277 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1278
1279 %files rrdtool
1280 %defattr(644,root,root,755)
1281 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1282 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1283
1284 %files sensors
1285 %defattr(644,root,root,755)
1286 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1287 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1288
1289 %files serial
1290 %defattr(644,root,root,755)
1291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1292 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1293
1294 %files snmp
1295 %defattr(644,root,root,755)
1296 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1297 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1298 %{_mandir}/man5/collectd-snmp.5*
1299
1300 %files swap
1301 %defattr(644,root,root,755)
1302 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1303 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1304
1305 %files syslog
1306 %defattr(644,root,root,755)
1307 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1308 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1309
1310 %files tail
1311 %defattr(644,root,root,755)
1312 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1313 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1314
1315 %files target_notification
1316 %defattr(644,root,root,755)
1317 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1318 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1319
1320 %files target_replace
1321 %defattr(644,root,root,755)
1322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1323 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1324
1325 %files target_set
1326 %defattr(644,root,root,755)
1327 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1328 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1329
1330 %files tcpconns
1331 %defattr(644,root,root,755)
1332 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1333 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1334
1335 %files teamspeak2
1336 %defattr(644,root,root,755)
1337 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1338 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1339
1340 %files thermal
1341 %defattr(644,root,root,755)
1342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1343 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1344
1345 %files unixsock
1346 %defattr(644,root,root,755)
1347 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1348 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1349 %{_mandir}/man5/collectd-unixsock.5*
1350
1351 %files users
1352 %defattr(644,root,root,755)
1353 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1354 %attr(755,root,root) %{_libdir}/%{name}/users.so
1355
1356 %files uuid
1357 %defattr(644,root,root,755)
1358 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1359 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1360
1361 %files vmem
1362 %defattr(644,root,root,755)
1363 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1364 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1365
1366 %files vserver
1367 %defattr(644,root,root,755)
1368 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1369 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1370
1371 %files wireless
1372 %defattr(644,root,root,755)
1373 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1374 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1375
1376 %files xmms
1377 %defattr(644,root,root,755)
1378 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1379 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
This page took 0.181197 seconds and 4 git commands to generate.