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