]> TLD Linux GIT Repositories - packages/munin-plugins-hq.git/blob - munin-plugins-hq.spec
- updated to 20151117.01
[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:        20151117.01
6 Release:        1
7 License:        GPL
8 Group:          Daemons
9 Source0:        http://munin.furud.net/download/%{name}-%{version}.tar.xz
10 # Source0-md5:  a2278b8d96e001d441dfa497ab07e277
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}-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}-ps = %{version}-%{release}
24 Requires:       %{name}-rtt = %{version}-%{release}
25 Requires:       %{name}-smart = %{version}-%{release}
26 Requires:       %{name}-storage = %{version}-%{release}
27 Requires:       %{name}-ups = %{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 http://munin.furud.net/.
35
36 %description -l pl.UTF-8
37 Ten metapakiet zawiera wszystkie wtyczki HQ dla munina dostępne pod
38 adresem http://munin.furud.net/.
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 firebird
57 Summary:        Munin Plugin for monitoring Firebird databases
58 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania baz danych Firebird
59 Group:          Daemons
60 Requires:       munin-node
61
62 %description firebird
63 This Munin Plugin allows monitoring of transaction statistisc of
64 Firebird databases.
65
66 %description firebird -l pl.UTF-8
67 Ta wtyczka dla munina pozwala monitorować statystyki transakcji baz
68 danych Firebird.
69
70 %package iostat
71 Summary:        Munin Plugin for disk I/O monitoring
72 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania I/O dysków
73 Group:          Daemons
74 Requires:       munin-node
75 Requires:       sysstat
76
77 %description iostat
78 This Munin plugin allows monitoring of disk I/O and provides
79 read/write statistics for each device.
80
81 %description iostat -l pl.UTF-8
82 Ta wtyczka dla munina pozwala monitorować operacje wejścia/wyjścia dla
83 dysków i tworzy wykresy ze statystykami odczytu i zapisu danych.
84
85 %package loadavg
86 Summary:        Munin Plugin for system load average monitoring
87 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania obciążenia systemu
88 Group:          Daemons
89 Requires:       munin-node
90
91 %description loadavg
92 This Munin plugin allows monitoring of system load average.
93
94 %description loadavg -l pl.UTF-8
95 Ta wtyczka dla munina pozwala monitorować średnie obciążenie systemu.
96
97 %package memory
98 Summary:        Munin Plugin for monitoring memory usage
99 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania użycia pamięci
100 Group:          Daemons
101 Requires:       munin-node
102
103 %description memory
104 This Munin plugin allows monitoring of memory and swap usage.
105
106 %description memory -l pl.UTF-8
107 Ta wtyczka dla munina pozwala monitorować zużycie pamięci RAM i swap.
108
109 %package netif
110 Summary:        Munin Plugin for monitoring network usage
111 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania obciążenia sieci
112 Group:          Daemons
113 Requires:       munin-node
114
115 %description netif
116 This Munin plugin allows monitoring of network devices and provides
117 graphs with download/upload, packets and errors statistics for each
118 network interface.
119
120 %description netif -l pl.UTF-8
121 Ta wtyczka dla munina pozwala monitorować obciążenie sieci i tworzy
122 wykresy ze statystykami wysłanych/odebranych danych, pakietów oraz
123 błędów dla każdego interfejsu sieciowego.
124
125 %package netstat
126 Summary:        Munin Plugin for monitoring network statistics
127 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania statystyk sieciowych
128 Group:          Daemons
129 Requires:       munin-node
130 Requires:       net-tools
131
132 %description netstat
133 This Munin plugin allows monitoring of network stats and provides
134 graphs with number of active connections and ICMP, TCP, UDP
135 statistics.
136
137 %description netstat -l pl.UTF-8
138 Ta wtyczka dla munina pozwala monitorować statysyki sieci i tworzy
139 wykresy z ilością aktywnych połączeń oraz ze statystykami ICMP, TCP,
140 UDP.
141
142 %package ps
143 Summary:        Munin Plugin for monitoring number of processes
144 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania ilości procesów
145 Group:          Daemons
146 Requires:       munin-node
147
148 %description ps
149 This Munin plugin allows monitoring of number of processes with given
150 name.
151
152 %description ps -l pl.UTF-8
153 Ta wtyczka dla munina pozwala monitorować ilość procesów o zadanej
154 nazwie.
155
156 %package rtt
157 Summary:        Munin Plugin for monitoring RTT and packet loss
158 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania RTT i strat pakietów
159 Group:          Daemons
160 Requires:       iputils-ping
161 Requires:       munin-node
162
163 %description rtt
164 This Munin plugin allows monitoring of average round trip time (RTT)
165 and packet loss between two hosts.
166
167 %description rtt -l pl.UTF-8
168 Ta wtyczka dla munina pozwala monitorować średnie czasy opóźnień oraz
169 straty pakietów między dwoma hostami.
170
171 %package smart
172 Summary:        Munin Plugin for monitoring disk S.M.A.R.T.
173 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania S.M.A.R.T. dysków
174 Group:          Daemons
175 Requires:       munin-node
176 Requires:       smartmontools
177
178 %description smart
179 This Munin plugin allows monitoring of disk S.M.A.R.T. attributes and
180 provides graphs with critical S.M.A.R.T. data (reallocated sectors
181 etc.), disk temperature, power-on time and number of start/stop
182 cycles.
183
184 %description smart -l pl.UTF-8
185 Ta wtyczka dla munina pozwala monitorować atrybuty S.M.A.R.T. dysków i
186 tworzy wykresy z krtyczynymi danymi S.M.A.R.T. (realokowane sektory
187 itp.) oraz wykresy z temperaturą, czasem pracy i ilością cykli
188 startu/zatrzymania.
189
190 %package storage
191 Summary:        Munin Plugin for monitoring storage usage
192 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania zajętości zasobów dyskowych
193 Group:          Daemons
194 Requires:       munin-node
195 Suggests:       lvm2
196
197 %description storage
198 This Munin plugin allows monitoring of storage usage and provides
199 graphs with usage statistics for each mounted filesystem and each LVM
200 volume group.
201
202 %description storage -l pl.UTF-8
203 Ta wtyczka dla munina pozwala monitorować zajętość zasobów dyskowych i
204 tworzy wykresy dla każdego zamontowanego systemu plików oraz dla
205 każdej grupy wolumenów LVM.
206
207 %package ups
208 Summary:        Munin Plugin for monitoring UPS devices
209 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania UPSów
210 Group:          Daemons
211 Requires:       munin-node
212 Requires:       nut-client
213
214 %description ups
215 This Munin plugin allows monitoring of UPS devices via NUT.
216
217 %description ups -l pl.UTF-8
218 Ta wtyczka dla munina pozwala monitorować urządzenia UPS poprzez NUTa.
219
220 %package uptime
221 Summary:        Munin Plugin for monitoring system uptime
222 Summary(pl.UTF-8):      Wtyczka dla munina do monitorowania uptime systemu
223 Group:          Daemons
224 Requires:       munin-node
225
226 %description uptime
227 This Munin plugin allows monitoring of system uptime.
228
229 %description uptime -l pl.UTF-8
230 Ta wtyczka dla munina pozwala monitorować uptime systemu.
231
232 %prep
233 %setup -q
234
235 %install
236 rm -rf $RPM_BUILD_ROOT
237 install -d $RPM_BUILD_ROOT%{_datadir}/munin/plugins/
238
239 for i in plugins/hq_*; do
240         install -p $i $RPM_BUILD_ROOT%{_datadir}/munin/plugins/
241 done
242
243 %clean
244 rm -rf $RPM_BUILD_ROOT
245
246 %files
247 %defattr(644,root,root,755)
248
249 %files cpu
250 %defattr(755,root,root,755)
251 %{_datadir}/munin/plugins/hq_cpu
252
253 %files firebird
254 %defattr(755,root,root,755)
255 %{_datadir}/munin/plugins/hq_firebird
256
257 %files iostat
258 %defattr(755,root,root,755)
259 %{_datadir}/munin/plugins/hq_iostat
260
261 %files loadavg
262 %defattr(755,root,root,755)
263 %{_datadir}/munin/plugins/hq_loadavg
264
265 %files memory
266 %defattr(755,root,root,755)
267 %{_datadir}/munin/plugins/hq_memory
268
269 %files netif
270 %defattr(755,root,root,755)
271 %{_datadir}/munin/plugins/hq_netif
272
273 %files netstat
274 %defattr(755,root,root,755)
275 %{_datadir}/munin/plugins/hq_netstat
276
277 %files ps
278 %defattr(755,root,root,755)
279 %{_datadir}/munin/plugins/hq_ps_
280
281 %files rtt
282 %defattr(755,root,root,755)
283 %{_datadir}/munin/plugins/hq_rtt_
284
285 %files smart
286 %defattr(755,root,root,755)
287 %{_datadir}/munin/plugins/hq_smart
288
289 %files storage
290 %defattr(755,root,root,755)
291 %{_datadir}/munin/plugins/hq_storage
292
293 %files ups
294 %defattr(755,root,root,755)
295 %{_datadir}/munin/plugins/hq_ups
296
297 %files uptime
298 %defattr(755,root,root,755)
299 %{_datadir}/munin/plugins/hq_uptime