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