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