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