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