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