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