]>
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 |
e3c0e96a | 12 | Summary: Network Monitoring Plugins for Nagios and compatible |
c43d265d | 13 | Summary(pl.UTF-8): Wtyczki do monitorowania hostów/usług/sieci dla Nagiosa |
c0ced831 | 14 | Name: monitoring-plugins |
e3c0e96a ER |
15 | Version: 2.1.1 |
16 | Release: 1 | |
17 | License: GPL v3+ | |
061f9822 | 18 | Group: Networking |
c0ced831 | 19 | Source0: https://www.monitoring-plugins.org/download/%{name}-%{version}.tar.gz |
e3c0e96a | 20 | # Source0-md5: 8e564c03e3fc32f452956892b19abb4d |
9f007f1c | 21 | # https://git.pld-linux.org/projects/nagios-config |
c0ced831 | 22 | Source1: nagios-plugins-config-20150412.tar.xz |
e15e529d | 23 | # Source1-md5: 2f0f29735345c158d11c2009be3e1478 |
d2e2ad62 | 24 | Source2: nagios-utils.php |
c0ced831 ER |
25 | #Patch: nagios-plugins-shared.patch # needs finishing |
26 | Patch0: nagios-plugins-tainted.patch | |
27 | Patch4: nagios-plugins-noroot.patch | |
28 | Patch5: nagios-plugins-check_ping-socket-filter-warning.patch | |
29 | Patch7: nagios-plugins-pgsql.patch | |
30 | Patch9: nagios-plugins-check_log_paths.patch | |
31 | Patch13: nagios-plugins-check_radius_segfault.patch | |
32 | Patch21: nagios-plugins-check_hpjd-no-paper-out.patch | |
33 | Patch23: nagios-plugins-check_disk_smb-zero-cap.patch | |
34 | Patch24: nagios-plugins-paths.patch | |
35 | Patch27: nagios-plugins-ping.patch | |
a71518d2 | 36 | URL: http://www.nagiosplugins.org/ |
cb162c98 JB |
37 | BuildRequires: autoconf |
38 | BuildRequires: automake | |
9ebf5186 | 39 | BuildRequires: file |
e3c0e96a | 40 | BuildRequires: gettext-tools >= 0.15 |
e15e529d | 41 | BuildRequires: libdbi-devel |
5407d72c | 42 | BuildRequires: libtap-devel |
20b088a6 | 43 | BuildRequires: libtool |
061f9822 | 44 | BuildRequires: mysql-devel |
82093c2c | 45 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
c93868f5 | 46 | BuildRequires: openssl-devel >= 0.9.7d |
714deaca | 47 | BuildRequires: perl-Net-SNMP |
46905887 | 48 | BuildRequires: postgresql-devel |
e15e529d ER |
49 | BuildRequires: tar >= 1:1.22 |
50 | BuildRequires: xz | |
454ce3f0 ER |
51 | %if "%{pld_release}" == "ac" |
52 | BuildRequires: radiusclient-devel | |
53 | %else | |
ef5f1d2f | 54 | BuildRequires: radiusclient-ng-devel |
502567e8 | 55 | BuildConflicts: radiusclient-devel |
454ce3f0 | 56 | %endif |
64f904bc | 57 | BuildRequires: rpm >= 4.4.9-56 |
0c3e72f0 | 58 | BuildRequires: rpm-perlprov >= 4.1-13 |
12239ec8 | 59 | BuildRequires: rpmbuild(macros) >= 1.654 |
13e11bb8 | 60 | Requires: nagios-common |
061f9822 | 61 | Obsoletes: netsaint-plugins |
d2e2ad62 | 62 | Conflicts: nagios < 3.1.2-3 |
061f9822 TO |
63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
64 | ||
d2e2ad62 | 65 | %define _sysconfdir /etc/nagios/plugins |
11ba1eec ER |
66 | %define _pluginarchdir %{_libdir}/nagios/plugins |
67 | %define _pluginlibdir %{_prefix}/lib/nagios/plugins | |
e15e529d | 68 | %define nrpeddir /etc/nagios/nrpe.d |
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 | 229 | %package -n nagios-plugin-check_file_age |
84803f1f | 230 | Summary: Nagios plugin to check local file age and size |
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 |
e3c0e96a | 505 | %setup -q -n monitoring-plugins-%{version} -a1 |
d2e2ad62 | 506 | mv nagios-plugins-config-*/* . |
e94738d5 | 507 | %patch0 -p1 |
f3a9ec1e | 508 | %patch4 -p1 |
7bb31d2c | 509 | %patch5 -p1 |
e81e303b | 510 | %patch7 -p1 |
9854fb9a | 511 | %patch13 -p1 |
5a0f8fb3 | 512 | %patch21 -p1 |
0cf0f353 | 513 | %patch23 -p1 |
2cdf4431 | 514 | %patch24 -p1 |
705e1800 | 515 | %patch27 -p1 |
5a0f8fb3 ER |
516 | |
517 | # remove libtool m4 macro copies, breaks when system libtool is older | |
502567e8 | 518 | %{__rm} gl/m4/libtool.m4 gl/m4/lt*.m4 |
5a0f8fb3 ER |
519 | |
520 | # cleanup backups after patching | |
521 | find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
522 | ||
7816f2dc ER |
523 | # force regen in build |
524 | rm -f configure | |
525 | ||
061f9822 | 526 | %build |
7816f2dc ER |
527 | if [ ! -f configure ]; then |
528 | %{__gettextize} | |
529 | %{__libtoolize} | |
530 | %{__aclocal} -I m4 -I gl/m4 | |
531 | %{__autoconf} | |
532 | %{__autoheader} | |
533 | %{__automake} | |
534 | fi | |
714deaca | 535 | |
7b53302e | 536 | %configure \ |
11ba1eec | 537 | --libexecdir=%{_pluginarchdir} \ |
5407d72c | 538 | --enable-libtap=/usr \ |
714deaca | 539 | --with-cgiurl=/nagios/cgi-bin \ |
dced79cc ER |
540 | --with-mysql=/usr \ |
541 | --with-pgsql=/usr \ | |
542 | --with-openssl=/usr \ | |
e94738d5 ER |
543 | --with-ping-command='/bin/ping -n -U -w %%d -c %%d %%s' \ |
544 | --with-ping6-command='/bin/ping6 -n -U -w %%d -c %%d %%s' \ | |
545 | --with-ps-command="/bin/ps axwo 'stat uid ppid vsz rss pcpu comm args'" \ | |
546 | --with-ps-format="%%s %%d %%d %%d %%d %%f %%s %%n" \ | |
547 | --with-ps-cols=8 \ | |
548 | --with-ps-varlist="procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos" \ | |
549 | --with-proc-meminfo=/proc/meminfo \ | |
ed6320d7 | 550 | --with-proc-loadavg=/proc/loadavg \ |
aa31c58d | 551 | --with-nslookup-command="/usr/bin/nslookup -sil" \ |
e94738d5 ER |
552 | --with-uptime-command=/usr/bin/uptime \ |
553 | --with-rpcinfo-command=/usr/sbin/rpcinfo \ | |
554 | --with-ntpdate-command=/usr/sbin/ntpdate \ | |
555 | --with-smbclient-command=/usr/bin/smbclient \ | |
556 | --with-dig-command=/usr/bin/dig \ | |
557 | --with-fping-command=/usr/sbin/fping \ | |
502567e8 | 558 | --with-fping6-command=/usr/sbin/fping6 \ |
e94738d5 ER |
559 | --with-qstat-command=/usr/bin/qstat \ |
560 | --with-ssh-command=/usr/bin/ssh \ | |
561 | --with-snmpget-command=/usr/bin/snmpget \ | |
d2c45364 | 562 | --with-snmpgetnext-command=/usr/bin/snmpgetnext \ |
80544696 | 563 | --with-df-command='/bin/df -P' \ |
c9cb8fce ER |
564 | --with-apt-get-command=/usr/bin/apt-get \ |
565 | --with-qmail-qstat-command=/usr/bin/qmail-qstat \ | |
ccf8f501 JR |
566 | --with-mailq-command=/usr/bin/mailq \ |
567 | --without-included-regex | |
714deaca | 568 | |
061f9822 TO |
569 | %{__make} |
570 | ||
571 | %install | |
572 | rm -rf $RPM_BUILD_ROOT | |
573 | ||
cb162c98 JB |
574 | %{__make} install \ |
575 | DESTDIR=$RPM_BUILD_ROOT | |
061f9822 | 576 | |
ed6320d7 ER |
577 | %{__make} install-root -C plugins-root \ |
578 | DESTDIR=$RPM_BUILD_ROOT | |
579 | ||
502567e8 ER |
580 | %{__rm} $RPM_BUILD_ROOT%{_pluginarchdir}/check_nwstat |
581 | ||
d2297fee | 582 | # for nagios-plugin-check_mysql_perf (at least) |
e3c0e96a | 583 | cp -p lib/libmonitoringplug.a $RPM_BUILD_ROOT%{_libdir} |
502567e8 ER |
584 | cp -p gl/libgnu.a $RPM_BUILD_ROOT%{_libdir} |
585 | cp -p plugins/utils.o $RPM_BUILD_ROOT%{_libdir} | |
586 | cp -p plugins/netutils.o $RPM_BUILD_ROOT%{_libdir} | |
d2297fee | 587 | install -d $RPM_BUILD_ROOT%{_includedir}/nagiosplug/{plugins,gl,lib} |
502567e8 ER |
588 | cp -p *.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug |
589 | cp -p plugins/*.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug/plugins | |
590 | cp -p gl/*.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug/gl | |
591 | cp -p lib/*.h $RPM_BUILD_ROOT%{_includedir}/nagiosplug/lib | |
d2297fee | 592 | |
2e2d781d | 593 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
502567e8 | 594 | cp -p commands/*.cfg $RPM_BUILD_ROOT%{_sysconfdir} |
2e2d781d | 595 | |
c0ced831 | 596 | %find_lang %{name} |
e94738d5 | 597 | |
9ebf5186 | 598 | %if "%{_pluginarchdir}" != "%{_pluginlibdir}" |
502567e8 | 599 | # move arch independant files to _pluginlibdir |
9ebf5186 ER |
600 | install -d $RPM_BUILD_ROOT%{_pluginlibdir} |
601 | mv $(find $RPM_BUILD_ROOT%{_pluginarchdir} -type f | xargs file | awk -F: '!/ELF/{print $1}') $RPM_BUILD_ROOT%{_pluginlibdir} | |
09bfb08d | 602 | %{__sed} -i -e 's,use lib "%{_pluginarchdir}",use lib "%{_pluginlibdir}",' $RPM_BUILD_ROOT%{_pluginlibdir}/check_* |
9ebf5186 ER |
603 | %endif |
604 | ||
2e2d781d ER |
605 | plugins=$(grep -Eoh 'command_line.*USER1\$/[^ ]+' $RPM_BUILD_ROOT%{_sysconfdir}/*.cfg | awk -F/ '{print $NF}' | sort -u) |
606 | for plugin in $plugins; do | |
07fd8d4c | 607 | [ -x $RPM_BUILD_ROOT%{_pluginarchdir}/$plugin ] && libdir=%{_pluginarchdir} || libdir=%{_pluginlibdir} |
2796bd31 | 608 | sed -i -e "s,\\\$USER1\\\$/$plugin ,$libdir/$plugin ," $RPM_BUILD_ROOT%{_sysconfdir}/*.cfg |
07fd8d4c ER |
609 | done |
610 | ||
e15e529d ER |
611 | install -d $RPM_BUILD_ROOT%{nrpeddir} |
612 | touch $RPM_BUILD_ROOT%{nrpeddir}/check_mailq.cfg | |
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 | |
e15e529d ER |
626 | %triggerin -n nagios-plugin-check_mailq -- nagios-nrpe |
627 | %nagios_nrpe -a check_mailq -f %{_sysconfdir}/check_mailq.cfg | |
628 | ||
629 | %triggerun -n nagios-plugin-check_mailq -- nagios-nrpe | |
630 | %nagios_nrpe -d check_mailq -f %{_sysconfdir}/check_mailq.cfg | |
631 | ||
e94738d5 | 632 | %files -f %{name}.lang |
061f9822 | 633 | %defattr(644,root,root,755) |
502567e8 | 634 | %doc ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog |
e94738d5 | 635 | %doc FAQ LEGAL NEWS README REQUIREMENTS SUPPORT THANKS |
714deaca | 636 | |
714deaca | 637 | # plugins |
c9cb8fce ER |
638 | %attr(755,root,root) %{_pluginarchdir}/check_apt |
639 | %attr(755,root,root) %{_pluginarchdir}/check_cluster | |
73dfabb8 | 640 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_disk.cfg |
c9cb8fce | 641 | %attr(755,root,root) %{_pluginarchdir}/check_disk |
8cce130d | 642 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_dummy.cfg |
c9cb8fce | 643 | %attr(755,root,root) %{_pluginarchdir}/check_dummy |
73dfabb8 | 644 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_http.cfg |
c9cb8fce ER |
645 | %attr(755,root,root) %{_pluginarchdir}/check_http |
646 | %attr(755,root,root) %{_pluginarchdir}/check_ide_smart | |
647 | %attr(755,root,root) %{_pluginarchdir}/check_mrtg | |
73dfabb8 | 648 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_mrtgtraf.cfg |
c9cb8fce ER |
649 | %attr(755,root,root) %{_pluginarchdir}/check_mrtgtraf |
650 | %attr(755,root,root) %{_pluginarchdir}/check_nagios | |
e94738d5 | 651 | # req: over-cr >= 0.99.53 http://www.molitor.org/overcr |
c9cb8fce | 652 | %attr(755,root,root) %{_pluginarchdir}/check_overcr |
73dfabb8 | 653 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_procs.cfg |
c9cb8fce ER |
654 | %attr(755,root,root) %{_pluginarchdir}/check_procs |
655 | %attr(755,root,root) %{_pluginarchdir}/check_real | |
73dfabb8 | 656 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_smtp.cfg |
c9cb8fce | 657 | %attr(755,root,root) %{_pluginarchdir}/check_smtp |
73dfabb8 | 658 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ssh.cfg |
c9cb8fce ER |
659 | %attr(755,root,root) %{_pluginarchdir}/check_ssh |
660 | %attr(755,root,root) %{_pluginarchdir}/check_time | |
661 | %attr(755,root,root) %{_pluginarchdir}/check_ups | |
73dfabb8 | 662 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_users.cfg |
c9cb8fce | 663 | %attr(755,root,root) %{_pluginarchdir}/check_users |
73dfabb8 | 664 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_swap.cfg |
c9cb8fce ER |
665 | %attr(755,root,root) %{_pluginarchdir}/check_swap |
666 | %attr(755,root,root) %{_pluginlibdir}/check_log | |
11ba1eec ER |
667 | |
668 | # check_tcp and symlinks | |
73dfabb8 ER |
669 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_tcp.cfg |
670 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_telnet.cfg | |
c9cb8fce ER |
671 | %attr(755,root,root) %{_pluginarchdir}/check_tcp |
672 | %attr(755,root,root) %{_pluginarchdir}/check_clamd | |
73dfabb8 | 673 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ftp.cfg |
c9cb8fce | 674 | %attr(755,root,root) %{_pluginarchdir}/check_ftp |
73dfabb8 | 675 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_imap.cfg |
c9cb8fce ER |
676 | %attr(755,root,root) %{_pluginarchdir}/check_imap |
677 | %attr(755,root,root) %{_pluginarchdir}/check_jabber | |
73dfabb8 | 678 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_nntp.cfg |
c9cb8fce ER |
679 | %attr(755,root,root) %{_pluginarchdir}/check_nntp |
680 | %attr(755,root,root) %{_pluginarchdir}/check_nntps | |
73dfabb8 | 681 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_pop.cfg |
c9cb8fce ER |
682 | %attr(755,root,root) %{_pluginarchdir}/check_pop |
683 | %attr(755,root,root) %{_pluginarchdir}/check_simap | |
684 | %attr(755,root,root) %{_pluginarchdir}/check_spop | |
685 | %attr(755,root,root) %{_pluginarchdir}/check_ssmtp | |
73dfabb8 | 686 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_udp.cfg |
c9cb8fce | 687 | %attr(755,root,root) %{_pluginarchdir}/check_udp |
e3c0e96a | 688 | #%attr(755,root,root) %{_pluginarchdir}/check_uptime |
e94738d5 | 689 | |
ed6320d7 | 690 | # these plugins need suid bit to operate |
73dfabb8 | 691 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_dhcp.cfg |
c9cb8fce ER |
692 | %attr(755,root,root) %{_pluginarchdir}/check_dhcp |
693 | %attr(755,root,root) %{_pluginarchdir}/check_icmp | |
ed6320d7 | 694 | |
714deaca ER |
695 | # Cannot determine ORACLE_HOME for sid |
696 | # probably needs some external programs. can't test | |
c9cb8fce | 697 | %attr(755,root,root) %{_pluginlibdir}/check_oracle |
714deaca | 698 | |
d54d11c9 | 699 | %files libs |
59598b18 | 700 | %defattr(644,root,root,755) |
e3c0e96a | 701 | #%attr(755,root,root) %{_libdir}/libmonitoringplug.so.*.*.* |
59598b18 ER |
702 | %attr(755,root,root) %{_pluginarchdir}/negate |
703 | %attr(755,root,root) %{_pluginarchdir}/urlize | |
c9cb8fce | 704 | |
d54d11c9 ER |
705 | %{_pluginlibdir}/utils.pm |
706 | %{_pluginlibdir}/utils.php | |
707 | %{_pluginlibdir}/utils.sh | |
708 | ||
d2297fee ER |
709 | %files devel |
710 | %defattr(644,root,root,755) | |
711 | %{_libdir}/libgnu.a | |
e3c0e96a | 712 | %{_libdir}/libmonitoringplug.a |
d2297fee ER |
713 | %{_libdir}/netutils.o |
714 | %{_libdir}/utils.o | |
715 | %{_includedir}/nagiosplug | |
716 | ||
9a8009f7 ER |
717 | %files mysql |
718 | %defattr(644,root,root,755) | |
719 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_mysql.cfg | |
720 | %attr(755,root,root) %{_pluginarchdir}/check_mysql | |
721 | %attr(755,root,root) %{_pluginarchdir}/check_mysql_query | |
722 | ||
3294b1a1 | 723 | %files perl |
c9cb8fce | 724 | %defattr(644,root,root,755) |
73dfabb8 | 725 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ircd.cfg |
c9cb8fce | 726 | %attr(755,root,root) %{_pluginlibdir}/check_ircd |
c9cb8fce | 727 | %attr(755,root,root) %{_pluginlibdir}/check_rpc |
3294b1a1 ER |
728 | |
729 | # requires license.dat | |
c9cb8fce | 730 | %attr(755,root,root) %{_pluginlibdir}/check_flexlm |
3294b1a1 | 731 | |
9a8009f7 ER |
732 | %files samba |
733 | %defattr(644,root,root,755) | |
734 | %attr(755,root,root) %{_pluginlibdir}/check_disk_smb | |
735 | ||
714deaca ER |
736 | # Not to be confused with nagios-snmp-plugins |
737 | %files snmp | |
c9cb8fce | 738 | %defattr(644,root,root,755) |
73dfabb8 | 739 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_snmp.cfg |
c9cb8fce | 740 | %attr(755,root,root) %{_pluginarchdir}/check_snmp |
73dfabb8 | 741 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_hpjd.cfg |
c9cb8fce ER |
742 | %attr(755,root,root) %{_pluginarchdir}/check_hpjd |
743 | %attr(755,root,root) %{_pluginlibdir}/check_ifoperstatus | |
744 | %attr(755,root,root) %{_pluginlibdir}/check_ifstatus | |
745 | %attr(755,root,root) %{_pluginlibdir}/check_wave | |
746 | %attr(755,root,root) %{_pluginlibdir}/check_breeze | |
dcd5579b | 747 | |
8cf851b8 | 748 | %files ssh |
c9cb8fce | 749 | %defattr(644,root,root,755) |
8cf851b8 | 750 | %attr(755,root,root) %{_pluginarchdir}/check_by_ssh |
714deaca | 751 | |
8cf851b8 | 752 | %files -n nagios-plugin-check_dig |
c9cb8fce | 753 | %defattr(644,root,root,755) |
8cf851b8 ER |
754 | %attr(755,root,root) %{_pluginarchdir}/check_dig |
755 | ||
756 | %files -n nagios-plugin-check_dns | |
757 | %defattr(644,root,root,755) | |
758 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_dns.cfg | |
759 | %attr(755,root,root) %{_pluginarchdir}/check_dns | |
760 | ||
789d656e | 761 | %files -n nagios-plugin-check_file_age |
eb95d7b9 | 762 | %defattr(644,root,root,755) |
789d656e ER |
763 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_file_age.cfg |
764 | %attr(755,root,root) %{_pluginlibdir}/check_file_age | |
765 | ||
8cf851b8 ER |
766 | %files -n nagios-plugin-check_fping |
767 | %defattr(644,root,root,755) | |
768 | %attr(2755,root,adm) %{_pluginarchdir}/check_fping | |
714deaca | 769 | |
79cbab38 | 770 | %files -n nagios-plugin-check_game |
c9cb8fce ER |
771 | %defattr(644,root,root,755) |
772 | %attr(755,root,root) %{_pluginarchdir}/check_game | |
66e15cdf | 773 | |
82093c2c | 774 | %if %{with ldap} |
79cbab38 | 775 | %files -n nagios-plugin-check_ldap |
c9cb8fce ER |
776 | %defattr(644,root,root,755) |
777 | %attr(755,root,root) %{_pluginarchdir}/check_ldap | |
778 | %attr(755,root,root) %{_pluginarchdir}/check_ldaps | |
82093c2c | 779 | %endif |
66e15cdf | 780 | |
8cf851b8 | 781 | %files -n nagios-plugin-check_load |
c9cb8fce | 782 | %defattr(644,root,root,755) |
8cf851b8 ER |
783 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_load.cfg |
784 | %attr(755,root,root) %{_pluginarchdir}/check_load | |
b4f719a1 | 785 | |
8cf851b8 | 786 | %files -n nagios-plugin-check_mailq |
c9cb8fce | 787 | %defattr(644,root,root,755) |
e15e529d | 788 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_mailq.cfg |
8cf851b8 | 789 | %attr(755,root,root) %{_pluginlibdir}/check_mailq |
e15e529d | 790 | %ghost %{nrpeddir}/check_mailq.cfg |
b4f719a1 | 791 | |
8cf851b8 | 792 | %files -n nagios-plugin-check_nt |
c9cb8fce | 793 | %defattr(644,root,root,755) |
8cf851b8 ER |
794 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_nt.cfg |
795 | %attr(755,root,root) %{_pluginarchdir}/check_nt | |
b4f719a1 | 796 | |
8cf851b8 | 797 | %files -n nagios-plugin-check_ntp |
c9cb8fce | 798 | %defattr(644,root,root,755) |
8cf851b8 ER |
799 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ntp.cfg |
800 | %attr(755,root,root) %{_pluginarchdir}/check_ntp | |
801 | %attr(755,root,root) %{_pluginarchdir}/check_ntp_peer | |
802 | %attr(755,root,root) %{_pluginarchdir}/check_ntp_time | |
b4f719a1 | 803 | |
8cf851b8 | 804 | %files -n nagios-plugin-check_pgsql |
c9cb8fce | 805 | %defattr(644,root,root,755) |
8cf851b8 | 806 | %attr(755,root,root) %{_pluginarchdir}/check_pgsql |
b4f719a1 | 807 | |
79cbab38 | 808 | %files -n nagios-plugin-check_ping |
c9cb8fce | 809 | %defattr(644,root,root,755) |
73dfabb8 | 810 | %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/check_ping.cfg |
11ba1eec | 811 | %attr(2755,root,adm) %{_pluginarchdir}/check_ping |
79cbab38 | 812 | |
8cf851b8 | 813 | %files -n nagios-plugin-check_radius |
c9cb8fce | 814 | %defattr(644,root,root,755) |
8cf851b8 | 815 | %attr(755,root,root) %{_pluginarchdir}/check_radius |
b4f719a1 | 816 | |
8cf851b8 | 817 | %files -n nagios-plugin-check_sensors |
c9cb8fce | 818 | %defattr(644,root,root,755) |
8cf851b8 | 819 | %attr(755,root,root) %{_pluginlibdir}/check_sensors |
fefae924 | 820 | |
502567e8 | 821 | %files -n nagios-plugin-check_dbi |
fefae924 | 822 | %defattr(644,root,root,755) |
502567e8 | 823 | %attr(755,root,root) %{_pluginarchdir}/check_dbi |