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