]> TLD Linux GIT Repositories - packages/munin-plugins-hq.git/blob - munin-plugins-hq.spec
28a3c1bc490ed1578180ac011a0c67a42331d0c6
[packages/munin-plugins-hq.git] / munin-plugins-hq.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        HQ Munin Plugins
3 Summary(pl.UTF-8):      Wtyczki HQ dla munina
4 Name:           munin-plugins-hq
5 Version:        20151127.01
6 Release:        2
7 License:        GPL
8 Group:          Daemons
9 Source0:        http://munin.furud.net/download/%{name}-%{version}.tar.xz
10 # Source0-md5:  90b0a5625cb16ad2bd43b4bce326cfe2
11 Patch0:         misc.patch
12 URL:            http://munin.furud.net/
13 BuildRequires:  perl-devel
14 BuildRequires:  rpm-perlprov
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.268
17 Requires:       %{name}-cpu = %{version}-%{release}
18 Requires:       %{name}-dell-omsa = %{version}-%{release}
19 Requires:       %{name}-firebird = %{version}-%{release}
20 Requires:       %{name}-iostat = %{version}-%{release}
21 Requires:       %{name}-loadavg = %{version}-%{release}
22 Requires:       %{name}-memory = %{version}-%{release}
23 Requires:       %{name}-netif = %{version}-%{release}
24 Requires:       %{name}-netstat = %{version}-%{release}
25 Requires:       %{name}-nut = %{version}-%{release}
26 Requires:       %{name}-ps = %{version}-%{release}
27 Requires:       %{name}-rtt = %{version}-%{release}
28 Requires:       %{name}-sensors = %{version}-%{release}
29 Requires:       %{name}-smart = %{version}-%{release}
30 Requires:       %{name}-snmp-host = %{version}-%{release}
31 Requires:       %{name}-storage = %{version}-%{release}
32 Requires:       %{name}-uptime = %{version}-%{release}
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 This metapackage contains all HQ Munin Plugins available at
38 http://munin.furud.net/.
39
40 %description -l pl.UTF-8
41 Ten metapakiet zawiera wszystkie wtyczki HQ dla munina dostępne pod
42 adresem http://munin.furud.net/.
43
44 %package cpu
45 Summary:        Munin Plugin for CPU monitoring
46 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania CPU
47 Group:          Daemons
48 Requires:       munin-node
49
50 %description cpu
51 This Munin plugin allows monitoring of CPU load on a per-core basis
52 and provides one summary graph for all cores as well as detailed
53 graphs for each core.
54
55 %description cpu -l pl.UTF-8
56 Ta wtyczka dla munina pozwala monitorować obciążenie procesora per
57 rdzeń i tworzy wykres zbiorczy dla wszystkich rdzeni oraz dokładne
58 wykresy dla każego rdzenia z osobna.
59
60 %package dell-omsa
61 Summary:        Munin Plugin for fan/temperature sensors monitoring
62 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania czujników wiatraczków i temperatury
63 Group:          Daemons
64 Requires:       munin-node
65
66 %description dell-omsa
67 This Munin plugin allows monitoring of fan and temperature sensors
68 reported by Dell OpenManage Server Administrator.
69
70 %description dell-omsa -l pl.UTF-8
71 Ta wtyczka dla munina pozwala monitorować czujniki wiatraczków i
72 temperatury obsługiwane przez Dell OpenManage Server Administrator.
73
74 %package firebird
75 Summary:        Munin Plugin for monitoring Firebird databases
76 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania baz danych Firebird
77 Group:          Daemons
78 Requires:       munin-node
79
80 %description firebird
81 This Munin Plugin allows monitoring of transaction statistisc of
82 Firebird databases.
83
84 %description firebird -l pl.UTF-8
85 Ta wtyczka dla munina pozwala monitorować statystyki transakcji baz
86 danych Firebird.
87
88 %package iostat
89 Summary:        Munin Plugin for disk I/O monitoring
90 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania I/O dysków
91 Group:          Daemons
92 Requires:       munin-node
93 Requires:       sysstat
94
95 %description iostat
96 This Munin plugin allows monitoring of disk I/O and provides
97 read/write statistics for each device.
98
99 %description iostat -l pl.UTF-8
100 Ta wtyczka dla munina pozwala monitorować operacje wejścia/wyjścia dla
101 dysków i tworzy wykresy ze statystykami odczytu i zapisu danych.
102
103 %package loadavg
104 Summary:        Munin Plugin for system load average monitoring
105 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania obciążenia systemu
106 Group:          Daemons
107 Requires:       munin-node
108
109 %description loadavg
110 This Munin plugin allows monitoring of system load average.
111
112 %description loadavg -l pl.UTF-8
113 Ta wtyczka dla munina pozwala monitorować średnie obciążenie systemu.
114
115 %package memory
116 Summary:        Munin Plugin for monitoring memory usage
117 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania użycia pamięci
118 Group:          Daemons
119 Requires:       munin-node
120
121 %description memory
122 This Munin plugin allows monitoring of memory and swap usage.
123
124 %description memory -l pl.UTF-8
125 Ta wtyczka dla munina pozwala monitorować zużycie pamięci RAM i swap.
126
127 %package netif
128 Summary:        Munin Plugin for monitoring network usage
129 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania obciążenia sieci
130 Group:          Daemons
131 Requires:       munin-node
132
133 %description netif
134 This Munin plugin allows monitoring of network devices and provides
135 graphs with download/upload, packets and errors statistics for each
136 network interface.
137
138 %description netif -l pl.UTF-8
139 Ta wtyczka dla munina pozwala monitorować obciążenie sieci i tworzy
140 wykresy ze statystykami wysłanych/odebranych danych, pakietów oraz
141 błędów dla każdego interfejsu sieciowego.
142
143 %package netstat
144 Summary:        Munin Plugin for monitoring network statistics
145 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania statystyk sieciowych
146 Group:          Daemons
147 Requires:       munin-node
148 Requires:       net-tools
149
150 %description netstat
151 This Munin plugin allows monitoring of network stats and provides
152 graphs with number of active connections and ICMP, TCP, UDP
153 statistics.
154
155 %description netstat -l pl.UTF-8
156 Ta wtyczka dla munina pozwala monitorować statysyki sieci i tworzy
157 wykresy z ilością aktywnych połączeń oraz ze statystykami ICMP, TCP,
158 UDP.
159
160 %package ps
161 Summary:        Munin Plugin for monitoring number of processes
162 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania ilości procesów
163 Group:          Daemons
164 Requires:       munin-node
165
166 %description ps
167 This Munin plugin allows monitoring of number of processes with given
168 name.
169
170 %description ps -l pl.UTF-8
171 Ta wtyczka dla munina pozwala monitorować ilość procesów o zadanej
172 nazwie.
173
174 %package rtt
175 Summary:        Munin Plugin for monitoring RTT and packet loss
176 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania RTT i strat pakietów
177 Group:          Daemons
178 Requires:       iputils-ping
179 Requires:       munin-node
180
181 %description rtt
182 This Munin plugin allows monitoring of average round trip time (RTT)
183 and packet loss between two hosts.
184
185 %description rtt -l pl.UTF-8
186 Ta wtyczka dla munina pozwala monitorować średnie czasy opóźnień oraz
187 straty pakietów między dwoma hostami.
188
189 %package sensors
190 Summary:        Munin Plugin for fan/temperature sensors monitoring
191 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania czujników wiatraczków i temperatury
192 Group:          Daemons
193 Requires:       lm_sensors
194 Requires:       munin-node
195
196 %description sensors
197 This Munin plugin allows monitoring of fan and temperature sensors
198 reported by lm_sensors.
199
200 %description sensors -l pl.UTF-8
201 Ta wtyczka dla munina pozwala monitorować czujniki wiatraczków i
202 temperatury obsługiwane przez lm_sensors.
203
204 %package smart
205 Summary:        Munin Plugin for monitoring disk S.M.A.R.T.
206 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania S.M.A.R.T. dysków
207 Group:          Daemons
208 Requires:       munin-node
209 Requires:       smartmontools
210
211 %description smart
212 This Munin plugin allows monitoring of disk S.M.A.R.T. attributes and
213 provides graphs with critical S.M.A.R.T. data (reallocated sectors
214 etc.), disk temperature, power-on time and number of start/stop
215 cycles.
216
217 %description smart -l pl.UTF-8
218 Ta wtyczka dla munina pozwala monitorować atrybuty S.M.A.R.T. dysków i
219 tworzy wykresy z krtyczynymi danymi S.M.A.R.T. (realokowane sektory
220 itp.) oraz wykresy z temperaturą, czasem pracy i ilością cykli
221 startu/zatrzymania.
222
223 %package snmp-host
224 Summary:        Munin Plugin for monitoring host resources via SNMP
225 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania zasobów system poprzez SNMP
226 Group:          Daemons
227 Requires:       munin-node
228 Requires:       perl-Net-SNMP
229
230 %description snmp-host
231 This Munin plugin allows monitoring of CPU, memory and storage usage,
232 network utilization and number of running processes via SNMP. It can
233 be used ie. to monitor Windows host from Linux.
234
235 %description snmp-host -l pl.UTF-8
236 Ta wtyczka dla munina pozwala monitorować użycie procesora, pamięci i
237 zasobów dyskowych, obciążenie interfejsów sieciowych oraz ilość
238 uruchomionych procesów poprzez SNMP. Możeby użyta np. do monitorowania
239 systemów Windows z poziomu Linuxa.
240
241 %package storage
242 Summary:        Munin Plugin for monitoring storage usage
243 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania zajętości zasobów dyskowych
244 Group:          Daemons
245 Requires:       munin-node
246 Suggests:       lvm2
247
248 %description storage
249 This Munin plugin allows monitoring of storage usage and provides
250 graphs with usage statistics for each mounted filesystem and each LVM
251 volume group.
252
253 %description storage -l pl.UTF-8
254 Ta wtyczka dla munina pozwala monitorować zajętość zasobów dyskowych i
255 tworzy wykresy dla każdego zamontowanego systemu plików oraz dla
256 każdej grupy wolumenów LVM.
257
258 %package nut
259 Summary:        Munin Plugin for monitoring UPS devices
260 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania UPSów
261 Group:          Daemons
262 Requires:       munin-node
263 Requires:       nut-client
264 Obsoletes:      munin-plugins-hq-ups
265
266 %description nut
267 This Munin plugin allows monitoring of UPS devices via NUT.
268
269 %description nut -l pl.UTF-8
270 Ta wtyczka dla munina pozwala monitorować urządzenia UPS poprzez NUTa.
271
272 %package uptime
273 Summary:        Munin Plugin for monitoring system uptime
274 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania uptime systemu
275 Group:          Daemons
276 Requires:       munin-node
277
278 %description uptime
279 This Munin plugin allows monitoring of system uptime.
280
281 %description uptime -l pl.UTF-8
282 Ta wtyczka dla munina pozwala monitorować uptime systemu.
283
284 %prep
285 %setup -q
286 %patch0 -p1
287
288 %install
289 rm -rf $RPM_BUILD_ROOT
290 install -d $RPM_BUILD_ROOT%{_datadir}/munin/plugins/
291
292 for i in plugins/hq_*; do
293         install -p $i $RPM_BUILD_ROOT%{_datadir}/munin/plugins/
294 done
295
296 %clean
297 rm -rf $RPM_BUILD_ROOT
298
299 %files
300 %defattr(644,root,root,755)
301
302 %files cpu
303 %defattr(755,root,root,755)
304 %{_datadir}/munin/plugins/hq_cpu
305
306 %files dell-omsa
307 %defattr(755,root,root,755)
308 %{_datadir}/munin/plugins/hq_dell_omsa
309
310 %files firebird
311 %defattr(755,root,root,755)
312 %{_datadir}/munin/plugins/hq_firebird
313
314 %files iostat
315 %defattr(755,root,root,755)
316 %{_datadir}/munin/plugins/hq_iostat
317
318 %files loadavg
319 %defattr(755,root,root,755)
320 %{_datadir}/munin/plugins/hq_loadavg
321
322 %files memory
323 %defattr(755,root,root,755)
324 %{_datadir}/munin/plugins/hq_memory
325
326 %files netif
327 %defattr(755,root,root,755)
328 %{_datadir}/munin/plugins/hq_netif
329
330 %files netstat
331 %defattr(755,root,root,755)
332 %{_datadir}/munin/plugins/hq_netstat
333
334 %files ps
335 %defattr(755,root,root,755)
336 %{_datadir}/munin/plugins/hq_ps_
337
338 %files rtt
339 %defattr(755,root,root,755)
340 %{_datadir}/munin/plugins/hq_rtt_
341
342 %files sensors
343 %defattr(755,root,root,755)
344 %{_datadir}/munin/plugins/hq_sensors
345
346 %files smart
347 %defattr(755,root,root,755)
348 %{_datadir}/munin/plugins/hq_smart
349
350 %files snmp-host
351 %defattr(755,root,root,755)
352 %{_datadir}/munin/plugins/hq_snmp_host_
353
354 %files storage
355 %defattr(755,root,root,755)
356 %{_datadir}/munin/plugins/hq_storage
357
358 %files nut
359 %defattr(755,root,root,755)
360 %{_datadir}/munin/plugins/hq_nut_
361
362 %files uptime
363 %defattr(755,root,root,755)
364 %{_datadir}/munin/plugins/hq_uptime