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