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