2024-01-06 07:31:08 +01:00
|
|
|
Name: nagios-plugins
|
2024-08-21 20:30:58 +02:00
|
|
|
Version: 2.4.12
|
2024-01-06 07:31:11 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 07:31:08 +01:00
|
|
|
Summary: Host/service/network monitoring program plugins for Nagios
|
|
|
|
Group: Network/Monitoring
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:31:09 +01:00
|
|
|
URL: https://nagios-plugins.org/
|
2024-04-11 19:09:59 +02:00
|
|
|
Source0: https://github.com/nagios-plugins/nagios-plugins.git/release-%{version}/nagios-plugins-%{version}.tar.bz2
|
2024-01-06 07:31:08 +01:00
|
|
|
Patch0: %{name}-1.4.16-undef_gets.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 07:31:09 +01:00
|
|
|
BuildRequires: libdbi-devel
|
|
|
|
BuildRequires: libmariadb-devel
|
|
|
|
BuildRequires: libnsl-devel
|
2024-01-06 07:31:08 +01:00
|
|
|
BuildRequires: libopenldap-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 07:31:09 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 07:31:08 +01:00
|
|
|
BuildRequires: libpostgresql-devel
|
2024-01-06 07:31:09 +01:00
|
|
|
BuildRequires: libradiusclient-ng-devel
|
2024-01-06 07:31:11 +01:00
|
|
|
BuildRequires: libxcrypt-devel
|
2024-01-06 07:31:09 +01:00
|
|
|
BuildRequires: perl-Crypt-X509
|
2024-01-06 07:31:08 +01:00
|
|
|
BuildRequires: perl-Net-SNMP
|
2024-01-06 07:31:09 +01:00
|
|
|
BuildRequires: perl-Text-Glob
|
|
|
|
BuildRequires: perl-TimeDate
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-libwww
|
2024-01-06 07:31:08 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libnetsnmp-devel
|
|
|
|
BuildRequires: libradiusclient-ng-devel
|
|
|
|
BuildRequires: net-snmp-utils
|
|
|
|
Requires: fping
|
|
|
|
Requires: perl-Net-SNMP
|
|
|
|
|
|
|
|
%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 the basic plugins necessary for use with the Nagios package.
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-04-11 19:09:59 +02:00
|
|
|
./autogen.sh
|
2024-01-06 07:31:08 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2024-01-06 07:31:11 +01:00
|
|
|
PATH_TO_FPING=%{_bindir}/fping \
|
2024-01-06 07:31:08 +01:00
|
|
|
--libdir=%{_libdir}/nagios/plugins \
|
|
|
|
--libexecdir=%{_libdir}/nagios/plugins \
|
2024-01-06 07:31:11 +01:00
|
|
|
--with-trusted-path="/usr/bin:/bin:/sbin:/usr/sbin" \
|
2024-01-06 07:31:08 +01:00
|
|
|
--with-cgiurl=/nagios/cgi-bin \
|
|
|
|
--disable-rpath \
|
|
|
|
--with-ps-command="`which ps` -eo 's uid pid ppid vsz rss pcpu etime comm args'" \
|
|
|
|
--with-ps-format='%s %d %d %d %d %d %f %s %s %n' \
|
|
|
|
--with-ps-cols=10 \
|
|
|
|
--enable-extra-opts \
|
|
|
|
--with-ps-varlist='procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos'
|
|
|
|
# --with-ping-command="/bin/ping -n %%s -c %%d" \
|
|
|
|
# --with-ping6-command="/usr/bin/ping6 -n -U -c %%d %%s" \
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:31:08 +01:00
|
|
|
%makeinstall
|
2024-01-06 07:31:08 +01:00
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
# remove unpackaged plugins
|
2024-01-06 07:31:08 +01:00
|
|
|
rm -f %{buildroot}/%{_libdir}/nagios/plugins/check_uptime
|
2024-01-06 07:31:08 +01:00
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm
|
2024-01-06 07:31:08 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:31:08 +01:00
|
|
|
%dir %{_libdir}/nagios/plugins
|
2024-01-06 07:31:08 +01:00
|
|
|
%{_libdir}/nagios/plugins/remove_perfdata
|
2024-01-06 07:31:08 +01:00
|
|
|
%attr(755,root,root) %{_libdir}/nagios/plugins/check_*
|
|
|
|
%{_libdir}/nagios/plugins/negate
|
|
|
|
%{_libdir}/nagios/plugins/urlize
|
|
|
|
%{_libdir}/nagios/plugins/utils.pm
|
|
|
|
%{_libdir}/nagios/plugins/utils.sh
|
2024-01-06 07:31:08 +01:00
|
|
|
%doc COPYING LEGAL
|
|
|
|
#CODING FAQ README REQUIREMENTS SUPPORT ChangeLog command.cfg
|
|
|
|
|
|
|
|
%changelog
|
2024-08-21 20:30:58 +02:00
|
|
|
* Wed Aug 21 2024 Automatic Build System <autodist@openmamba.org> 2.4.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-05 18:24:09 +02:00
|
|
|
* Mon Aug 05 2024 Automatic Build System <autodist@openmamba.org> 2.4.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-01 10:32:57 +02:00
|
|
|
* Wed May 01 2024 Automatic Build System <autodist@openmamba.org> 2.4.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-11 19:09:59 +02:00
|
|
|
* Tue Apr 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.9-1mamba
|
|
|
|
- update to 2.4.9
|
|
|
|
|
2024-01-06 07:31:11 +01:00
|
|
|
* Tue Dec 12 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.8-1mamba
|
|
|
|
- update to 2.4.8
|
|
|
|
|
2024-01-06 07:31:11 +01:00
|
|
|
* Sun Nov 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.7-2mamba
|
|
|
|
- fix requirements in /usr/sbin instead of /usr/bin
|
|
|
|
|
|
|
|
* Fri Nov 17 2023 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:31:10 +01:00
|
|
|
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:31:10 +01:00
|
|
|
* Fri Jun 02 2023 Automatic Build System <autodist@mambasoft.it> 2.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:31:09 +01:00
|
|
|
* Sat Apr 15 2023 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:31:09 +01:00
|
|
|
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:31:09 +01:00
|
|
|
* Wed Nov 09 2022 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:31:09 +01:00
|
|
|
* Wed Oct 26 2022 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:31:09 +01:00
|
|
|
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- update to 2.4.0
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Wed Nov 15 2017 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Sat Nov 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-2mamba
|
|
|
|
- x86_64: install plugins to %{_libdir}
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Sun Dec 27 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-2mamba
|
|
|
|
- install plugins under %{_prefix}/lib instead of %{_libdir}
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Fri Aug 14 2015 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Sat Jul 12 2014 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Sat May 31 2014 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Sun May 11 2014 Davide Madrisan <davide.madrisan@gmail.com> 2.0.1-1mamba
|
|
|
|
- update to 2.0.1
|
|
|
|
|
2024-01-06 07:31:08 +01:00
|
|
|
* Wed May 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.16-2mamba
|
|
|
|
- don't require nagios to allow nrpe only installations
|
|
|
|
|
|
|
|
* Tue Oct 23 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.4.16-1mamba
|
|
|
|
- update to 1.4.16
|
|
|
|
- remove nrpe and nsca subpackages
|
|
|
|
- add some missing build requirements
|
|
|
|
|
|
|
|
* Fri Feb 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.14-1mamba
|
|
|
|
- update to 1.4.14
|
|
|
|
|
|
|
|
* Fri Mar 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.13-1mamba
|
|
|
|
- update to 1.4.13
|
|
|
|
|
|
|
|
* Fri Mar 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-6mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Feb 10 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-5qilnx
|
|
|
|
- do not require perl-Net-SNMP
|
|
|
|
|
|
|
|
* Tue Jul 13 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-4qilnx
|
|
|
|
- added nrpe addon
|
|
|
|
|
|
|
|
* Mon Jul 12 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-3qilnx
|
|
|
|
- added nsca addon
|
|
|
|
|
|
|
|
* Fri Jul 09 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-2qilnx
|
|
|
|
- various fixes
|
|
|
|
|
2024-01-06 07:31:11 +01:00
|
|
|
* Mon Nov 24 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-1qilnx
|
2024-01-06 07:31:08 +01:00
|
|
|
- first build
|