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