nagios-plugins: Several fixes

This update adds the package nagios-rpm-macros and fixes the following issues for nagios-updates:

- bnc#778970, bnc#789428: release for 12.1 and 12.2 as update
- added nagios-plugins-cups
- recommend additional plugins in nagios-plugins-all
- decrease dependency in nagios-plugins and nagios-plugins-extras to allow obsoleting the old packages
- allow name resolving for check-ntp plugin in apparmor config
- added nagios-plugins-check_disk_printf.patch: fix wrong number of printf arguments if verbose
- refreshed patches
- skip sensors package also for s390 and s390x
- enhance apparmor profile for check_ntp_time (IPv6 support)
- nagios-plugins-nagios can also check icinga
- Fix build with missing gets declaration (glibc 2.16)
- update to 1.4.16:
+ applied patch that adds both critical and warning thresholds to certificate expiration checks of check_tcp, check_http, check_smtp
+ check_tcp: Print performance data even with -D
+ check_snmp: * use single quotes for perf data labels
* Fix performance data label containing spaces in check_snmp
* Add --perf-oids option for check_snmp to retain optional 1.4.14 compatibility
* Accept multiple labels specified with "-l"
+ check_disk_smb: Add performance data
+ check_dhcp: * Don't misinterpret the "siaddr" field
* Fix handling of "pad" options
+ check_ping: * Improve parsing of ping6(1) output
* fix check_ping where output of ping6 when unreachable
* add missing newline to die() calls
+ check_users: * Whitespace fixes, etc.
* improve performance
+ utils.sh: Added check_range shell function
+ check_http: * Don't ignore SSL initialization errors
* Add support for specifying SSL protocol version
* check for and print the certificate cn
* use standard threshold functions
* improved tests for check_http
+ check_by_ssh: added -F config file to specify alternative ssh config
+ check_sensors: * Use symbolic exit codes
* Minor whitespace fixes
* Detect FAULT status. This can be suppressed with the new "--ignore-fault" option.
+ check_ldap: * now correctly handles the long option --hostname
* Fix check_ldap overriding the port when --ssl was specified after -p
+ check_smtp: * fix where duplicate messages were displayed for certificate errors
* New option to check_smtp to ignore failures when sending QUIT
* Abort on missing/unexpected greeting
+ check_ssh: * Add perfdata to check_ssh
+ check_procs: * Fix for regex input of '|', being output causing problems with Nagios' parsing of performance data. Now replaced with ','

- suggest instead of recommending the following sub packages in the former nagios-plugins package:
+ nagios-plugins-nagios
+ nagios-plugins-xenvm
+ nagios-plugins-game
- fix permissions of apparmor profile files
- add Apparmor profile for check_dhcp
- add Apparmor profile for check_ntp_time
- soften the nagios-plugins-nagios dependency to avoid an installed Nagios after an upgrade
- point users to the README.SuSE files for check_dhcp, check_icmp and check_ide_smart
- teach check_by_ssh old options -w and -c again
- Use BuildRequires: libgnutls-devel instead of gnutls-devel for Factory in keeping with gnutls package naming changes.
- rename nagios-plugins-libs to nagios-plugins-common as this package contains more than just the libraries
- only recommend subpackages that have new (and not always available dependencies)
- move examples directory to the libs package: the permissions file there is more useful here
- new subpackage nagios-plugins-all recommending all other subpackages
- do not package check_xenvm on ix86 as this setup is (no longer) supported
- return unkown if the needed kernel module is not loaded
- introduce a new subpackage nagios-plugins-libs that contains most of the content of the former nagios-plugins package. That should make updates easier as the nagios-plugins package itself can now require all former included packages and the single check-packages just need to require the nagios-plugins-libs package on demand
- change recommends to requires in nagios-plugins and nagios-plugins-extras, so users with 'solver.onlyRequires'=true can also upgrade to the new package layout without problems
- provide the nagios-plugins-xenvm package only for x86 hardware as the required xen-tools are just built there
- update README.SuSE as users should also allow broadcasts in their firewall if they use check_dhcp
- split up the checks into subpackages to follow the other distributions and allow users to install a minimal setup on their machines with minimal dependencies (moved dependencies into subpackages)
- run set_permissions on newer distributions
- preventing check_swap from returning OK, if no swap activated
- add GPL-3.0 implicitely to fix bnc #677711
- added hint to permissions file to nagios-plugins-README.SuSE
- fix missing Group in subpkg
- remove Author from Description
- use nagios-rpm-macros rpm now to define global macros
- split up nagios-plugins-fping package, and recommend it in nagios-plugins-extras for backwards compatibility
- disable rpath in configure
- sort configure arguments alphabetical
- install check_bgpstate check in nagios-plugins-check_bgpstate package
- remove .pl endings from check_netapp and check_linux_raid, but provide symlinks for backwards compatibility
- provide check_host and check_rta_multi for users changing from Debian

Fixed bugs
bnc#778970
Invalid dependencies when installing nagios-nrpe
bnc#789428
package nagios-plugins-apt does not exist
Selected Binaries
openSUSE Build Service is sponsored by