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