]>
Commit | Line | Data |
---|---|---|
714deaca | 1 | # TODO: |
fefae924 | 2 | # - package requisites for unifished packages -nwstat |
66e15cdf | 3 | # REQUIREMENTS explains the dependencies. |
502567e8 ER |
4 | # - handle --without-dbi (new package) |
5 | # - add --without-radius bcond | |
6 | # - check_ide_smart deps | |
82093c2c JK |
7 | |
8 | # Conditional build: | |
9 | %bcond_without ldap # build without ldap | |
10 | ||
0c3e72f0 | 11 | %include /usr/lib/rpm/macros.perl |
714deaca | 12 | Summary: Host/service/network monitoring program plugins for Nagios |
c43d265d | 13 | Summary(pl.UTF-8): Wtyczki do monitorowania hostów/usług/sieci dla Nagiosa |
061f9822 | 14 | Name: nagios-plugins |
40ba2206 | 15 | Version: 2.0.1 |
2e47806a | 16 | Release: 2 |
0cf0f353 | 17 | License: GPL v3 |
061f9822 | 18 | Group: Networking |
502567e8 | 19 | Source0: http://www.nagios-plugins.org/download/%{name}-%{version}.tar.gz |
40ba2206 | 20 | # Source0-md5: 70daeb6d2d9ea7d41827488b80782a60 |
e678f555 | 21 | # http://git.pld-linux.org/cgi-bin/cgit.cgi/projects/nagios-config.git/ |
65a61a5b ER |
22 | Source1: %{name}-config-20140307.tar.bz2 |
23 | # Source1-md5: de5c205501cb89c183193d4088d48222 | |
d2e2ad62 | 24 | Source2: nagios-utils.php |
2cdf4431 | 25 | #Patch: %{name}-shared.patch # needs finishing |
ed6320d7 | 26 | Patch0: %{name}-tainted.patch |
ed6320d7 ER |
27 | Patch3: %{name}-subst.patch |
28 | Patch4: %{name}-noroot.patch | |
e88a9fb6 | 29 | Patch5: %{name}-check_ping-socket-filter-warning.patch |
e81e303b | 30 | Patch7: %{name}-pgsql.patch |
9854fb9a | 31 | Patch9: %{name}-check_log_paths.patch |
9854fb9a | 32 | Patch13: %{name}-check_radius_segfault.patch |
1d732725 | 33 | Patch20: %{name}-cosmetic.patch |
ccf8f501 | 34 | Patch21: %{name}-check_hpjd-no-paper-out.patch |
ccf8f501 JR |
35 | Patch23: %{name}-check_disk_smb-zero-cap.patch |
36 | Patch24: %{name}-paths.patch | |
705e1800 | 37 | Patch27: %{name}-ping.patch |
40ba2206 | 38 | Patch28: mawk-workaround.patch |
a71518d2 | 39 | URL: http://www.nagiosplugins.org/ |
cb162c98 JB |
40 | BuildRequires: autoconf |
41 | BuildRequires: automake | |
9ebf5186 | 42 | BuildRequires: file |
1e6b07a0 | 43 | BuildRequires: libdbi-devel |
d4ce1ea4 | 44 | BuildRequires: gettext-tools >= 0.14.3 |
5407d72c | 45 | BuildRequires: libtap-devel |
20b088a6 | 46 | BuildRequires: libtool |
061f9822 | 47 | BuildRequires: mysql-devel |
82093c2c | 48 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
c93868f5 | 49 | BuildRequires: openssl-devel >= 0.9.7d |
714deaca | 50 | BuildRequires: perl-Net-SNMP |
46905887 | 51 | BuildRequires: postgresql-devel |
454ce3f0 ER |
52 | %if "%{pld_release}" == "ac" |
53 | BuildRequires: radiusclient-devel | |
54 | %else | |
ef5f1d2f | 55 | BuildRequires: radiusclient-ng-devel |
502567e8 | 56 | BuildConflicts: radiusclient-devel |
454ce3f0 | 57 | %endif |
64f904bc | 58 | BuildRequires: rpm >= 4.4.9-56 |
0c3e72f0 | 59 | BuildRequires: rpm-perlprov >= 4.1-13 |
12239ec8 | 60 | BuildRequires: rpmbuild(macros) >= 1.654 |
13e11bb8 | 61 | Requires: nagios-common |
061f9822 | 62 | Obsoletes: netsaint-plugins |
d2e2ad62 | 63 | Conflicts: nagios < 3.1.2-3 |
061f9822 TO |
64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
65 | ||
d2e2ad62 | 66 | %define _sysconfdir /etc/nagios/plugins |
11ba1eec ER |
67 | %define _pluginarchdir %{_libdir}/nagios/plugins |
68 | %define _pluginlibdir %{_prefix}/lib/nagios/plugins | |
e35ce6fe | 69 | %define _noautoprovfiles utils.pm |
12239ec8 | 70 | %define _noautoreq_perl DBD::Oracle RRD::File packet_utils snmputil utils |
e94738d5 | 71 | |
061f9822 | 72 | %description |
7b53302e JB |
73 | Nagios is a program that will monitor hosts and services on your |
74 | network, and to email or page you when a problem arises or is | |
75 | resolved. Nagios runs on a Unix server as a background or daemon | |
76 | process, intermittently running checks on various services that you | |
77 | specify. The actual service checks are performed by separate "plugin" | |
78 | programs which return the status of the checks to Nagios. | |
714deaca | 79 | |
7b53302e JB |
80 | This package contains the basic plugins necessary for use with the |
81 | nagios package. | |
061f9822 | 82 | |
d5ac5ccb JR |
83 | %description -l pl.UTF-8 |
84 | Nagios to program monitorujący hosty i usługi w sieci i powiadamiający | |
85 | pocztą elektroniczną lub na pager o wystąpieniu lub rozwiązaniu | |
86 | problemów. Nagios działa na serwerze uniksowym w tle lub jako demon, | |
87 | regularnie przeprowadzając kontrolę różnych podanych mu usług. Sama | |
88 | kontrola usług jest wykonywana poprzez oddzielne "wtyczki" - programy | |
89 | zwracajace stan danej usługi do Nagiosa. | |
7b53302e | 90 | |
d5ac5ccb | 91 | Ten pakiet zawiera podstawowe wtyczki do używania z pakietem nagios. |
061f9822 | 92 | |
d54d11c9 ER |
93 | %package libs |
94 | Summary: Nagios plugins base libraries | |
ea463d6e | 95 | Summary(pl.UTF-8): Podstawowe biblioteki wtyczek Nagiosa |
d54d11c9 ER |
96 | Group: Networking |
97 | ||
98 | %description libs | |
ea463d6e JB |
99 | This package contains nagios plugins base libraries that plugins |
100 | depend on. | |
101 | ||
102 | %description libs -l pl.UTF-8 | |
103 | Ten pakiet zawiera podstawowe biblioteki wtyczek Nagiosa, wymagane | |
104 | przez wtyczki. | |
32bbd330 | 105 | |
d2297fee ER |
106 | %package devel |
107 | Summary: Include files that Nagios plugins may compile against | |
108 | Group: Development/Libraries | |
109 | # doesn't require base | |
110 | ||
111 | %description devel | |
112 | This package provides include files that Nagios plugins may compile | |
113 | against. | |
114 | ||
d54d11c9 | 115 | # NOTE for sub package requires: |
13e11bb8 | 116 | # Requires: nagios-common for plugins directory and nagios group |
d54d11c9 | 117 | # and add Requires: %{name}-libs = %{version}-%{release} for utils.{sh,pm,php} |
9a8009f7 ER |
118 | ############################################################################## |
119 | ||
120 | %package mysql | |
121 | Summary: Nagios plugin to test a MySQL DBMS | |
122 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania systemu baz danych MySQL | |
123 | Group: Networking | |
124 | Requires: nagios-common | |
125 | ||
126 | %description mysql | |
127 | This plugin tests a MySQL DBMS to determine whether it is active and | |
128 | accepting queries. | |
129 | ||
130 | %description mysql -l pl.UTF-8 | |
131 | Ta wtyczka sprawdza serwer baz danych MySQL, aby określić, czy jest | |
132 | aktywny i przyjmuje zapytania. | |
133 | ||
134 | %package perl | |
135 | Summary: Nagios plugins written in Perl | |
136 | Summary(pl.UTF-8): Wtyczki Nagiosa napisane w Perlu | |
714deaca | 137 | Group: Networking |
69f7e828 | 138 | Requires: nagios-common |
e94738d5 | 139 | # for utils.pm |
d54d11c9 | 140 | Requires: %{name}-libs = %{version}-%{release} |
714deaca | 141 | |
9a8009f7 ER |
142 | %description perl |
143 | This package contains Nagios plugins written in Perl. | |
714deaca | 144 | |
9a8009f7 ER |
145 | %description perl -l pl.UTF-8 |
146 | Ten pakiet zawiera wtyczki Nagiosa napisane w Perlu. | |
7b53302e | 147 | |
714deaca | 148 | %package samba |
7b53302e | 149 | Summary: Nagios plugin to check remote disk using smbclient |
c43d265d | 150 | Summary(pl.UTF-8): Wtyczka Nagiosa do zdalnego sprawdzania dysku z użyciem smbclienta |
714deaca | 151 | Group: Networking |
69f7e828 | 152 | Requires: nagios-common |
e94738d5 | 153 | # for utils.pm |
d54d11c9 | 154 | Requires: %{name}-libs = %{version}-%{release} |
714deaca ER |
155 | Requires: samba-client |
156 | ||
157 | %description samba | |
158 | Perl Check SMB Disk plugin for Nagios. | |
159 | ||
d5ac5ccb JR |
160 | %description samba -l pl.UTF-8 |
161 | Perlowa wtyczka dla Nagiosa sprawdzająca dyski SMB. | |
7b53302e | 162 | |
9a8009f7 ER |
163 | %package snmp |
164 | Summary: Nagios plugins using SNMP protocol to query information | |
165 | Summary(pl.UTF-8): Wtyczki Nagiosa używające protokołu SNMP w celu uzyskania informacji | |
714deaca | 166 | Group: Networking |
69f7e828 | 167 | Requires: nagios-common |
9a8009f7 | 168 | # for utils.pm |
d54d11c9 | 169 | Requires: %{name}-libs = %{version}-%{release} |
9a8009f7 ER |
170 | Requires: net-snmp-utils |
171 | Requires: perl-Net-SNMP | |
714deaca | 172 | |
9a8009f7 ER |
173 | %description snmp |
174 | Nagios plugins using SNMP protocol to query information. | |
714deaca | 175 | |
9a8009f7 ER |
176 | %description snmp -l pl.UTF-8 |
177 | Wtyczki Nagiosa używające protokołu SNMP w celu uzyskania informacji. | |
7b53302e | 178 | |
9a8009f7 ER |
179 | %package ssh |
180 | Summary: Nagios plugins to check remote services via SSH | |
181 | Summary(pl.UTF-8): Wtyczki Nagiosa do sprawdzania zdalnych usług po SSH | |
07fd8d4c | 182 | Group: Networking |
69f7e828 | 183 | Requires: nagios-common |
9a8009f7 | 184 | Requires: openssh-clients |
07fd8d4c | 185 | |
9a8009f7 ER |
186 | %description ssh |
187 | This plugin uses SSH to execute commands on a remote host. | |
07fd8d4c | 188 | |
9a8009f7 ER |
189 | %description ssh -l pl.UTF-8 |
190 | Ta wtyczka używa SSH do wykonywania poleceń na zdalnym hoście. | |
191 | ||
192 | %package -n nagios-plugin-check_dig | |
193 | Summary: Nagios plugin to check DNS servers with dig | |
194 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania DNS-u przy użyciu programu dig | |
714deaca | 195 | Group: Networking |
9a8009f7 | 196 | Requires: bind-utils |
13e11bb8 | 197 | Requires: nagios-common |
9a8009f7 ER |
198 | Provides: nagios-plugins-dig = %{version}-%{release} |
199 | Obsoletes: nagios-plugins-dig | |
714deaca | 200 | |
9a8009f7 ER |
201 | %description -n nagios-plugin-check_dig |
202 | Test the DNS service on the specified host using dig. | |
7b53302e | 203 | |
9a8009f7 ER |
204 | %description -n nagios-plugin-check_dig -l pl.UTF-8 |
205 | Ta wtyczka sprawdza usługę DNS na podanym hoście przy użyciu programu | |
206 | dig. | |
714deaca | 207 | |
9a8009f7 ER |
208 | %package -n nagios-plugin-check_dns |
209 | Summary: Nagios plugin to check DNS with nslookup | |
210 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania DNS-u przy użyciu nslookup | |
714deaca | 211 | Group: Networking |
9a8009f7 | 212 | Requires: bind-utils |
13e11bb8 | 213 | Requires: nagios-common |
9a8009f7 ER |
214 | Provides: nagios-plugins-dns = %{version}-%{release} |
215 | Obsoletes: nagios-plugins-dns | |
714deaca | 216 | |
9a8009f7 ER |
217 | %description -n nagios-plugin-check_dns |
218 | This plugin uses the nslookup program to obtain the IP address for the | |
219 | given host/domain query. A optional DNS server to use may be | |
220 | specified. If no DNS server is specified, the default server(s) | |
221 | specified in /etc/resolv.conf will be used. | |
7b53302e | 222 | |
9a8009f7 ER |
223 | %description -n nagios-plugin-check_dns -l pl.UTF-8 |
224 | Ta wtyczka używa programu nslookup do uzyskania adresu IP danego dla | |
225 | danego zapytania o host/domenę. Można opcjonalnie podać serwer DNS, | |
226 | który ma być użyty. Jeśli nie podano serwera DNS, używany jest | |
227 | domyślny serwer (lub serwery) podany w /etc/resolv.conf. | |
714deaca | 228 | |
9a8009f7 ER |
229 | %package -n nagios-plugin-check_file_age |
230 | Summary: Nagios plugin to check host up state with fping | |
714deaca | 231 | Group: Networking |
13e11bb8 | 232 | Requires: nagios-common |
3efccfd0 ER |
233 | # for utils.pm |
234 | Requires: %{name}-libs = %{version}-%{release} | |
714deaca | 235 | |
9a8009f7 ER |
236 | %description -n nagios-plugin-check_file_age |
237 | Nagios plugin to check local file age and size. | |
714deaca | 238 | |
9a8009f7 ER |
239 | %package -n nagios-plugin-check_fping |
240 | Summary: Nagios plugin to check host up state with fping | |
241 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania działania hosta przy użyciu programu fping | |
242 | Group: Networking | |
243 | Requires: fping | |
244 | Requires: nagios-common | |
245 | Provides: nagios-plugins-fping = %{version}-%{release} | |
246 | Obsoletes: nagios-plugins-fping | |
247 | ||
248 | %description -n nagios-plugin-check_fping | |
249 | This plugin will use the /bin/fping command to ping the specified host | |
250 | for a fast check if the host is alive. | |
251 | ||
252 | %description -n nagios-plugin-check_fping -l pl.UTF-8 | |
253 | Ta wtyczka używa polecenia /bin/fping do szybkiego sprawdzenia, czy | |
254 | dany host działa. | |
7b53302e | 255 | |
79cbab38 | 256 | %package -n nagios-plugin-check_game |
7b53302e | 257 | Summary: Nagios plugin to check status of Internet game servers |
c43d265d | 258 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania stanu serwerów gier internetowych |
714deaca | 259 | Group: Networking |
13e11bb8 | 260 | Requires: nagios-common |
714deaca | 261 | Requires: qstat |
cedf62c8 ER |
262 | Provides: nagios-plugins-qstat = %{version}-%{release} |
263 | Obsoletes: nagios-plugins-qstat | |
714deaca | 264 | |
79cbab38 | 265 | %description -n nagios-plugin-check_game |
7b53302e JB |
266 | This plugin uses the 'qstat' command, the popular game server status |
267 | query tool. | |
714deaca | 268 | |
7b53302e JB |
269 | QStat is a command-line program that displays information about |
270 | Internet game servers. | |
714deaca | 271 | |
7b53302e JB |
272 | The servers are either down, non-responsive, or running a game. For |
273 | servers running a game, the server name, map name, current number of | |
274 | players, and response time are displayed. Server rules and player | |
275 | information may also be displayed. | |
276 | ||
d5ac5ccb JR |
277 | %description -n nagios-plugin-check_game -l pl.UTF-8 |
278 | Ta wtyczka używa polecenia 'qstat' - popularnego narzędzia do zapytań | |
279 | o stan serwerów gier. | |
7b53302e | 280 | |
d5ac5ccb | 281 | QStat to program działający z linii poleceń wyświetlający informacje o |
7b53302e JB |
282 | serwerach gier internetowych. |
283 | ||
d5ac5ccb JR |
284 | Serwery mogą być wyłączone, nie odpowiadać, bądź mieć uruchomioną grę. |
285 | Dla serwerów z grami wyświetlanea są: nazwa serwera, nazwa mapy, | |
286 | aktualna liczba graczy i czas odpowiedzi. Mogą być dodatkowo | |
287 | wyświetlone reguły serwera i informacje o graczach. | |
714deaca | 288 | |
79cbab38 | 289 | %package -n nagios-plugin-check_ldap |
7b53302e | 290 | Summary: Nagios plugin to check LDAP servers |
c43d265d | 291 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania serwerów LDAP |
66e15cdf | 292 | Group: Networking |
13e11bb8 | 293 | Requires: nagios-common |
454ce3f0 | 294 | Suggests: openldap |
cedf62c8 ER |
295 | Provides: nagios-plugins-ldap = %{version}-%{release} |
296 | Obsoletes: nagios-plugins-ldap | |
66e15cdf | 297 | |
79cbab38 | 298 | %description -n nagios-plugin-check_ldap |
66e15cdf ER |
299 | Nagios plugin to check LDAP servers. |
300 | ||
d5ac5ccb JR |
301 | %description -n nagios-plugin-check_ldap -l pl.UTF-8 |
302 | Wtyczka Nagiosa do sprawdzania serwerów LDAP. | |
7b53302e | 303 | |
9a8009f7 ER |
304 | %package -n nagios-plugin-check_load |
305 | Summary: Nagios plugin to check uptime using procps | |
306 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania uptime'u przy użyciu procps | |
307 | Group: Networking | |
308 | Requires: nagios-common | |
309 | Requires: procps | |
310 | Provides: nagios-plugins-procps = %{version}-%{release} | |
311 | Obsoletes: nagios-plugins-procps | |
312 | ||
313 | %description -n nagios-plugin-check_load | |
314 | Nagios plugin to check uptime using procps. | |
315 | ||
316 | %description -n nagios-plugin-check_load -l pl.UTF-8 | |
317 | Wtyczka Nagiosa do sprawdzania uptime'u przy użyciu procps. | |
318 | ||
319 | %package -n nagios-plugin-check_mailq | |
320 | Summary: Nagios plugin to check the number of messages in the local mail queue | |
321 | Group: Networking | |
322 | Requires: nagios-common | |
323 | # for utils.pm | |
324 | Requires: %{name}-libs = %{version}-%{release} | |
325 | ||
326 | %description -n nagios-plugin-check_mailq | |
327 | Checks the number of messages in the mail queue (supports multiple | |
328 | sendmail queues, qmail). | |
329 | ||
330 | %package -n nagios-plugin-check_nt | |
331 | Summary: Nagios plugin to check NT server with NSClient | |
1a8542ec | 332 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania serwera NT przy użyciu NSClienta |
9a8009f7 ER |
333 | Group: Networking |
334 | Requires: %{name}-libs = %{version}-%{release} | |
335 | Requires: nagios-common | |
336 | ||
337 | %description -n nagios-plugin-check_nt | |
338 | Nagios plugin to check NT server with NSClient. | |
339 | ||
340 | %description -n nagios-plugin-check_nt -l pl.UTF-8 | |
341 | Wtyczka Nagiosa do sprawdzania serwera NT przy użyciu NSClienta. | |
342 | ||
79cbab38 | 343 | %package -n nagios-plugin-check_ntp |
b4f719a1 | 344 | Summary: Nagios plugin to check time using NTP protocol |
c43d265d | 345 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania czasu przy użyciu protokołu NTP |
b4f719a1 | 346 | Group: Networking |
69f7e828 | 347 | Requires: nagios-common |
5b0b82a7 | 348 | # for utils.pm |
d54d11c9 | 349 | Requires: %{name}-libs = %{version}-%{release} |
b4f719a1 | 350 | Requires: ntp-client |
cedf62c8 ER |
351 | Provides: nagios-plugins-ntp = %{version}-%{release} |
352 | Obsoletes: nagios-plugins-ntp | |
b4f719a1 | 353 | |
79cbab38 | 354 | %description -n nagios-plugin-check_ntp |
b4f719a1 ER |
355 | Checks the local timestamp offset versus <host> with ntpdate. Checks |
356 | the jitter/dispersion of clock signal between <host> and its sys.peer | |
357 | with ntpq. | |
358 | ||
d5ac5ccb JR |
359 | %description -n nagios-plugin-check_ntp -l pl.UTF-8 |
360 | Ta wtyczka sprawdza przesunięcie lokalnego czasu względem danego hosta | |
361 | przy użyciu ntpdate. Sprawdza wahania/dyspersję sygnału zegara | |
362 | pomiędzy hostem a jego sys.peer przy użyciu ntpq. | |
46905887 | 363 | |
9a8009f7 ER |
364 | %package -n nagios-plugin-check_pgsql |
365 | Summary: Nagios plugin to test a PostgreSQL DBMS | |
366 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania systemu baz danych PostgreSQL | |
b4f719a1 | 367 | Group: Networking |
13e11bb8 | 368 | Requires: nagios-common |
9a8009f7 ER |
369 | Provides: nagios-plugins-pgsql = %{version}-%{release} |
370 | Obsoletes: nagios-plugins-pgsql | |
b4f719a1 | 371 | |
9a8009f7 ER |
372 | %description -n nagios-plugin-check_pgsql |
373 | This plugin tests a PostgreSQL DBMS to determine whether it is active | |
374 | and accepting queries. In its current operation, it simply connects to | |
375 | the specified database, and then disconnects. If no database is | |
376 | specified, it connects to the template1 database, which is present in | |
377 | every functioning PostgreSQL DBMS. | |
b4f719a1 | 378 | |
9a8009f7 ER |
379 | %description -n nagios-plugin-check_pgsql -l pl.UTF-8 |
380 | Ta wtyczka sprawdza serwer baz danych PostgreSQL, aby określić, czy | |
381 | jest aktywny i przyjmuje zapytania. Aktualnie po prostu łączy się do | |
382 | określonej bazy danych i rozłącza. Jeśli nie podano bazy danych, łączy | |
383 | się do bazy danych template1, obecnej w każdym działającym systemie | |
384 | PostgreSQL. | |
46905887 | 385 | |
9dcd711c | 386 | %package -n nagios-plugin-check_ping |
79cbab38 | 387 | Summary: Nagios plugin to check host up state with ping |
c43d265d | 388 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania działania hosta przy użyciu programu ping |
79cbab38 | 389 | Group: Networking |
c8d0dd75 | 390 | Requires: iputils-ping >= 1:s20070202-1 |
13e11bb8 | 391 | Requires: nagios-common |
79cbab38 | 392 | |
9dcd711c | 393 | %description -n nagios-plugin-check_ping |
cedf62c8 ER |
394 | This plugin will use the /bin/ping command to ping the specified host |
395 | if the host is alive. | |
79cbab38 | 396 | |
d5ac5ccb JR |
397 | %description -n nagios-plugin-check_ping -l pl.UTF-8 |
398 | Ta wtyczka używa polecenia /bin/ping do sprawdzenia, czy dany host | |
399 | działa. | |
38dca1fa | 400 | |
9a8009f7 ER |
401 | %package -n nagios-plugin-check_radius |
402 | Summary: Nagios plugin to test a radius server to see if it is accepting connections | |
403 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania serwera radius pod kątem przyjmowania połączeń | |
3294b1a1 | 404 | Group: Networking |
69f7e828 | 405 | Requires: nagios-common |
9a8009f7 ER |
406 | Requires: radiusclient |
407 | Provides: nagios-plugins-radius = %{version}-%{release} | |
408 | Obsoletes: nagios-plugins-radius | |
3294b1a1 | 409 | |
9a8009f7 ER |
410 | %description -n nagios-plugin-check_radius |
411 | This plugin tests a radius server to see if it is accepting | |
412 | connections. | |
3294b1a1 | 413 | |
9a8009f7 ER |
414 | %description -n nagios-plugin-check_radius -l pl.UTF-8 |
415 | Ta wtyczka sprawdza serwer usługi radius, aby zobaczyć, czy przyjmuje | |
416 | połączenia. | |
63158106 | 417 | |
9a8009f7 ER |
418 | %package -n nagios-plugin-check_sensors |
419 | Summary: Nagios plugin to check hardware status using the lm_sensors package | |
420 | Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania stanu sprzętu przy użyciu pakietu lm_sensors | |
1d732725 | 421 | Group: Networking |
69f7e828 | 422 | Requires: nagios-common |
9a8009f7 ER |
423 | # for utils.sh |
424 | Requires: %{name}-libs = %{version}-%{release} | |
425 | Requires: lm_sensors | |
426 | Provides: nagios-plugins-sensors = %{version}-%{release} | |
427 | Obsoletes: nagios-plugins-sensors | |
1d732725 | 428 | |
9a8009f7 ER |
429 | %description -n nagios-plugin-check_sensors |
430 | This plugin checks hardware status using the lm_sensors package. | |
1d732725 | 431 | |
9a8009f7 ER |
432 | %description -n nagios-plugin-check_sensors -l pl.UTF-8 |
433 | Ta wtyczka sprawdza stan sprzętu przy użyciu pakietu lm_sensors. | |
66e15cdf | 434 | |
502567e8 ER |
435 | %package -n nagios-plugin-check_dbi |
436 | Summary: Nagios plugin to check database with libdbi | |
437 | Group: Networking | |
438 | Requires: nagios-common | |
439 | Suggests: libdbi-drivers-firebird | |
440 | Suggests: libdbi-drivers-freetds | |
441 | Suggests: libdbi-drivers-mysql | |
442 | Suggests: libdbi-drivers-pgsql | |
443 | Suggests: libdbi-drivers-sqlite | |
444 | Suggests: libdbi-drivers-sqlite3 | |
445 | ||
446 | %description -n nagios-plugin-check_dbi | |
447 | Nagios plugin to check database with libdbi. | |
448 | ||
66e15cdf | 449 | # requisite not packaged in PLD |
1d732725 ER |
450 | %package nwstat |
451 | Summary: Nagios plugin nwstat | |
1a8542ec | 452 | Summary(pl.UTF-8): Wtyczka nwstat do Nagiosa |
1d732725 ER |
453 | Group: Networking |
454 | Requires: %{name}-libs = %{version}-%{release} | |
455 | Requires: mrtgext | |
69f7e828 | 456 | Requires: nagios-common |
1d732725 ER |
457 | |
458 | %description nwstat | |
459 | Nagios plugin using MRTGEXT module | |
460 | <http://forge.novell.com/modules/xfmod/project/?mrtgext>. | |
461 | ||
d41f1a4e | 462 | %description nwstat -l pl.UTF-8 |
1d732725 ER |
463 | Wtyczka nagiosa używająca modułu MRTGEXT |
464 | <http://forge.novell.com/modules/xfmod/project/?mrtgext>. | |
66e15cdf | 465 | |
e94738d5 ER |
466 | %package contrib |
467 | Summary: Contributed nagios plugins | |
c43d265d | 468 | Summary(pl.UTF-8): Wtyczki przekazane do projektu Nagios |
e94738d5 | 469 | Group: Networking |
69f7e828 | 470 | Requires: nagios-common |
1d732725 | 471 | # for utils.pm, utils.sh, utils.py |
d54d11c9 | 472 | Requires: %{name}-libs = %{version}-%{release} |
e94738d5 | 473 | # check_apache |
b180a3d4 ER |
474 | Suggests: perl-URI |
475 | Suggests: perl-libwww | |
1d732725 | 476 | # check_apc_ups |
b180a3d4 | 477 | Suggests: net-snmp-utils |
1d732725 | 478 | # check_arping |
b180a3d4 | 479 | Suggests: perl-Net-Arping |
1d732725 | 480 | # check_bgpstate |
b180a3d4 ER |
481 | Suggests: perl-Net-SNMP |
482 | Suggests: whois | |
1d732725 | 483 | # check_traceroute |
b180a3d4 | 484 | Suggests: traceroute |
1d732725 | 485 | # check_traceroute-pure_perl |
b180a3d4 | 486 | Suggests: perl-Net-Traceroute |
e94738d5 | 487 | # check_temp_fsc |
b180a3d4 | 488 | Suggests: perl-SNMP_Session |
1d732725 | 489 | # check_smart |
b180a3d4 | 490 | Suggests: smartmontools |
1d732725 | 491 | # check_smb |
b180a3d4 | 492 | Suggests: samba |
1d732725 | 493 | # check_adptraid |
b180a3d4 | 494 | #Suggests: dptutil |
81d5d307 | 495 | # unfinished... more deps are actually needed. |
e94738d5 ER |
496 | |
497 | %description contrib | |
81d5d307 ER |
498 | Contributed nagios plugins. Some of them work, some do not. Use at |
499 | your own risk. | |
e94738d5 | 500 | |
d5ac5ccb JR |
501 | %description contrib -l pl.UTF-8 |
502 | Wtyczki przekazane do projektu Nagios. Część z nich działa, część nie. | |
46905887 | 503 | |
061f9822 | 504 | %prep |
d2e2ad62 ER |
505 | %setup -q -a1 |
506 | mv nagios-plugins-config-*/* . | |
e94738d5 | 507 | %patch0 -p1 |
e94738d5 | 508 | %patch3 -p1 |
f3a9ec1e | 509 | %patch4 -p1 |
7bb31d2c | 510 | %patch5 -p1 |
e81e303b | 511 | %patch7 -p1 |
9854fb9a | 512 | %patch13 -p1 |
1d732725 | 513 | %patch20 -p1 |
5a0f8fb3 | 514 | %patch21 -p1 |
0cf0f353 | 515 | %patch23 -p1 |
2cdf4431 | 516 | %patch24 -p1 |
705e1800 | 517 | %patch27 -p1 |
40ba2206 | 518 | %patch28 -p1 |
5a0f8fb3 ER |
519 | |
520 | # remove libtool m4 macro copies, breaks when system libtool is older | |
502567e8 | 521 | %{__rm} gl/m4/libtool.m4 gl/m4/lt*.m4 |
5a0f8fb3 ER |
522 | |
523 | # cleanup backups after patching | |
524 | find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
525 | ||
7816f2dc ER |
526 | # force regen in build |
527 | rm -f configure | |
528 | ||
061f9822 | 529 | %build |
7816f2dc ER |
530 | if [ ! -f configure ]; then |
531 | %{__gettextize} | |
532 | %{__libtoolize} | |
533 | %{__aclocal} -I m4 -I gl/m4 | |
534 | %{__autoconf} | |
535 | %{__autoheader} | |
536 | %{__automake} | |
537 | fi | |
714deaca | 538 | |
7b53302e | 539 | %configure \ |
11ba1eec | 540 | --libexecdir=%{_pluginarchdir} \ |
5407d72c | 541 | --enable-libtap=/usr \ |
714deaca | 542 | --with-cgiurl=/nagios/cgi-bin \ |
dced79cc ER |
543 | --with-mysql=/usr \ |
544 | --with-pgsql=/usr \ | |
545 | --with-openssl=/usr \ | |
e94738d5 ER |
546 | --with-ping-command='/bin/ping -n -U -w %%d -c %%d %%s' \ |
547 | --with-ping6-command='/bin/ping6 -n -U -w %%d -c %%d %%s' \ | |
548 | --with-ps-command="/bin/ps axwo 'stat uid ppid vsz rss pcpu comm args'" \ | |
549 | --with-ps-format="%%s %%d %%d %%d %%d %%f %%s %%n" \ | |
550 | --with-ps-cols=8 \ | |
551 | --with-ps-varlist="procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos" \ | |
552 | --with-proc-meminfo=/proc/meminfo \ | |
ed6320d7 | 553 | --with-proc-loadavg=/proc/loadavg \ |
aa31c58d | 554 | --with-nslookup-command="/usr/bin/nslookup -sil" \ |
e94738d5 ER |
555 | --with-uptime-command=/usr/bin/uptime \ |
556 | --with-rpcinfo-command=/usr/sbin/rpcinfo \ | |
557 | --with-ntpdate-command=/usr/sbin/ntpdate \ | |
558 | --with-smbclient-command=/usr/bin/smbclient \ | |
559 | --with-dig-command=/usr/bin/dig \ | |
560 | --with-fping-command=/usr/sbin/fping \ | |
502567e8 | 561 | --with-fping6-command=/usr/sbin/fping6 \ |
e94738d5 ER |
562 | --with-qstat-command=/usr/bin/qstat \ |
563 | --with-ssh-command=/usr/bin/ssh \ | |
564 | --with-snmpget-command=/usr/bin/snmpget \ | |
d2c45364 | 565 | --with-snmpgetnext-command=/usr/bin/snmpgetnext \ |
80544696 | 566 | --with-df-command='/bin/df -P' \ |
c9cb8fce ER |
567 | --with-apt-get-command=/usr/bin/apt-get \ |
568 | --with-qmail-qstat-command=/usr/bin/qmail-qstat \ | |
ccf8f501 JR |
569 | --with-mailq-command=/usr/bin/mailq \ |
570 | --without-included-regex | |
714deaca | 571 | |
061f9822 TO |
572 | %{__make} |
573 | ||
574 | %install | |
575 | rm -rf $RPM_BUILD_ROOT | |
576 | ||
cb162c98 JB |
577 | %{__make} install \ |
578 | DESTDIR=$RPM_BUILD_ROOT | |
061f9822 | 579 | |
ed6320d7 ER |
580 | %{__make} install-root -C plugins-root \ |
581 | DESTDIR=$RPM_BUILD_ROOT | |
582 | ||
502567e8 ER |
583 | %{__rm} $RPM_BUILD_ROOT%{_pluginarchdir}/check_nwstat |
584 | ||
d2297fee | 585 | # for nagios-plugin-check_mysql_perf (at least) |
502567e8 ER |
586 | cp -p lib/libnagiosplug.a $RPM_BUILD_ROOT%{_libdir} |
587 | cp -p gl/libgnu.a $RPM_BUILD_ROOT%{_libdir} | |
588 | cp -p plugins/utils.o $RPM_BUILD_ROOT%{_libdir} | |
589 | cp -p plugins/netutils.o $RPM_BUILD_ROOT%{_libdir} | |
d2297fee | 590 | install -d $RPM_BUILD_ROOT%{_includedir}/nagiosplug/{plugins,gl,lib} |
502567e8 ER |
591 | cp -p *.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug |
592 | cp -p plugins/*.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug/plugins | |
593 | cp -p gl/*.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug/gl | |
594 | cp -p lib/*.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug/lib | |
d2297fee | 595 | |
2e2d781d | 596 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
502567e8 | 597 | cp -p commands/*.cfg $RPM_BUILD_ROOT%{_sysconfdir} |
2e2d781d | 598 | |
e94738d5 ER |
599 | %find_lang %{name} |
600 | ||
9ebf5186 | 601 | %if "%{_pluginarchdir}" != "%{_pluginlibdir}" |
502567e8 | 602 | # move arch independant files to _pluginlibdir |
9ebf5186 ER |
603 | install -d $RPM_BUILD_ROOT%{_pluginlibdir} |
604 | mv $(find $RPM_BUILD_ROOT%{_pluginarchdir} -type f | xargs file | awk -F: '!/ELF/{print $1}') $RPM_BUILD_ROOT%{_pluginlibdir} | |
09bfb08d | 605 | %{__sed} -i -e 's,use lib "%{_pluginarchdir}",use lib "%{_pluginlibdir}",' $RPM_BUILD_ROOT%{_pluginlibdir}/check_* |
9ebf5186 ER |
606 | %endif |
607 | ||
2e2d781d ER |
608 | plugins=$(grep -Eoh 'command_line.*USER1\$/[^ ]+' $RPM_BUILD_ROOT%{_sysconfdir}/*.cfg | awk -F/ '{print $NF}' | sort -u) |
609 | for plugin in $plugins; do | |
07fd8d4c | 610 | [ -x $RPM_BUILD_ROOT%{_pluginarchdir}/$plugin ] && libdir=%{_pluginarchdir} || libdir=%{_pluginlibdir} |
2796bd31 | 611 | sed -i -e "s,\\\$USER1\\\$/$plugin ,$libdir/$plugin ," $RPM_BUILD_ROOT%{_sysconfdir}/*.cfg |
07fd8d4c ER |
612 | done |
613 | ||
502567e8 | 614 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pluginlibdir}/utils.php |
1d732725 | 615 | chmod a-x $RPM_BUILD_ROOT%{_pluginlibdir}/utils.* |
d54d11c9 | 616 | |
061f9822 TO |
617 | %clean |
618 | rm -rf $RPM_BUILD_ROOT | |
619 | ||
fb931459 ER |
620 | %if 0 |
621 | # this is for shared lib | |
b8b3652a ER |
622 | %post libs -p /sbin/ldconfig |
623 | %postun libs -p /sbin/ldconfig | |
fb931459 | 624 | %endif |
b8b3652a | 625 | |
e94738d5 | 626 | %files -f %{name}.lang |
061f9822 | 627 | %defattr(644,root,root,755) |
502567e8 | 628 | %doc ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog |
e94738d5 | 629 | %doc FAQ LEGAL NEWS README REQUIREMENTS SUPPORT THANKS |
714deaca | 630 | |
714deaca | 631 | # plugins |
c9cb8fce ER |
632 | %attr(755,root,root) %{_pluginarchdir}/check_apt |
633 | %attr(755,root,root) %{_pluginarchdir}/check_cluster | |
73dfabb8 | 634 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_disk.cfg |
c9cb8fce | 635 | %attr(755,root,root) %{_pluginarchdir}/check_disk |
8cce130d | 636 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_dummy.cfg |
c9cb8fce | 637 | %attr(755,root,root) %{_pluginarchdir}/check_dummy |
73dfabb8 | 638 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_http.cfg |
c9cb8fce ER |
639 | %attr(755,root,root) %{_pluginarchdir}/check_http |
640 | %attr(755,root,root) %{_pluginarchdir}/check_ide_smart | |
641 | %attr(755,root,root) %{_pluginarchdir}/check_mrtg | |
73dfabb8 | 642 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_mrtgtraf.cfg |
c9cb8fce ER |
643 | %attr(755,root,root) %{_pluginarchdir}/check_mrtgtraf |
644 | %attr(755,root,root) %{_pluginarchdir}/check_nagios | |
e94738d5 | 645 | # req: over-cr >= 0.99.53 http://www.molitor.org/overcr |
c9cb8fce | 646 | %attr(755,root,root) %{_pluginarchdir}/check_overcr |
73dfabb8 | 647 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_procs.cfg |
c9cb8fce ER |
648 | %attr(755,root,root) %{_pluginarchdir}/check_procs |
649 | %attr(755,root,root) %{_pluginarchdir}/check_real | |
73dfabb8 | 650 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_smtp.cfg |
c9cb8fce | 651 | %attr(755,root,root) %{_pluginarchdir}/check_smtp |
73dfabb8 | 652 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ssh.cfg |
c9cb8fce ER |
653 | %attr(755,root,root) %{_pluginarchdir}/check_ssh |
654 | %attr(755,root,root) %{_pluginarchdir}/check_time | |
655 | %attr(755,root,root) %{_pluginarchdir}/check_ups | |
73dfabb8 | 656 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_users.cfg |
c9cb8fce | 657 | %attr(755,root,root) %{_pluginarchdir}/check_users |
73dfabb8 | 658 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_swap.cfg |
c9cb8fce ER |
659 | %attr(755,root,root) %{_pluginarchdir}/check_swap |
660 | %attr(755,root,root) %{_pluginlibdir}/check_log | |
11ba1eec ER |
661 | |
662 | # check_tcp and symlinks | |
73dfabb8 ER |
663 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_tcp.cfg |
664 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_telnet.cfg | |
c9cb8fce ER |
665 | %attr(755,root,root) %{_pluginarchdir}/check_tcp |
666 | %attr(755,root,root) %{_pluginarchdir}/check_clamd | |
73dfabb8 | 667 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ftp.cfg |
c9cb8fce | 668 | %attr(755,root,root) %{_pluginarchdir}/check_ftp |
73dfabb8 | 669 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_imap.cfg |
c9cb8fce ER |
670 | %attr(755,root,root) %{_pluginarchdir}/check_imap |
671 | %attr(755,root,root) %{_pluginarchdir}/check_jabber | |
73dfabb8 | 672 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_nntp.cfg |
c9cb8fce ER |
673 | %attr(755,root,root) %{_pluginarchdir}/check_nntp |
674 | %attr(755,root,root) %{_pluginarchdir}/check_nntps | |
73dfabb8 | 675 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_pop.cfg |
c9cb8fce ER |
676 | %attr(755,root,root) %{_pluginarchdir}/check_pop |
677 | %attr(755,root,root) %{_pluginarchdir}/check_simap | |
678 | %attr(755,root,root) %{_pluginarchdir}/check_spop | |
679 | %attr(755,root,root) %{_pluginarchdir}/check_ssmtp | |
73dfabb8 | 680 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_udp.cfg |
c9cb8fce | 681 | %attr(755,root,root) %{_pluginarchdir}/check_udp |
9cc2238c | 682 | %attr(755,root,root) %{_pluginarchdir}/check_uptime |
e94738d5 | 683 | |
ed6320d7 | 684 | # these plugins need suid bit to operate |
73dfabb8 | 685 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_dhcp.cfg |
c9cb8fce ER |
686 | %attr(755,root,root) %{_pluginarchdir}/check_dhcp |
687 | %attr(755,root,root) %{_pluginarchdir}/check_icmp | |
ed6320d7 | 688 | |
714deaca ER |
689 | # Cannot determine ORACLE_HOME for sid |
690 | # probably needs some external programs. can't test | |
c9cb8fce | 691 | %attr(755,root,root) %{_pluginlibdir}/check_oracle |
714deaca | 692 | |
d54d11c9 | 693 | %files libs |
59598b18 | 694 | %defattr(644,root,root,755) |
9854fb9a | 695 | #%attr(755,root,root) %{_libdir}/libnagiosplug.so.0.0.0 |
59598b18 ER |
696 | %attr(755,root,root) %{_pluginarchdir}/negate |
697 | %attr(755,root,root) %{_pluginarchdir}/urlize | |
c9cb8fce | 698 | |
d54d11c9 ER |
699 | %{_pluginlibdir}/utils.pm |
700 | %{_pluginlibdir}/utils.php | |
701 | %{_pluginlibdir}/utils.sh | |
702 | ||
d2297fee ER |
703 | %files devel |
704 | %defattr(644,root,root,755) | |
705 | %{_libdir}/libgnu.a | |
706 | %{_libdir}/libnagiosplug.a | |
707 | %{_libdir}/netutils.o | |
708 | %{_libdir}/utils.o | |
709 | %{_includedir}/nagiosplug | |
710 | ||
9a8009f7 ER |
711 | %files mysql |
712 | %defattr(644,root,root,755) | |
713 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_mysql.cfg | |
714 | %attr(755,root,root) %{_pluginarchdir}/check_mysql | |
715 | %attr(755,root,root) %{_pluginarchdir}/check_mysql_query | |
716 | ||
3294b1a1 | 717 | %files perl |
c9cb8fce | 718 | %defattr(644,root,root,755) |
73dfabb8 | 719 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ircd.cfg |
c9cb8fce | 720 | %attr(755,root,root) %{_pluginlibdir}/check_ircd |
c9cb8fce | 721 | %attr(755,root,root) %{_pluginlibdir}/check_rpc |
3294b1a1 ER |
722 | |
723 | # requires license.dat | |
c9cb8fce | 724 | %attr(755,root,root) %{_pluginlibdir}/check_flexlm |
3294b1a1 | 725 | |
9a8009f7 ER |
726 | %files samba |
727 | %defattr(644,root,root,755) | |
728 | %attr(755,root,root) %{_pluginlibdir}/check_disk_smb | |
729 | ||
714deaca ER |
730 | # Not to be confused with nagios-snmp-plugins |
731 | %files snmp | |
c9cb8fce | 732 | %defattr(644,root,root,755) |
73dfabb8 | 733 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_snmp.cfg |
c9cb8fce | 734 | %attr(755,root,root) %{_pluginarchdir}/check_snmp |
73dfabb8 | 735 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_hpjd.cfg |
c9cb8fce ER |
736 | %attr(755,root,root) %{_pluginarchdir}/check_hpjd |
737 | %attr(755,root,root) %{_pluginlibdir}/check_ifoperstatus | |
738 | %attr(755,root,root) %{_pluginlibdir}/check_ifstatus | |
739 | %attr(755,root,root) %{_pluginlibdir}/check_wave | |
740 | %attr(755,root,root) %{_pluginlibdir}/check_breeze | |
dcd5579b | 741 | |
8cf851b8 | 742 | %files ssh |
c9cb8fce | 743 | %defattr(644,root,root,755) |
8cf851b8 | 744 | %attr(755,root,root) %{_pluginarchdir}/check_by_ssh |
714deaca | 745 | |
8cf851b8 | 746 | %files -n nagios-plugin-check_dig |
c9cb8fce | 747 | %defattr(644,root,root,755) |
8cf851b8 ER |
748 | %attr(755,root,root) %{_pluginarchdir}/check_dig |
749 | ||
750 | %files -n nagios-plugin-check_dns | |
751 | %defattr(644,root,root,755) | |
752 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_dns.cfg | |
753 | %attr(755,root,root) %{_pluginarchdir}/check_dns | |
754 | ||
789d656e | 755 | %files -n nagios-plugin-check_file_age |
eb95d7b9 | 756 | %defattr(644,root,root,755) |
789d656e ER |
757 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_file_age.cfg |
758 | %attr(755,root,root) %{_pluginlibdir}/check_file_age | |
759 | ||
8cf851b8 ER |
760 | %files -n nagios-plugin-check_fping |
761 | %defattr(644,root,root,755) | |
762 | %attr(2755,root,adm) %{_pluginarchdir}/check_fping | |
714deaca | 763 | |
79cbab38 | 764 | %files -n nagios-plugin-check_game |
c9cb8fce ER |
765 | %defattr(644,root,root,755) |
766 | %attr(755,root,root) %{_pluginarchdir}/check_game | |
66e15cdf | 767 | |
82093c2c | 768 | %if %{with ldap} |
79cbab38 | 769 | %files -n nagios-plugin-check_ldap |
c9cb8fce ER |
770 | %defattr(644,root,root,755) |
771 | %attr(755,root,root) %{_pluginarchdir}/check_ldap | |
772 | %attr(755,root,root) %{_pluginarchdir}/check_ldaps | |
82093c2c | 773 | %endif |
66e15cdf | 774 | |
8cf851b8 | 775 | %files -n nagios-plugin-check_load |
c9cb8fce | 776 | %defattr(644,root,root,755) |
8cf851b8 ER |
777 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_load.cfg |
778 | %attr(755,root,root) %{_pluginarchdir}/check_load | |
b4f719a1 | 779 | |
8cf851b8 | 780 | %files -n nagios-plugin-check_mailq |
c9cb8fce | 781 | %defattr(644,root,root,755) |
8cf851b8 | 782 | %attr(755,root,root) %{_pluginlibdir}/check_mailq |
b4f719a1 | 783 | |
8cf851b8 | 784 | %files -n nagios-plugin-check_nt |
c9cb8fce | 785 | %defattr(644,root,root,755) |
8cf851b8 ER |
786 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_nt.cfg |
787 | %attr(755,root,root) %{_pluginarchdir}/check_nt | |
b4f719a1 | 788 | |
8cf851b8 | 789 | %files -n nagios-plugin-check_ntp |
c9cb8fce | 790 | %defattr(644,root,root,755) |
8cf851b8 ER |
791 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ntp.cfg |
792 | %attr(755,root,root) %{_pluginarchdir}/check_ntp | |
793 | %attr(755,root,root) %{_pluginarchdir}/check_ntp_peer | |
794 | %attr(755,root,root) %{_pluginarchdir}/check_ntp_time | |
b4f719a1 | 795 | |
8cf851b8 | 796 | %files -n nagios-plugin-check_pgsql |
c9cb8fce | 797 | %defattr(644,root,root,755) |
8cf851b8 | 798 | %attr(755,root,root) %{_pluginarchdir}/check_pgsql |
b4f719a1 | 799 | |
79cbab38 | 800 | %files -n nagios-plugin-check_ping |
c9cb8fce | 801 | %defattr(644,root,root,755) |
73dfabb8 | 802 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ping.cfg |
11ba1eec | 803 | %attr(2755,root,adm) %{_pluginarchdir}/check_ping |
79cbab38 | 804 | |
8cf851b8 | 805 | %files -n nagios-plugin-check_radius |
c9cb8fce | 806 | %defattr(644,root,root,755) |
8cf851b8 | 807 | %attr(755,root,root) %{_pluginarchdir}/check_radius |
b4f719a1 | 808 | |
8cf851b8 | 809 | %files -n nagios-plugin-check_sensors |
c9cb8fce | 810 | %defattr(644,root,root,755) |
8cf851b8 | 811 | %attr(755,root,root) %{_pluginlibdir}/check_sensors |
fefae924 | 812 | |
502567e8 | 813 | %files -n nagios-plugin-check_dbi |
fefae924 | 814 | %defattr(644,root,root,755) |
502567e8 | 815 | %attr(755,root,root) %{_pluginarchdir}/check_dbi |