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