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