Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
nagios-plugins
> nagios-plugins.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins.spec of Package nagios-plugins (Revision 14)
Currently displaying revision
14
,
show latest
Name: nagios-plugins Version: 1.4.11 Release: 3 Summary: Host/service/network monitoring program plugins for Nagios Group: Applications/System License: GPL URL: http://nagiosplug.sourceforge.net/ Source0: http://dl.sf.net/sourceforge/nagiosplug/%{name}-%{version}.tar.gz Patch0: nagios-plugins-includes.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Prefix: %{_prefix}/lib/nagios/plugins Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net> Vendor: Nagios Plugin Development Group Provides: nagios-plugins %{!?custom:%global custom 0} Obsoletes: nagios-plugins-custom nagios-plugins-extras # Requires %if 0%{?sles_version} > 0 BuildRequires: mysql-client %endif %if 0%{?suse_version} == 1030 BuildRequires: freeradius-client freeradius-client-devel %endif %if 0%{?suse_version} BuildRequires: tcpd-devel libsmbclient libsmbclient-devel openldap2-devel perl-Net-SNMP fping %endif %if 0%{?fedora_version} || 0%{?centos_version} BuildRequires: tcp_wrappers openldap-devel freeradius samba-common openldap-devel net-snmp-perl %endif BuildRequires: openssl-devel postgresql-devel mysql-devel zlib-devel glibc-devel libgcc gcc gcc-c++ net-snmp net-snmp-devel openssh qstat iputils samba-client Requires: qstat iputils samba-client %description Nagios is a program that will monitor hosts and services on your network, and to email or page you when a problem arises or is resolved. Nagios runs on a unix server as a background or daemon process, intermittently running checks on various services that you specify. The actual service checks are performed by separate "plugin" programs which return the status of the checks to Nagios. This package contains those plugins. %prep %setup -q %patch %build ./configure \ --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} \ --libexecdir=%{_exec_prefix}/lib/nagios/plugins \ --sysconfdir=%{_sysconfdir}/nagios \ --datadir=%{_datadir} \ --with-cgiurl=/nagios/cgi-bin make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install install -d ${RPM_BUILD_ROOT}/etc/nagios install -m 664 command.cfg ${RPM_BUILD_ROOT}/etc/nagios %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %config(missingok,noreplace) /etc/nagios/command.cfg %doc CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS %doc ChangeLog command.cfg %defattr(775,root,root) %dir %{_exec_prefix}/lib/nagios/plugins %{_datadir}/locale/de/LC_MESSAGES/nagios-plugins.mo %{_datadir}/locale/fr/LC_MESSAGES/nagios-plugins.mo %{_exec_prefix}/lib/nagios/plugins %changelog * Thu Dec 20 2007 Carsten Schoene <cs@linux-administrator.com> - changes in version 1.4.11 include: - Fixed check_http regression in 1.4.10 where following redirects to - relative URLs on virtual hosts failed if both "-H" and "-I" were used - Merged two new checks that deprecates check_ntp: check_ntp_peer and check_ntp_time. - You should read the --help output so see which one is suitable for you. check_ntp_peer - implement stratum thresholds support (feature request #1703823). - check_ntp now returns UNKNOWN instead of WARNING if jitter is unavailable (jitter=-1.000000) - as long as the thresholds range include -1. If no offset threshold is specified and the offset is unavailable, will return UNKNOWN as well. - Fixed broken usage2 in check_snmp and check_cluster - check_cluster now accepts all valid characters in its thresholds ("-", "@", "~") - Fixed check_disk reporting OK if disk usage grows over 100% (bug #1348746). - Fixed check_load argument handling when not passing triplets (bug #1831890) - Fixed buffer overflow in check_snmp (CVE-2007-5623) - Tinderbox builds now runs tests in a verbose mode - Updated Nagios::Plugin to 0.22 - VPATH problem fixed for compiling plugins-root * Sat Sep 29 2007 Carsten Schoene <cs@linux-administrator.com> - changes in version 1.4.10 include: - Fix check_http buffer overflow vulnerability when following HTTP redirects - check_http now explicitly asks HTTP/1.1 servers to close the connection after completion of the response - check_ldaps' guessing which secure method to use (starttls vs. ssl on connect) is now deprecated. See --help for further information - check_disk now calls stat() on all filesystems to check. (Old: only the ones selected using -p) - A meaningful error message (eg "Stale NFS Handle") is printed if stat fails. - New check_disk option -L: Only check local filesystems, but call stat() on remote ones, too. - Thus accessibility of remote filesystems can be checked without any threshold comparison. - check_disk --help now prints some examples for the new features introduced in 1.4.8 - New check_disk -i/-I option to ignore pathes/partitions based on regular expressions - New check_disk -A option to select all filesystems explicitly - WARNING: check_disk's -E option must now be passed before -p or -r/-R arguments. Passing -E after -p or -r results in UNKNOWN state, now. This is needed due to the new ignore feature - Fix check_disk bug when mixing case sensitive and case insensitive regex arguments - New check_dhcp -u/--unicast option for emulating a DHCP relay in order to check DHCP servers on remote networks - New check_dhcp -m/--mac option which allows for specifying the MAC address to use in the DHCP request - The check_dhcp -r and -s options now accept host names, too - Fix possible check_icmp bus errors on some (non-x86/AMD64) platforms - Fix check_smtp's handling of multiple-packet server responses - WARNING: Fix for negate which may break existing commands: - stop evaluating command line options through shell twice - enforce a full path for the command to run - The "negate" utility can now remap custom states - check_radius now supports radiusclient-ng - The (undocumented) positional parameter parsing which check_radius used instead of getopt(3) if 8 arguments were given is no longer available - check_by_ssh now supports multiline output - IPv6 support can now be disabled using ./configure --without-ipv6 - Fix check_ntp now honor ntp flags * Fri Jun 15 2007 Carsten Schoene <cs@linux-administrator.com> - changes in version 1.4.9 include: - Inclusion of contrib/check_cluster2 as check_cluster with some improvements - New/improved -E/--skip-stderr and -S/--skip-stdout options for check_by_ssh - check_snmp now supports Counter64 - Fix compilation of check_ldap, check_radius and check_pgsql - check_load can optionally divide by number of cpus - Fix check_time returning wrong OK when time is before the epoch on some arch - Make check_http output more consistent - Fix possible check_http segfaults when following HTTP redirects - check_snmp don't warn anymore if something is printed on stderr - Fix check_tcp segfault when multiple expect strings are given - New option for check_tcp: -A/--all to test if all given expect strings match * Thu Nov 23 2006 Carsten Schoene <cs@linux-administrator.com> - ported this spec to SuSE 10.1 * Mon May 23 2005 Sean Finney <seanius@seanius.net> - cvs head - just include the nagios plugins directory, which will automatically include all generated plugins (which keeps the build from failing on systems that don't have all build-dependencies for every plugin) * Tue Mar 04 2004 Karl DeBisschop <karl[AT]debisschop.net> - 1.4.0alpha1 - extensive rewrite to facilitate processing into various distro-compatible specs * Tue Mar 04 2004 Karl DeBisschop <karl[AT]debisschop.net> - 1.4.0alpha1 - extensive rewrite to facilitate processing into various distro-compatible specs