From 1e2387474a449452b78520b9ad96a8b4b5e99722 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Wed, 17 Apr 2019 19:07:19 +0200 Subject: initial commit of source fetch --- .../debian/README.Debian.plugins.in | 20 + .../debian/README.source | 66 ++ .../debian/autoreconf | 3 + .../debian/changelog | 997 ++++++++++++++++ .../debian/compat | 1 + .../debian/control | 223 ++++ .../debian/control.in | 33 + .../debian/copyright | 1209 ++++++++++++++++++++ .../debian/copyright.in | 35 + .../debian/gbp.conf | 4 + .../debian/nagios-plugins-contrib.docs | 1 + .../nagios-plugins-contrib.lintian-overrides | 3 + .../debian/packaging-helper.py | 330 ++++++ .../check_ajp/return_critical_on_failed_connection | 79 ++ .../patches/check_backuppc/use_nagios_plugins | 34 + .../debian/patches/check_bgpstate/epn | 10 + .../debian/patches/check_clamav/clamav_locations | 73 ++ .../debian/patches/check_cups/ParseDateDelta | 11 + .../debian/patches/check_cups/epn | 8 + .../debian/patches/check_cups/monitoring-plugin | 46 + .../patches/check_drbd/fix_for_oos_and_cosmetic | 62 + .../debian/patches/check_email_delivery/epn | 45 + .../debian/patches/check_email_delivery/paths | 27 + .../debian/patches/check_haproxy/epn | 8 + .../debian/patches/check_haproxy/monitoring-plugin | 48 + .../debian/patches/check_haproxy_stats/interpreter | 16 + .../debian/patches/check_httpd_status/epn | 9 + .../patches/check_httpd_status/htdigest_auth | 17 + .../patches/check_httpd_status/monitoring-plugin | 49 + .../patches/check_imap_quota/syntax_error_fix | 17 + .../debian/patches/check_libs/config_path | 11 + .../debian/patches/check_libs/lsof-speedup | 27 + .../debian/patches/check_libs/space_before_deleted | 12 + .../debian/patches/check_libvirt/fix_uom | 26 + .../debian/patches/check_libvirt/monitoring-plugin | 48 + .../debian/patches/check_lm_sensors/interpreter | 8 + .../patches/check_lm_sensors/manpage_whatis_fix | 12 + .../patches/check_lm_sensors/spelling_errors | 11 + .../debian/patches/check_memory/monitoring-plugin | 43 + .../debian/patches/check_memory/new_free | 53 + .../debian/patches/check_nfsmounts/nfs4_support | 11 + .../patches/check_nfsmounts/nfs_write_location | 20 + .../debian/patches/check_nfsmounts/perl_module | 43 + .../debian/patches/check_printer/debian_bts | 17 + .../debian/patches/check_printer/epn | 8 + .../check_printer/use_data_dumper_if_needed | 18 + .../debian/patches/check_printer/use_nagios_plugin | 38 + .../debian/patches/check_raid/no_epn | 8 + .../prefer_cciss_vol_status_over_hpacucli | 15 + .../debian/patches/check_rbl/additional_rbls | 45 + .../debian/patches/check_rbl/interpreter | 8 + .../patches/check_smstools/monitoring-plugin | 46 + .../debian/patches/check_smstools/operator_siglvl | 30 + .../debian/patches/check_snmp_environment/epn | 10 + .../debian/patches/check_snmp_time/epn | 8 + .../debian/patches/check_uptime/missing_backslash | 16 + .../debian/patches/check_v46/no_epn | 9 + .../debian/patches/check_varnish/fix_for_v56 | 186 +++ .../debian/patches/check_webinject/epn | 9 + .../dsa/check_cert_expire_dir_check_name_fix | 14 + .../debian/patches/dsa/check_packages-inifile | 13 + .../debian/patches/dsa/check_packages_,_fix | 30 + .../debian/patches/dsa/check_packages_location | 11 + .../dsa/check_running_kernel_jessie_centos_fix | 42 + .../debian/patches/dsa/epn | 8 + .../debian/patches/dsa/status_directory | 22 + .../patches/percona-nagios-plugins/fix_bashism | 8 + .../debian/patches/series | 54 + .../debian/rules | 43 + .../debian/source/format | 1 + .../debian/tests/control | 37 + .../debian/tests/test_check_varnish | 35 + 72 files changed, 4598 insertions(+) create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.Debian.plugins.in create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.source create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/autoreconf create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/changelog create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/compat create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/control create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/control.in create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright.in create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/gbp.conf create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.docs create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.lintian-overrides create mode 100755 nagios-plugins-contrib-24.20190301~bpo9+1/debian/packaging-helper.py create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_ajp/return_critical_on_failed_connection create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_backuppc/use_nagios_plugins create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_bgpstate/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_clamav/clamav_locations create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/ParseDateDelta create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/monitoring-plugin create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_drbd/fix_for_oos_and_cosmetic create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/monitoring-plugin create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy_stats/interpreter create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/htdigest_auth create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/monitoring-plugin create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_imap_quota/syntax_error_fix create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/config_path create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/lsof-speedup create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/space_before_deleted create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/fix_uom create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/monitoring-plugin create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/interpreter create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/manpage_whatis_fix create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/spelling_errors create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/monitoring-plugin create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/new_free create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs4_support create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs_write_location create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/perl_module create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/debian_bts create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_data_dumper_if_needed create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_nagios_plugin create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/no_epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/prefer_cciss_vol_status_over_hpacucli create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/additional_rbls create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/interpreter create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/monitoring-plugin create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/operator_siglvl create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_environment/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_time/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_uptime/missing_backslash create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_v46/no_epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_varnish/fix_for_v56 create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_webinject/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_cert_expire_dir_check_name_fix create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages-inifile create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_,_fix create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_location create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_running_kernel_jessie_centos_fix create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/epn create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/percona-nagios-plugins/fix_bashism create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/series create mode 100755 nagios-plugins-contrib-24.20190301~bpo9+1/debian/rules create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/source/format create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/control create mode 100755 nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/test_check_varnish (limited to 'nagios-plugins-contrib-24.20190301~bpo9+1/debian') diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.Debian.plugins.in b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.Debian.plugins.in new file mode 100644 index 0000000..1373b3f --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.Debian.plugins.in @@ -0,0 +1,20 @@ +nagios-plugins-contrib +====================== + +Some plugins require additional libraries. To prevent you from having to +install dozens of further packages that you don't actually need, there is no +strict dependency on those libraries. Rather, they are listed as recommenda- +tions or suggestions. + +apt-get(8) and aptitude(8) will install recommended packages automatically by +default. If you did not disable this feature you will have everything in place +to operate all plugins when installing the "nagios-plugins-contrib" package. +Else you have to install missing dependencies manually (see the section "Plugin +dependencies" below). + + +Plugin dependencies: +-------------------- + +#AUTO_UPDATE_README# + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.source b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.source new file mode 100644 index 0000000..a66d688 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/README.source @@ -0,0 +1,66 @@ +nagios-plugins-contrib - Plugins for nagios compatible monitoring systems +-------------------------------------------------------------------------- + + +This README.source should give a short instruction about the +way the pkg-nagios-plugins-contrib repository is structured +and defines basic policies. + +* build-system: git-buildpackage. As we build a Debian native + package pristine-tar is not necessary. + +* debian/changelog: + - preferable generated using git-dch + - versioning schema: X.$(date '+%Y%m%d'). X will be + increased by one with each release. In case there are + bugfixes in stable releases necessary, use + X.$(date '+%Y%m%d').Y + See http://kitenet.net/~joey/blog/entry/version_numbers/ + for details. + +* debian/copyright.in, debian/control.in: + Base files we fill automatically with information from + all plugins to generate the full files. + This is done in the clean target. + DO NOT MODIFY debian/control or debian/copyright! + +* nagios plugins: + - one directory per plugin + - required files: + * $plugin/control: file format similar to debian/control. + - Required is the Description and Uploaders part. + Add Build-Depends, Recommends, Suggests + and Homepage to have their content added to debian/control/ + debian/copyright. Don't use Depends as we don't want to force + people to install dependencies for a plugin they might not + want to use. + - Add Version to be able to track an upstream version of + the plugin. + - Add Watch to check for new versions using + ./debian/packaging-helper.py + Format: + Watch URL python-regex + Watch URL SHA1:sha1sum + - Don't add empty lines - only the first paragraph will be + handled. + * $plugin/copyright: copyright information for the files + in $plugin. Will be added to debian/copyright + automatically, properly indented and with a header which + describes that the coming block is for the files in $plugin. + ** DEP-5 IS NOT SUPPORTED ** + - what you should have: + Currently there are two options on how to build and install + plugins: + * you have a single script or file or need some hand-made + build system anyway: + add $plugin/Makefile and implement the all / install / clean + targets. include ../common.mk is there for common tasks. + If $plugin/Makefile exists the way described below *will not* + be built. + * your plugin comes with a fancy build system already: + extract the source in $plugin and let a symlink called 'src' + point to the subdirectory of $plugin. + If dh_auto_* is not able to build the plugin, please use + the Makefile way as described above. + Please ensure that a proper .cfg file will be installed. + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/autoreconf b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/autoreconf new file mode 100644 index 0000000..23c2f54 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/autoreconf @@ -0,0 +1,3 @@ +check_hpasm/src/ +check_mysql_health/src/ +check_varnish/src/ diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/changelog b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/changelog new file mode 100644 index 0000000..d720f6e --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/changelog @@ -0,0 +1,997 @@ +nagios-plugins-contrib (24.20190301~bpo9+1) stretch-backports; urgency=medium + + * Rebuild for stretch-backports. + + -- Jan Wagner Fri, 01 Mar 2019 14:29:52 +0100 + +nagios-plugins-contrib (24.20190301) unstable; urgency=medium + + * [94e6962] check_rbl: Update to 1.4.4 + * [26788d0] d/patches/check_rbl/additional_rbls: + Refresh against latest ustream + * [1ca8c61] d/patches/check_rbl/additional_rbls: + Remove unreliable uribl.com lists + * [c3d64f4] check_ssl_cert: Update to 1.83.0 + * [5d7462d] d/control: Auto update + + -- Jan Wagner Fri, 01 Mar 2019 14:22:08 +0100 + +nagios-plugins-contrib (23.20190206) unstable; urgency=medium + + * [314b5a6] Add patch check_uptime/missing_backslash, thanks Sven Wegener. + (Closes: #882982) + * [98f42fd] dsa/*: Update to latest upstream + * [00a3557] p/dsa/status_directory: Refresh against latest upstream + * [f96eeae] check_ssl_cert: Update to 1.80.1 + * [b0b3391] d/control.in: Update Vcs headers + * [f4a960f] d/control.in: Bump Standards-Version to 4.3.0, no changes needed + * [cec13f3] Revert "Remove check_varnish for now." + * [5388c58] Adding d/p/check_varnish/fix_for_v56, + thanks Jean-Louis Dupond + * [1abad16] d/copyright: Auto update + * [e30d668] d/tests/control: Auto update + * [37ee667] check_varnish/control: Adding automake-1.15 as build dep + * [2491dc7] d/control: Auto update + * [c3aa205] check_ipmi_sensor: Update to 3.13 + * [67f7f48] Adding d/p/check_haproxy_stats/interpreter, fixing interpreter + * [0d80aa9] check_raid/control: Fixing invalid control statement + * [1dfe25a] check_raid: Update to 4.0.9 + * [23a69f5] d/control: Auto update + * [bc48c7b] d/control.in: Using priority optional + * [5bb1937] d/control: Auto update + * [bc2cc30] check_mongo: Update to 46d27ab + * [8375691] dsa/*: Update to latest upstream + * [7bb2be2] dsa/checks/dsa-check-cert-expire-dir: Fix permissions + * [71b0bfc] check_mongodb: Updating to latest version b33e763 + * [4fdfeb3] check_ssl_cert: Update to 1.81.0 + * [cf52b63] check_varnish/control: Update to latest upstream commit, + no code changes + * [679d52b] d/control: Auto update + + -- Jan Wagner Wed, 06 Feb 2019 13:45:06 +0100 + +nagios-plugins-contrib (22.20181105+1) unstable; urgency=medium + + [ Bernd Zeimetz ] + * [f576fb8] Also remove varnish patches + + [ Jan Wagner ] + * [1559617] check_httpd_status: Update to rev204 + * [1b6db55] check_ssl_cert: Update to 1.76.0 + * [9ec996e] dsa/control: New homepage + * [ab393a4] dsa/update-files.sh: Fix upstream URL + + -- Bernd Zeimetz Mon, 05 Nov 2018 01:02:43 +0100 + +nagios-plugins-contrib (22.20181105) unstable; urgency=medium + + [ Bernd Zeimetz ] + * [5091e4a] Disable EPN for check_raid. + Thanks to Daniel Pocock (Closes: #851351) + * [5bdff51] check_raid: fix failed mdadm hotspare detection. + Thanks to Sascha Steinbiss (Closes: #855054) + * [5232be1] percona-nagios-plugins: fix bashism. + Thanks to Raphael Geissert (Closes: #772278) + + [ Stefan Schörghofer ] + * [6495faa] Fixes check_ssl_cert problems with Openssl > 1.1.x + (Closes: 855253) + + [ Bernd Zeimetz ] + * [bf4fb49] Add autopkgtest for check_ssl_cert. + * [9aacdb6] Auto update of debian/tests/control + * [cd24451] Updating changelog. + * [0d7ac29] Fix check_cert_expire_dirs to make it work at all. + (Closes: #855155) + * [dbf85de] Updating changelog + * [d6880e6] style fix ;) + + [ Jan Wagner ] + * [200548e] check_ssl_cert: Recommend curl and file as they are needed for a + working plugin + * [be54bd4] Apply check_snmp_environment/epn we missed to do + + [ Leo Antunes ] + * [b76423b] add check_libs_ng script + * [273f7a0] check_libs_ng: small performance improvement + + [ Stefan Schörghofer ] + * [3cea475] Adds new plugin: check-debsecan. (Closes: 725269) + * [202376f] Revert "Adds new plugin: check-debsecan." Forgot something and + want to make one fine commit. + * [447a438] Adds new plugin: check-debsecan. (Closes: 725269) + * [059dbba] Revert "Adds new plugin: check-debsecan." Found problem in the + copyright file. Will fix it. + * [fca4c0b] Adds new plugin: check-debsecan. (Closes: 725269) + + [ Jan Wagner ] + * [190c0b7] check_hpasm: Update to 4.7.5.4 + * [3eb4cf6] check_mongodb: Updating to latest version 3805751 + * [7fecaf3] check_raid: Update to 4.0.8 + * [ce7f6fe] check_whois: Update to latest version 1.23 + * [3e8a34e] check_ssl_cert: Updating to 1.1.57.0 + * [ae676d3] check_ssl_cert: Drop patch check_ssl_cert/bug-855253-fix + * [e83a665] check_rbl: Update to 1.4.1 + * [1ec29f1] check_rbl: Drop patch check_rbl/spelling_errors + * [3c3a375] check_rbl: Drop patch check_rbl/disable_dul.ru + * [0883752] check_rbl: Drop patch + check_raid/fix_mdadm_hotspare_failure_detection + * [dcdb4b3] travis-ci: Allow unstable to fail, since varnish has FTBFS + (again) + * [b21ae15] Update dsa checks to recent git version 2300473 + * [759820b] Refresh d/p/dsa/check_running_kernel_jessie_centos_fix + * [d3c7d47] Refreshing patches against new upstreams + * [44c6db8] check_ssl_cert: Updating to 1.58.0 + * [169de3b] check_ssl_cert: Updating to 1.58.0 + * [1314c23] check_ssl_cert: Updating to 1.61.0 + * [180a845] check_httpd_status: Updating to rev193 + * [91a482c] check_httpd_status: Drop d/p/check_httpd_status/numeric-uptime, + it's in rev193 + * [5c25f57] d/control: Update VCS-headers + * [e9f0da6] check_hpasm: Update to 4.7.5.5 + * [3e81014] check_rbl: Update to 1.4.3 + * [ad2be8b] check_ssl_cert: Updating to 1.72.0 + * [be6e9e8] check_whois: Updating to 1.24 + * [061b662] percona-nagios-plugins: Update to 1.1.8 + + [ Bas Couwenberg ] + * [5570872] Bump Standards-Version to 4.1.5, no changes. + * [dda67f3] Bump Standards-Version to 4.2.0, no changes. + * [db13182] Bump Standards-Version to 4.2.1, no changes. + + [ Jan Wagner ] + * [65a0937] check_ssl_cert: Updating to 1.73.0 + * [eff917b] Update check_hpasm to 4.8 + * [c7f8ffc] travis-ci: Allow build failing on testing + + [ Bernd Zeimetz ] + * [47669a6] Remove check_varnish for now. + Does not work with varnish >= 5.2 + https://github.com/varnish/varnish-nagios/issues/15 + Thanks to Adrian Bunk (Closes: #878966) + * [65f3186] Auto update of debian/copyright + * [278c1ee] Auto update of debian/tests/control + + -- Bernd Zeimetz Mon, 05 Nov 2018 00:45:48 +0100 + +nagios-plugins-contrib (21.20170222) unstable; urgency=medium + + [ Bernd Zeimetz ] + * [5091e4a] Disable EPN for check_raid. + Thanks to Daniel Pocock (Closes: #851351) + * [5bdff51] check_raid: fix failed mdadm hotspare detection. + Thanks to Sascha Steinbiss (Closes: #855054) + * [5232be1] percona-nagios-plugins: fix bashism. + Thanks to Raphael Geissert (Closes: #772278) + + [ Stefan Schörghofer ] + * [6495faa] Fixes check_ssl_cert problems with Openssl > 1.1.x + (Closes: #855253) + + [ Bernd Zeimetz ] + * [bf4fb49] Add autopkgtest for check_ssl_cert. + * [9aacdb6] Auto update of debian/tests/control + * [0d7ac29] Fix check_cert_expire_dirs to make it work at all. + check_cert_expire_dirs was not able to find + check_cert_expire. Fixing that. (Closes: #855155) + + -- Bernd Zeimetz Wed, 22 Feb 2017 14:32:22 +0100 + +nagios-plugins-contrib (20.20170118) unstable; urgency=medium + + [ Evgeni Golov ] + * [3a9cdf5] more test restrictions + * [49b66d4] simplify tests + * [3253d36] Auto update of debian/tests/control + * [7383aed] cleanup travis.yml + travis.d.n already does git fetch and lintian for us + * [3b61c62] call lintian with extended flags as before + * [8ffd6ec] add python2.7 and python-pymongo to percona control + * [8486be7] Auto update of debian/control + + [ Bernd Zeimetz ] + * [f84c6a0] Remove check_shutdown. + Does not work with systemd. + Resolves #54 + * [9038743] Remove check_ldap_root. + This is nothing check_ldap could not handle. + Please use check_ldap. + * [6083eb6] Updating checks from DSA. + * [fbd854d] Enhance check_running_kernel. + Support Ubuntu and CentOS, also warn about missing filter utils. + Thanks to Jonas Meurer (Closes: #780098) + * [0174352] Auto update of debian/copyright + * [95b656e] Auto update of debian/control + * [1e2803d] Merge remote-tracking branch 'origin/master' + * [a238057] Install check_mongodb.py symlink. + Resolves #77. + + -- Bernd Zeimetz Wed, 18 Jan 2017 22:18:18 +0100 + +nagios-plugins-contrib (19.20170104) unstable; urgency=medium + + [ Jan Wagner ] + * [985772d] check_raid: Update to 4.0.5 + * [59eb257] check_ssl_cert: Updating to 1.37 + * [19d36d2] Update d/copyright + * [2b665d0] check_ssl_cert: Fix vesion in control file + * [55e47ca] Updating d/control + + [ Evgeni Golov ] + * [2f8ecec] allow Restrictions in tests + * [1f127a6] add test restrictions + * [225d1df] check_varnish: add test + * [00da8b9] fix trailing space + * [5ed4f55] Auto update of debian/tests/control + + -- Jan Wagner Wed, 04 Jan 2017 13:50:13 +0100 + +nagios-plugins-contrib (18.20170103) unstable; urgency=medium + + [ Jan Wagner ] + * [54e94e9] d/changelog: New changelog + + [ Bernd Zeimetz ] + * [92fd6af] Fix HOST_ARCH detection for check_varnish and others. + * [9238b6c] Merge remote-tracking branch 'github/master' + * [1ade7ce] check_nfsmount: nfs4 support. + Resolves #73 + Thanks to gvogets + * [ed6148e] check_httpd_status-digest: make -r option work. + Resolves #61 + Thanks to Michael Weinrich + * [609758d] Merge pull request #71 from waja/check_smstools_pr60. + Add debian/patches/check_smstools/operator_siglvl, thanks ZyanKLee + * [5ddb796] Merge pull request #72 from evgeni/tests + add a few tests + * [84c0942] Revert "Remove unused check_varnish Makefile." + This reverts commit b6f439c44914471004cf8c8af120bd05f3afcb2e. + * [8ecb979] Fix percona-nagios-plugins watch line + * [b713758] Fix architecture detection in Makefile + * [9fab6a3] Updating percona-monitoring-plugins to 1.1.7 + * [47f82e5] Remove check_varnish for now. + It is not compatible to varnish 5. + * [f4f72ee] Auto update of debian/control + * [67b7308] Auto update of debian/copyright + * [55ac3ea] Revert "Remove check_varnish for now." + This reverts commit 47f82e5244a1e6a1874cb20dd497b63ea4d51512. + * [c8edb54] Update check_varnish to latest git version. + * [ce99574] Add autotools stuff for check_varnish. + * [f2c1500] Make varnish build with v5 + * [3cca7ae] Auto update of debian/control + * [cab0430] Use default mirror for travis. + * [54c9557] Add autopkgtest for check_varnish + * [53b8990] Choose random varnish ports. + Otherwise test jobs running in parallel will fail. + * [87a77dc] avoid output on stderr in test_check_varnish + * [cfb86ca] Make Zhenech happy. + + -- Bernd Zeimetz Tue, 03 Jan 2017 18:36:14 +0100 + +nagios-plugins-contrib (17.20161211) unstable; urgency=medium + + [ Evgeni Golov ] + * [743a7ba] implement tests for check_cups and httpd + + [ Jan Wagner ] + * [f2ad81b] travis-ci: Build against unstable, testing and stable; run lintian + * [51e1deb] d/control: Bump Standards-Version to 3.9.8, no changes needed + * [a316cb8] check_raid: Update to 4.0.3 + * [3699879] check_mongodb: Updating to latest version 8c5cc99 + * [a5b2276] check_ipmi: Update to 3.12 + * [60319ea] check_ssl_cert: Updating to 1.35.0 + + [ Evgeni Golov ] + * [a16fc7d] stat daemons before running tests + * [65c8472] Auto update of debian/tests/control + * [5255d54] check_httpd_status: only accept numeric uptime output + * [cd76f3a] apache2 tends to be a bit chatty during restart, shut it up + * [b34a201] Auto update of debian/tests/control + + [ Jan Wagner ] + * [0a4e29e] check_mongodb: Fix version in control file + * [2218a15] check_hpasm: Update to 4.7.5.2 + * [7bd78e4] Adding d/patches/check_cups/ParseDateDelta (Closes: #844319), + thanks Manuel Hachtkemper + + [ Petter Reinholdtsen ] + * [789bdb5] Improve check_shutdown control file. + + [ Jan Wagner ] + * [1c5fbfe] d/control: Update VCS-URLs to https + + [ Evgeni Golov ] + * [ac93909] allow tests to run with libnagios-plugin-perl on jessie + * [3478a48] Auto update of debian/tests/control + + [ Jan Wagner ] + * [171275f] check_printer: Add missing hostname option into check command + * [6e1f6c2] check_printer: Disable epn (Closes: #808722) + * [63564c7] check_ssl_cert: Updating to 1.36.1 + * [1d9afb0] Add d/patches/check_libvirt/fix_uom, thanks Björn Lässig + * [827da04] check_raid: Update to 4.0.4 + * [056d78e] check_ssl_cert: Fix version in control file to 1.36.1 + * [9fea343] d/control.in: Updating to values committed to control + * [15d33f8] d/control: Updating to latest plugin versions + + -- Jan Wagner Sun, 11 Dec 2016 14:33:04 +0100 + +nagios-plugins-contrib (16.20151226) unstable; urgency=medium + + [ Jan Wagner ] + * [a3207bd] check_mysql_health: Update to 2.2.1 + * [31c7ed1] check_mysql_health: Remove integrated patches/check_mysql_health/documentation_url + * [dfc20c0] travis-ci: Installing newer autoconf + * [f55699c] travis-ci: Installing automake1.9 + * [295f5a4] Generating new control file + * [12e0087] Updating debian/changelog + * [e5d713c] Revert "Updating debian/changelog" + This reverts commit 12e0087eb624f7db93a56483c793bc8d2c28ab3f. + * [b9c168a] Creating new changelog entry + * [f27768f] debian/control.in: reformating with warp-and-sort + * [9362ba8] Rebuild debian/control + * [22ddfa6] check_raid: Update to latest version 3.2.5 + * [c9f64fb] check_multipath: Update to latest version 0.3.0 + * [fd2e679] check_whois: Update to latest version 1.19 + * [9b19d0a] check_memcached: Install libmemcached-dev as build dependency on arm64 too (Closes: #798432) + * [4a79b7e] Updating debian/control + + -- Bernd Zeimetz Sat, 26 Dec 2015 18:19:43 +0100 + +nagios-plugins-contrib (15.20150818) unstable; urgency=medium + + The debconf15 release. + + [ Evgeni Golov ] + * [655f77d] fix check_ipmi_sebsor version + it was correct in the upload, but not in Git + + [ Jan Wagner ] + * [0da5840] Disable rbl.orbitrbl.com, it's offline + - Adding check_rbl/disable_orbitrbl.com see + http://www.dnsbl.com/2014/10/status-of-rblorbitrblcom-dead.html + * [9849824] check_email_delivery: Add libnet-smtpauth-perl as Recommends for + CRAM-MD5 + + [ Bernd Zeimetz ] + * [1151ce3] Add update-check_libs-status cronjob script. + * [3479e9d] Update check_apt.cmd to use update-check_libs-status. + * [ec49961] snapshot changelog. + + [ Jan Wagner ] + * [52030fc] Fixing changelog entries + + [ Bernd Zeimetz ] + * [f66a1d8] Remove , from check_packages output. + + [ Jan Wagner ] + * [803520c] Adding check_rbl/disable_ahbl.org patch (Closes: #774749) + + [ Bernd Zeimetz ] + * [1853853] Updating snapshot changelog. + * [b308bb7] Remove duplicate check_apt.cmd file. + * [f3e3cee] Add check_libvirt. + * [112168d] Auto update of debian/copyright + * [40a9288] Auto update of debian/control + * [1e398f9] Make check_libs faster. + * [d7cf267] Add breaks/replaces for smooth upgrades from squeeze. + * [1ae1eee] Add check_redis. + * [89a53d3] Auto update of debian/copyright + * [09d0cdb] Auto update of debian/control + * [bce89a0] Merge remote-tracking branch 'github/master' + + [ Jan Wagner ] + * [8733ae5] check_redis: Adding command definition config + * [5874628] check_redis: Fixing command definition + * [6ed8e1b] check_mongodb: Updating to latest version + * [b9544e3] check_mysql_health: Updating to 2.1.9.2 + * [a2c74a4] check_raid: Updating to 3.2.2 + * [19e1262] check_raid: Updating to latest git version (5bc04e1822) + * [5862270] check_ssl_cert: Updating to 1.17.0 + * [e4c7bc0] check_cups: Update Homepage + * [cc9ce25] check_drbd: Update Homepage and Watch header + * [99c5b84] check_rbl: Updating to 1.3.7 + * [160e8d3] check_rbl: Move back to Nagios::Plugin again by adding + patches/check_rbl/nagios-plugins + * [8b921f7] check_whois: Updating to 1.16 + * [90e3211] check_ipmi_sensor: Updating to 3.7 + * [37d10e7] Drop check_rbl/disable_ahbl.org + * [a2b7c69] Drop check_rbl/disable_orbitrbl.com + + [ Bernd Zeimetz ] + * [d33acc6] Some better travis scripts. + * [22073ab] Handle php4nagios templates + * [ec7197a] Install check_redis pnp4nagios template + * [f8d59a3] Fix check_ajp to handle non-responding tcp ports. + * [2709f46] install equivs in .travis.yml + * [d0e0af8] Revert "Fix check_ajp to handle non-responding tcp ports." + This reverts commit f8d59a383175bbcf0011b8308d0505868c6b61e4. + Change was applied by patch... + * [f948c66] Merge branch 'master' of + alioth.debian.org:/git/pkg-nagios/pkg-nagios-plugins-contrib + + [ Jan Wagner ] + * [8696a41] common.mk: Using TAB instead of white spaces + + [ Bernd Zeimetz ] + * [c408dff] Typo fix. + * [b41594f] Add check_haproxy_stats. + * [5e5ae83] Auto update of debian/copyright + * [cb814e2] Auto update of debian/control + * [23c7416] Update snapshot changelog. + * [53e1b9c] Fix version number in changelog + + [ Jan Wagner ] + * [9bcec60] check_hpasm: Update to 4.7.0.2 + * [9609f87] check_raid: Update to 3.2.3 + * [c750062] check_ssl_cert: Update to 1.17.1 + * [ff74dbd] check_rbl: Disable dul.ru + * [c11ef66] check_mongo: Update to recent version + * [32e8ae4] check_hpasm: Updating to latest 4.7.1.1 + * [a08beb2] check_ipmi_sensor: Updating to 3.8 + * [25d1eea] Updating control file + * [74ea485] check_uptime: Update check_uptime.cfg to use the correct script + (Closes: #787839) + * [45d50da] check_raid: Update to 3.2.4 + * [af3e278] check_ipmi_sensor: Update to version 3.9 + + [ Bernd Zeimetz ] + * [94ad100] implement git clean support in extras/Makefile + * [406aa15] Add makefile to build all plugins. + * [2655fe2] Add Makefile. + First step to get rid of dh crazyness. + * [94c0879] Fixing pthread linking fail for check_memcached. + + [ Jan Wagner ] + * [140e08e] check_mongodb: Update to latest upstream + + [ Bernd Zeimetz ] + * [22769ea] Let debian/rules use the new Makefile. + * [1a74854] build the debian readme again + + -- Bernd Zeimetz Tue, 18 Aug 2015 18:04:21 +0200 + +nagios-plugins-contrib (14.20141104) unstable; urgency=medium + + [ Jan Wagner ] + * [0b3a2c4] check_email_delivery: Adding libnet-smtp-ssl-perl to Recommends + * [7c8eeb2] check_running_kernel: Add binutils to Recommends + + [ Evgeni Golov ] + * [4df550b] check_ipmi_sensor: update to v3.5. + Thanks to Werner Fischer (Closes: #768018) + + -- Evgeni Golov Tue, 04 Nov 2014 15:03:27 +0100 + +nagios-plugins-contrib (13.20141017) unstable; urgency=medium + + * [87b2651] check_rbl: Adding libdata-validate-domain-perl, + libdata-validate-ip-perl to Recommends as needed for new upstream + * [e6dab92] check_raid: Update to 3.2.1 + * [486d2f0] check_raid: Updating to latest git master to fix several bugs + * [7fdccac] check_raid: Updating to latest git master to fix with arcconf + * [c0b9c82] Bump Standards-Version to 3.9.6, no changes needed + * [fb6090a] percona-nagios-plugins: Fix typo in package description + * [e8aa125] percona-nagios-plugins: Fixing FSF address + * [f5d63e9] check_update: Fixing FSF address + + -- Jan Wagner Fri, 17 Oct 2014 16:14:40 +0200 + +nagios-plugins-contrib (12.20141001) unstable; urgency=medium + + * Fix version number. + Unfortunately this makes an upload necessary due to + older snapshots being in use already. + + -- Bernd Zeimetz Wed, 01 Oct 2014 13:24:23 +0200 + +nagios-plugins-contrib (11.20141001) unstable; urgency=medium + + [ Bernd Zeimetz ] + * [c48b2fba] Auto update of debian/control + * [53787970] Auto update of debian/copyright + * [54c6b89b] Add check_hp_bladechassis. + * [779307ef] Add missing " " around a filename variable in update_checksums. + * [a26ff221] Add check_uptime plugin. + * [e2a97b03] Auto update of debian/control + * [284db8fa] Auto update of debian/copyright + * [02769ec2] Updating changelog. + + [ Jan Wagner ] + * [a4e3d3ab] Reorder patch series + + [ Bernd Zeimetz ] + * [a1793637] check-libs: Use lsof -nP + + [ Jan Wagner ] + * [497cef52] monitoring-plugins is the ways to got, so we recommend/enhance it + + [ Bernd Zeimetz ] + * [899be56b] Merge remote-tracking branch 'github/master' + + [ Jan Wagner ] + * [6d9f7c6f] check_bgpstate: disable epn via patches/check_bgpstate/epn + + [ Bernd Zeimetz ] + * [462d412b] Merge pull request #51 from mstock/bugfix/running-kernel-on-kfreebsd. + Escape '+' in 'uname -v' output in freebsd_check_running_version() + + [ Jan Wagner ] + * [482b9bfb] Merge branch 'check_httpd_status_153' into update + * [5d8c1517] Merge branch 'check_mongodb_60b639ef4c' into update + * [fca59f8b] Merge branch 'check_raid_32' into update + * [d425c2d1] Merge branch 'check_zone_rrsig_expiration_111' into update + * [14476fe2] Merge branch 'percona-nagios-plugins_114' into update + * [277a24e1] check_raid: Raise suggest of cciss-vol-status to >= 1.10 + * [5e3d1834] check_ipmi_sensor: Update watch location + * [c2599a4c] Updating VCS-headers + * [2ccefe74] check_uptime: Update watch location + + [ Evgeni Golov ] + * [2f5c758f] update check_libs homepage and watch url + * [cd40ea09] check_libs: fix lsof output parsing for OpenVZ + check_libs sometimes parses files incorrectly + inside an OpenVZ container (wheezy host and guest, proxmox ve + 2.6.32 kernel): + Running /usr/bin/lsof -F0 -n + adding bash(28081) because of [ (deleted)/tmp/tmpfXKFYTG]: + f1aul tREGG0x8002;0x0D0x6ds218i9441399k0n (deleted)/tmp/tmpfXKFYTG + adding bash(28081) because of [ (deleted)/tmp/tmpfXKFYTG]: + f2aul tREGG0x8002;0x0D0x6ds218i9441399k0n (deleted)/tmp/tmpfXKFYTG + adding puppet(28244) because of [ (deleted)/tmp/tmpfXKFYTG]: + f1aul tREGG0x8002;0x0D0x6ds218i9441399k0n (deleted)/tmp/tmpfXKFYTG + adding puppet(28244) because of [ (deleted)/tmp/tmpfXKFYTG]: + f2aul tREGG0x8002;0x0D0x6ds218i9441399k0n (deleted)/tmp/tmpfXKFYTG + The following processes have libs linked that were upgraded: root: bash + (28081), puppet (28244) + So in some cases there is a space in front of "(deleted)". + Attached is a patch that fixes this. + Thanks to Felix Geyer (Closes: #760373) + + [ Bernd Zeimetz ] + * [7dccd2a2] Merge pull request #50 from petterreinholdtsen/checks-from-sitesummary. + Checks from sitesummary-client + * [36c3d9a1] Revert "Add check_kernel_status module from the sitesummary-client package." + This reverts commit b63d12999ffa00f6b1108c21fceeeae12e260c77. + We have check_kernel for linux and kfreebsd already. + * [99cbfb3c] Revert "Add check_cups_queue module from the sitesummary-client package." + This reverts commit 99951c619705578470b1786999361d232fa9cba6. + check_cups should handle these things just fine. + * [5525ee99] Updating check_printer. + * [4302e534] Fix version number of check_uptime. + * [399a5a40] Updating check_rbl to 1.3.5 + * [11320c50] Update check_ipmi_sensor to 3.4 + * [d6d96ff5] Refreshing patches. + * [f92be1cf] Auto update of debian/copyright + * [b528bd11] Do not depend on perl-base. + * [72597951] Auto update of debian/control + + -- Bernd Zeimetz Wed, 01 Oct 2014 13:05:16 +0200 + +nagios-plugins-contrib (11.20140704) unstable; urgency=medium + + [ Jan Wagner ] + * [106aea0c] Update control file to reflect the shiped check_rbl version 1.3.2 + + [ Evgeni Golov ] + * [d654cba2] ignore locale-archive in check_libs + thanks h01ger! + * [4e9f28d2] revert nagios-check-libs source back to the original config path + patch our version only once, but with the correct path + * [607d1162] update nagios-check-libs to the latest upstream version + * [8a40ddb2] update check_libs checksum in control + * [9cc86dee] check_libs: add /var/lib/nginx/ to the ignorelist + + [ Bernd Zeimetz ] + * [c712680b] Auto update of debian/copyright + * [0ff31881] Auto update of debian/control + * [be858113] Add percona nagios plugins. + * [be3753f9] Suggest percona-toolkit as Suggests. + * [09e70d62] Updaring changelog. + + [ Jan Wagner ] + * [7e7d34f6] check_mongodb: Update to latest git version + + [ Bernd Zeimetz ] + * [f31fc76d] Update check_mysql_health web documentation url. + * [101305b6] Update check-multipath to 0.2.1 + * [111a0b42] Refreshing patches. + * [30fe69ff] Auto update of debian/control + + -- Bernd Zeimetz Fri, 04 Jul 2014 11:36:51 +0200 + +nagios-plugins-contrib (10.20140427) unstable; urgency=medium + + [ Jan Wagner ] + * [0029d09d] check_email_delivery: Use full binary path instead of $ macro in command definition + + [ Evgeni Golov ] + * [1028de53] use = instead of == in shell comparisons + fixes + /bin/sh: 4: [: dh_auto_clean: unexpected operator + for /bin/sh != /bin/bash + + [ Bernd Zeimetz ] + * [6bc6ae0e] Merge pull request #39 from evgeni/no-bashisms + use = instead of == in shell comparisons + + [ Jan Wagner ] + * [92a64933] check_raid: Update to latest git version + * [646ae3cf] check_ssl_cert: Update to 1.16.0 + * [5810c290] check_whois: Update to 1.15 + * [62ed2f18] check_httpd_status: Update to rev148 + * [b5c5becf] check_mongodb: Update copyright file. + Include full copyright to make lintian happy. + * [64e5aa8b] check_mysql_health: Update copyright file. + Add reference to GPL license file + * [ab9066d2] check_hpasm: Update copyright file. + Add reference to GPL license file + * [a0a47d2a] check_memory: Update copyright file. + Update FSF address + * [0bbd4521] check_rbl: Update copyright file. + Cosmetical changes + * [0f533e19] Add '--with autoreconf' to dh calls (Closes: #727468) + - Build-depend on dh-autoreconf + - Add check_varnish/automake_foreign patch + - Specify autoreconf (sub-)dirs in debian/autoreconf + * [19c052cc] check_multipath: Update to 0.2.0 + * [5c94f9c5] Add Travis-CI configuration + + [ Stanislav German-Evtushenko ] + * [b04bdeb0] check_drbd: add check for oos and cosmetic. + 1) add check for out of sync sectors (report WARNING for non-zero value) + 2) cosmetic: sort device list while processing + * [13ace27b] small fix: oos is in KiB and not sectors + + [ Jan Wagner ] + * [bc434662] check_mongo: Update to latest git version + * [dbd5989c] check_raid: Update to latest git version + * [3100e689] check_ssl_cert: Update to 1.16.1 (No source changes) + * [a7e727c8] check_raid: Update to latest git version (Closes: #742877) + * [8fcc4d95] check_ssl_cert: Update to 1.16.1 (No source changes) + * [1d17b5da] Update VCS-* field to uncanonical URI + * [5529d605] check_memory: Update to new upstream source + * [18a708fb] check_memory: Update to version 1.0.1 + * [b88fd4ae] check_snmp_time: Preventing to use first person in package description + * [dfbe25c3] Merge 0f533e1959 and f4cc012a82 into debian/control.in + * [5a2dff52] Updating debian/copyright and debian/control + * [dfb170cb] Updating standards version to 3.9.5, no changes needed + + [ Bernd Zeimetz ] + * [6af00ac0] Merge pull request #43 from giner/patch-1 + check_drbd: add check for oos and cosmetic + * [f5deb224] Move b04bdeb025c77e34fdf8ed9eab2f222240297ca3 into a patch file. + * [4b9f4ad4] Merge remote-tracking branch 'origin/master' + + [ Evgeni Golov ] + * [9774c695] do not build check_varnish and check_memcached on hurd-i386 + also do not build check_memcached on arm64 and check_varnish on m68k + + [ Bernd Zeimetz ] + * [2a2e8abe] Add closing brackets fix for check_imap_quota. + * [244d5d31] Merge pull request #40 from evgeni/hurd + do not build check_varnish and check_memcached on hurd-i386 + * [b032938a] Use sha1 to check check_libs upstream. + + [ Evgeni Golov ] + * [eef97dc6] update check_rbl to 1.3.2 + this is a mere documentation update, but having the latest version is always good + * [2049c14d] dsa-check-cert-expire: Make timers configurable (Closes: #744248) + * [868f614a] update dsa checks + * [cd351102] update dsa-chack-packages (Closes: #744922) + * [8a28edeb] check_varnish: add support for varnish 4 (Closes: #745895) + + [ Bernd Zeimetz ] + * [7d537eca] Fix plugin name generation. + * [5a9e4201] Merge pull request #46 from evgeni/check_rbl_132 + update check_rbl to 1.3.2 + * [d9702669] Merge pull request #47 from evgeni/dsa + update dsa checks + * [306e2109] Merge pull request #48 from evgeni/varnish4 + check_varnish: add support for varnish 4 + * [fea80041] Merge remote-tracking branch 'github/master' + + -- Bernd Zeimetz Sun, 27 Apr 2014 11:25:11 +0200 + +nagios-plugins-contrib (9.20140106) unstable; urgency=low + + [ Bernd Zeimetz ] + * [63ddfa7a] Make checksum file readable for nagios. + * [583b6cde] Avoid line overflows due to expansion of $0. + * [9895bf1b] Merge pull request #18 from waja/solid.net + solid.net seems expired (maybe come back in the future) + * [31a0dc1f] Fix POD encoding in check_rbl. + Thanks to David Suárez (Closes: #724175) + * [a58ff4e7] Run dh_python2 for plugins and normal modules. + * [cd30e982] Add check_graphite. + * [e234911d] Auto update of debian/copyright + * [cb276d08] Auto update of debian/control + * [9dc17c93] Merge remote-tracking branch 'github/master' + * [4e577da9] Revert accidentally merged, duplicated bugfix. + This reverts commit 98008e4aea3687cff8c7ab3f871809e219591cde. + * [e8387d2a] Merge pull request #23 from waja/update_check_rbl_1.3.1. + Update check rbl 1.3.1 + * [826a436e] Merge pull request #24 from waja/update_check_webinject_1.80. + Update check_webinject to 1.80 + * [5c2907b0] Merge pull request #25 from waja/update_check_whois_1.14. + Update check_whois to 1.14 + * [e8c11f0a] Merge pull request #26 from waja/fix_check_rbl_patch. + Remove accidently double added check_rbl/disable_solid.net in patch seri... + * [bfb67e88] Use dh --with autotools_dev. (Closes: #727468) + * [363af25f] Auto update of debian/control + * [952811b3] Run dh --with autotools_dev in the clean target, too. + * [8898d503] Merge pull request #27 from waja/check_cups. + Check cups + * [8abc4359] Merge pull request #28 from waja/check_mongodb. + Add check_mongodb plugin + * [423e59f0] Merge pull request #30 from waja/fix_check_rbl. + Fix version of check_rbl in control file + * [00be70e5] Merge pull request #33 from waja/check_bgpstate. + Add check_bgpstate plugin + * [9591a3ca] Merge pull request #29 from waja/check_drbd. + Add check_drdb plugin + * [5f531a44] Merge pull request #32 from waja/fix_check_webinject_epn. + Disable epn for check_webinject, cause it leaves temp files around + * [ef8ba64d] Remove 'read LICENSE ...' from check_graphite/copyright + + [ Jan Wagner ] + * [5c207ef5] Add check_snmp_time plugin + + [ Bernd Zeimetz ] + * [a6165e60] Merge remote-tracking branch 'origin/master' + * [de5770f4] Merge remote-tracking branch 'github/master' + * [41c9df6a] Merge pull request #38 from evgeni/ignore-ganeti + check_libs: ignore /var/lib/ganeti/ + * [4badebed] Merge pull request #37 from evgeni/check-raid-305. + Update check_raid to 3.0.5 + + -- Bernd Zeimetz Mon, 06 Jan 2014 12:56:27 +0100 + +nagios-plugins-contrib (8.20130824) unstable; urgency=low + + [ Jan Wagner ] + * [3bce1c4b] Merge remote-tracking branch 'debian/master' + * [bcf6f1d9] Merge remote-tracking branch 'bzed/master' + * [d436ca0e] Fixing check_raid for 3ware controllers when reporting "NOT-PRESENT" (Closes: #692598) + * [8f55cc69] add patch check_raid/3ware_fix_notpresent + * [506000a8] Merge remote-tracking branch 'bzed/master' + * [62bbdd2f] disable epn + * [6c73c15b] Auto update of debian/control + * [5e43a9ae] update check_ssl_cert + * [ad1c463d] update check_ssl_cert + * [4975ff97] Revert "Fixing check_raid for 3ware controllers when reporting "NOT-PRESENT"" + This reverts commit d436ca0e6a4e3147265627afd256856c9fab3836. + * [f6c71f97] drop removed patch + * [4e52a4ad] Merge remote-tracking branch 'bzed/master' + * [c01cd192] fix typo in patches/check_rbl/epn + + [ Bernd Zeimetz ] + * [a61aefc4] Add syslog output to check_checksums + * [62d55e7e] New plugin: check_ajp + * [5a00818c] Auto update of debian/control + * [eb29e6c6] Auto update of debian/copyright + * [cf6c7f44] Delete unused patch file check_raid/cciss_bugfix + * [a3e036b7] Fix an error message in check_raid if not using cciss_vol_status. + Use of uninitialized value in -x at /usr/lib/nagios/plugins/check_raid + line 2495. + Thanks to Stefan Kaltenbrunner + * [6dddc838] Updating changelog. + * [192396b7] Fix check_ajp to return CRITICAL on connection errors. + * [d8d41faf] Add config file for check_ajp. + * [4e092c04] Read 5 bytes only - thats all an AJP pong needs. + * [26cb156f] Be nice and close the AJP connection socket. + * [ccc8f7d6] check_ajp: print an error message if --app is not specified. + * [915d3708] Add -epn to check_packages. + Thanks to Salvatore Bonaccorso (Closes: #691012) + * [240ca0fc] Updating date/version in changelog. + * [8534630e] Update DSA nagios checks/scripts + * [5078ff97] Refresh patches for new dsa plugin versions + + -- Bernd Zeimetz Sat, 24 Aug 2013 00:06:27 +0200 + +nagios-plugins-contrib (7.20130614) unstable; urgency=low + + [ Bernd Zeimetz ] + * [036816ff] Merge pull request #15 from evgeni/master + check_packages should find security updates on the official security mirror too + * [658a2e93] Add check_checksums nagios plugin. + * [9d5d2056] Updating check_raid. + * [e3ec1293] Updating check_ssl_cert to 1.14.6 + * [779543ef] Updating check_hpasm to 4.6.3.2 + * [0c838ee9] Updating check_multipath to 0.1.9 + * [bec11251] Updating check_whois to 1.13 + * [8e0a65d0] Refreshing patches. + * [c0b88cdb] Auto update of debian/copyright + * [59648a17] Fix src link for check_hpasm + * [8c242d0f] Support pre-Wheezy versions of coretutils in check_checksums. + * [7d3d2a06] Update release date in changelog (gah!). + * [768e463b] Merge pull request #16 from evgeni/master + check_libs: ignore /var/lib/postgresql/ and /var/log/ + * [2b9aace5] Bumping standards-Verison, no changes needed. + + [ Jan Wagner ] + * [3bb873e4] disable epn for check_rbl + + [ Evgeni Golov ] + * [2a7ab4b8] check_libs: ignore /var/spool/ + + -- Bernd Zeimetz Fri, 14 Jun 2013 20:53:49 +0200 + +nagios-plugins-contrib (6.20130521) unstable; urgency=low + + * [e68c82e1] check_raid: do not run hpacucli if cciss_vol_status is available. + * [4a1c57e8] Also support tw-cli as additional name for the 3ware binary. + Thanks to Dennis Hoppe + * [eb5e1c7c] Add /run/ to the check_libs ignore file. + + -- Bernd Zeimetz Tue, 21 May 2013 22:11:50 +0200 + +nagios-plugins-contrib (5.20130307) experimental; urgency=low + + * [aa113517] Fix typos s/Recommands/Recommends/ + * [8e2b3019] Ensure typoed fieldnames in control files are not ignored. + * [ecead75d] Add extras folder. + * [0423b2a4] Add check_memory. + * [90ba4bec] Better command example for send_nsca_host_or_service_check_result + * [a564c43d] Add check_nfsmounts. + * [dc3d5425] Add Recommends for check_nfsmounts. + * [bf12e2e0] Add check_apt for check_multi. + * [52d46e1a] Add perl dependencies automatically. + * [e77b2058] Fix building check_memcached in Ubuntu. + * [98c1f4c1] extras needs to Suggests only. + * [f84d3678] Add check_clamav. + * [05cca8f6] Merge branch 'master' of vasks.debian.org:/git/pkg-nagios/pkg-nagios-plugins-contrib + * [80415a76] Add some missing directories to the check-libs config. + * [08a91068] Add check_varnish + * [15385538] Fix watch line of check_clamav. + * [74bf1d94] Update check_raid to version 3.0 + * [26209f4e] Update check_hpasm to 4.6.3 + * [6cd0fa8f] Updating check_multipath to 0.1.8 + * [34fa0ffc] Updating check_mysql_health to 2.1.8.2 + * [9e3f357d] Updating check_ssl_cert to 1.14.4 + * [6e6813a9] Refreshing patches. + * [b6f439c4] Remove unused check_varnish Makefile. + * [6151979b] Rename buggy auto-generated libexec directory. + * [4c08976d] Add pkg-config as check_varnish build dependency. + * [05f09fee] Auto update of debian/copyright + * [9d462776] Auto update of debian/control + * [09060a70] Add --enable-stack-protector to default options. + * [37896ae4] Add a cciss related bugfix to check_raid. + + -- Bernd Zeimetz Thu, 07 Mar 2013 00:31:10 +0100 + +nagios-plugins-contrib (4.20120702) unstable; urgency=low + + * [bf291c63] check_backuppc: move backuppc to Suggests. + Thanks to Werner Detter (Closes: #679871) + * [0997dfd3] Auto update of debian/control + + -- Bernd Zeimetz Mon, 02 Jul 2012 19:28:52 +0200 + +nagios-plugins-contrib (3.20120614) unstable; urgency=low + + * [30fd20be] check_packages should return CRITICAL for outstanding security updates. + * [3cd5656f] Fix last patch; refresh others. + * [2c3c1626] Remove extra debug print statement. + * [4e43ec28] Fix a funky ? : related bug. + * [e9172807] Add a check_apt.cmd example config for check_multi. + * [15d58b48] Remove unneeded || COUNT(CRITICAL) > 0 in check_apt.cmd + * [ea2f8abc] check_ipmi_sensor: updating to 3.1 + * [d405a206] check_ssl_cert: fix version number (was updated already). + + -- Bernd Zeimetz Thu, 14 Jun 2012 22:02:34 +0200 + +nagios-plugins-contrib (2.20120529) unstable; urgency=low + + * [c6b83cea] Fix email_delivery.cfg + * [f250c516] Merge pull request #5 from waja/master. + Add perl-doc at Suggests, as needed by check_email_delivery --help + * [9533beb7] Add check_webinject plugin. + * [05a3af45] Auto update of debian/copyright + * [255aa819] Auto update of debian/control + * [853905cf] Fix CLEANFILES in common.mk + * [3e75a059] Better webinject command definitions. + * [6275a3f3] check_raid should use cciss_vol_status if available. + Only use hpacucli if not. + * [9859f269] Add some missing version information. + * [d142da3c] Update check_raid to 1.107 + * [942e9f23] Updating check_email_delivery. + * [749c40e1] Auto update of debian/control + * [c593192c] Add Enhances: nagios-plugins,.... to the package. + * [24486361] Merge pull request #6 from waja/master + add check_backuppc + * [8d634bb6] Better/fixed CLEANFILES target handling. + Please note that CLEANFILES must be defined before including + ../common.mk + * [558e31aa] Merge branch 'master' of + vasks.debian.org:/git/pkg-nagios/pkg-nagios-plugins-contrib. + Conflicts: + check_backuppc/Makefile + * [dea493d7] Add (unfinished) DSA checks and check_libs from weaselutils. + * [5d0cf660] Finish integration of the check_libs plugin. + * [f2a3d5b6] Add (unfinished) control and copyright file for dsa checks. + * [f7c33de6] Auto update of debian/copyright + * [fd344412] Auto update of debian/control + * [8c9693ee] Updating check_hpasm to 4.5.2 + * [3f0a95dc] Updating check_raid to rev1.119 + * [5220084d] Update check_ssl_cert to 1.13.0 + * [c2c83516] More progress on the DSA plugins + * [a9f80a8d] Implement a way to install cronjob scripts. + CRONJOBDIR := /usr/lib/nagios/cronjobs + * [a8dc3842] Finishing dsa check packaging. + * [de999e73] Add config location patch for check_libs. + * [336ad307] Auto update of debian/control + * [33b86286] Typo fix. + * [d0140fd4] Auto update of debian/control + * [9059ab99] Don't reset LD/C/CXX/CPPFLAGS when including common.mk + * [f0e986fa] Add snmp to check_printer's Recommends. + * [f993848c] Add missing recommends for DSA plugins. + * [80938fd9] Support checks written in Python. + * [cbf5f37f] Auto update of debian/control + * [6f5f3157] Updating changelog. + * [72492690] Fix location of check_packages in cron script. + * [68284bb0] Add patch to fix check_packages output. + * [fd32ac40] check_libs needs libyaml-syck-perl. + * [63d54efa] Updating changelog. + * [f29b76d6] Add check_zone_auth plugin. + * [0f95a649] Add check_whois plugin. + * [3562b848] Add check_zone_rrsig_expiration plugin. + + -- Bernd Zeimetz Tue, 29 May 2012 22:33:51 +0200 + +nagios-plugins-contrib (1.20120228) unstable; urgency=low + + * [9079e12a] Add check-multipath.pl upstream version. + * [8e0a5908] Add patch for check_multipath + * [6da07d78] Ignore .rej and .orig files. + * [4bda0e7c] Upstream included our patch already. + * [21e3756b] Add packaging info for check_multipath. + * [9f664c91] Link debian/README.source to README for github fancyness. + * [a527810c] Add check_snmp_environment (unfinished). + * [41052baf] Add some useful error messages for the packaging-helper.py + * [afa04c7b] Finish check_snmp_environment plugin. + No .cfg file included yet. + * [743e5dfd] Add current version info to check_snmp_environment. + * [76bccfe3] Fix SHA1 watch in packaging-helper.py + * [8f4c4d13] Add check_printer plugin. + * [7dc69bf0] Add check_haproxy and check_httpd_status. + manually merging the work of Jan Wagner . + * [2577af3a] Better sorting of the quilt series file. + * [0526814c] Add nagios: -epn tags to the non epn checks in + check_email_delivery. + * [caadc8e7] Don't add a dependency if it is listed already. + * [974e8d36] Add check_hpasm. + * [0d3b76da] make -j should work for debian/rules now + * [6f4593ac] Fix too long description. + * [a3cce5ad] check_hpasm needs snmpwalk, recommend it. + * [4760a28d] shorter check_snmp_environment desc + * [1af8a931] Fix FSF address. + * [a2e9282a] Auto update of debian/copyright + * [3a702550] Auto update of debian/control + * [d4d74a06] Add --parallel to dh calls. + * [a41f66fe] Merge remote-tracking branch 'github/master' + Conflicts: + debian/control + * [65d87a13] Merge pull request #3 from waja/master + adding check_mysql_health + * [573abd8c] Ensure Depends is nto used in plugin control files. + * [42d0dcfe] Auto update of debian/control + * [58e56a7b] Auto-generate and install README.Debian.plugins + * [4a73d8a7] Enhance dependency description in debian/README.source + * [69f4e3e9] Merge pull request #4 from waja/master + fixing 'check_ipmi_sensor_exclude' command definition + (Closes: #661528) + + -- Bernd Zeimetz Tue, 28 Feb 2012 20:17:06 +0100 + +nagios-plugins-contrib (1.20120220) unstable; urgency=low + + * [462444da] Removing unused code copies of the install module. + + -- Bernd Zeimetz Mon, 20 Feb 2012 22:49:53 +0100 + +nagios-plugins-contrib (1.20120219) unstable; urgency=low + + * Initial Release. + + -- Bernd Zeimetz Sun, 19 Feb 2012 00:42:17 +0100 diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/compat b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/compat @@ -0,0 +1 @@ +8 diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/control b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/control new file mode 100644 index 0000000..213d467 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/control @@ -0,0 +1,223 @@ +Source: nagios-plugins-contrib +Section: net +Priority: optional +Maintainer: Debian Nagios Maintainer Group +Uploaders: Bernd Zeimetz , Jan Wagner , Stefan Schoerghofer , Petter Reinholdtsen , Leo Antunes +Build-Depends: debhelper (>= 8.0.0), + dh-autoreconf, + python, + python-debian, + quilt (>= 0.46-7), + autotools-dev, flex, libmemcached-dev [!hurd-i386], libvarnishapi-dev [!hurd-i386 !m68k], pkg-config, automake-1.15 +Standards-Version: 4.3.0 +Vcs-Git: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib.git +Vcs-Browser: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib + +Package: nagios-plugins-contrib +Architecture: any +Depends: ${misc:Depends} +Recommends: libsocket-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, libnet-snmp-perl, whois, nagios-plugins-basic, libnet-dns-perl, libdate-manip-perl, libmonitoring-plugin-perl | libnagios-plugin-perl (>= 0.31), libnet-cups-perl, debsecan, libio-socket-ssl-perl, libmail-imapclient-perl, libnet-smtp-tls-perl, libnet-smtp-ssl-perl, libnet-ssleay-perl, libnet-smtpauth-perl, bind9-host | knot-host, python, liblocale-gettext-perl, liblwp-useragent-determined-perl, snmp, freeipmi-tools, libipc-run-perl, lsof, libyaml-syck-perl, libxml-simple-perl, python-pymongo, libdbd-mysql-perl, libreadonly-perl, libdata-validate-domain-perl, libdata-validate-ip-perl, libredis-perl, libnet-snmp-perl (>= 5), libtimedate-perl, curl, file, openssl, libwebinject-perl, libnet-dns-sec-perl, ruby | ruby-interpreter, binutils, + ${perl:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Suggests: backuppc, perl-doc, libsys-virt-perl, cciss-vol-status (>= 1.10), mpt-status, smstools (>= 3~), expect, nagios-plugin-check-multi, moreutils, percona-toolkit, python2.7, python-pymongo +Enhances: nagios-plugins, nagios-plugins-basic, nagios-plugins-standard +Description: Plugins for nagios compatible monitoring systems + This package provides various plugins for Nagios compatible monitoring + systems like Nagios and Icinga. + It contains the following plugins: + . + * check_ajp (1): plugin to monitor the AJP ping response time + Should work with all application servers (Tomcat, JBoss,....) + which provide an AJPv13 connector. + * check_backuppc (1.1.0): plugin for checking on the status of + BackupPC backups + * check_bgpstate (1.0): plugin to check all BGP session on Cisco routers + * check_checksums (20130611): plugin to verify file checksums + against (local, not 100% secure) lists. + Supports md5 sha1 sha224 sha256 sha384 sha512 checksums. + * check_clamav (1.2): plugin to check for clamav signature freshness + This script is used to compare the version and signature + level of the currently running clamd daemon with the latest + available versions listed in the TXT record for + current.cvd.clamav.net. + * check_cups (0.2): plugin to check queues on a remote CUPS server + This plugin is monitoring of queues on a remote CUPS server, + which means that it doesn't need to be installed on the print + server and run via NRPE. + * check_debsecan (1.0.0): plugin to check the Debian CVE lists against your installed packages + * check_drbd (0.5.3): plugin to check DRBD device states + This plugin is for checking DRBD device states. It parses the + /proc/drbd device and analyses the output. + * check_email_delivery (0.7.1b): plugin to monitor email delivery + Some typical uses of this plugin include: + - check SMTP server + - check messages and quota on IMAP server + - check email delivery loop + - check auto-responder function + - keep an eye on email lag + - monitor automated mailboxes + - check email-to-FTP or other special email gateways + * check_etc_hosts (?): plugin to check /etc/hosts for DNS consistency + Check /etc/hosts, and make sure the content matches the information + in DNS. Lookup IP, and check if the names listed in /etc/hosts + maches the one in DNS. It will ignore entries with '# NAGIOSIGNORE' + at the end. + * check_etc_resolv: plugin to check /etc/resolv.conf + Check /etc/resolv.conf, and make sure the name servers listed are + working. It will ignore entries with '# NAGIOSIGNORE' at the end. + * check_graphite: Plugin to monitor graphite metrics + * check_haproxy (rev135): plugin to check the HAProxy statistics url + * check_haproxy_stats (1.0.1): check haproxy via admin socket + Different from check_haproxy this plugin is able to check + haproxy via the unix admin socket. + * check_hp_bladechassis (1.0.1): plugin to check the hardware health of + HP blade enclosures via SNMP. + The plugin is only tested with the c7000 enclosure. + * check_hpasm (4.8): plugin to check the hardware health of + HP Proliant Servers + It either uses snmp or - if installed - the hpasm package locally. + The plugin checks the health of + * Processors + * Power supplies + * Memory modules + * Fans + * CPU- and board-temperatures + * Raids + and alerts you if one of these components is faulty or operates + outside its normal parameters. + * check_httpd_status (rev204): plugin checking Apache or Lighthttpd + server-status page (using mod_status) + * check_ipmi_sensor (3.13): IPMI Sensor Monitoring Plugin + Plugin to monitor the hardware status (fan speed, temperaturs, + voltages, power usage, ...) of a server using IPMI. + * check_libs (0.2015012901 ): plugin to report the usage of no longer existing + libraries by running processes + * check_libs_ng (0.1.0): plugin to report processes using outdated libraries + depents on kernel features present in kernels newer than 3.3 + * check_libvirt (v7.0.3): monitor virtualization solutions using libvirt + * check_lm_sensors (4.1.1): plugin to monitor hardware sensors + and disk temperatures + * check_memcached (1.3): plugin to check memcached instances + It will give a critical message if a partiular memcached host is + inaccessible and generate a warning if the hit/miss ratio falls + below a given threshold or the number of evictions exceeds a given + limit. + Hit/miss and evictions are measured over a 30 minute interval, + using a memcached object to store the earlier statistics. + * check_memory (1.0.1): plugin to check for free memory + This plugin excludes the system cache and buffer, because + on some system with very stable memory usage it is perfectly + normal for system cache to fill in all available memory. + * check_mongodb (b33e763): Plugin script to monitor your MongoDB server(s) + * check_multipath (0.4.7): plugin to monitor the number of available and + failed paths of multipath devices + * check_mysql_health (2.2.2): plugin to check various parameters of a + MySQL database + * check_nfsmounts: checks whether there are stale NFS mounts on the host + * check_printer: plugin to check printer supply levels using SNMP + It outputs performance data for all supplies + found, for example toner and drum. + * check_raid (4.0.9): plugin to check sw/hw RAID status + The plugin looks for any known types of RAID configurations, + and checks them all. + Supports: + - Adaptec AAC RAID via aaccli or afacli or arcconf + - AIX software RAID via lsvg + - HP/Compaq Smart Array via cciss_vol_status (hpsa supported too) + - HP Smart Array Controllers and MSA Controllers via hpacucli + - HP Smart Array (MSA1500) via serial line + - Linux 3ware SATA RAID via tw_cli + - Linux Device Mapper RAID via dmraid + - Linux DPT/I2O hardware RAID controllers via /proc/scsi/dpt_i2o + - Linux GDTH hardware RAID controllers via /proc/scsi/gdth + - Linux LSI MegaRaid hardware RAID via CmdTool2 + - Linux LSI MegaRaid hardware RAID via megarc + - Linux LSI MegaRaid hardware RAID via /proc/megaraid + - Linux MegaIDE hardware RAID controllers via /proc/megaide + - Linux MPT hardware RAID via mpt-status + - Linux software RAID (md) via /proc/mdstat + - LSI Logic MegaRAID SAS series via MegaCli + - LSI MegaRaid via lsraid + - Serveraid IPS via ipssend + - Solaris software RAID via metastat + - Areca SATA RAID Support via cli64/cli32 + - Detecting SCSI devices or hosts with lsscsi + * check_rbl (1.4.4): plugin to check if a server is blacklisted + * check_redis (0.73): Redis Server check plugin + This plugin checks Redis NoSQL database status variables, + measures its response time and if specified allows one to set thresholds + on one or more key data. You can set thresholds for data in stats + variables and some of them are also conveniently available as long options + with special threshold syntax. Plugin also calculates statistics such as + Hitrate (calculated as rate of change of hits/misses) and memory use and + can check replication delay. + * check_smstools: plugin to check GSM Modems using smstools + check_smstools is a plugin to monitor a GSM modem + signal quality and registration status with smstools. + * check_snmp_environment (0.7): plugin to check various hardware statuses + Using snmp the plugin is able to retrieve Fan, power-supply, + voltage, temperature, card and module status and various other + information from Cisco, Nokia, Blue Coat, IronPort, + Foundry Network, Linux (using lm-sensors), Extreme Networks, + Juniper Networks, HP ProCurve, Netscreen, Citrix NetScaler + and Transmode Systems hardware. + * check_snmp_time (1.1): plugin to check the time on a server using SNMP + This plugin queries the remote systems time through SNMP and compares + it against the local time on the Nagios server. This identifies systems + with no correct time set and sends alarms if the time is off to far. + HOST-RESOURCES-MIB::hrSystemDate.0 used here returns 8 or 11 byte octets. + SNMP translation needs to be switched off and to be converted the + received SNMP data into readable strings. + * check_ssl_cert (1.83.0): plugin to check the CA and validity of an + X.509 certificate + * check_uptime (0.521): check_uptime returns uptime of a system + in text (readable) format as well as in minutes for performance graphing. + The plugin can either run on a local unix system (using 'uptime' command) + or check remote system by SNMP. Also it is able to report one CRITICAL + or WARNING alert if system has been rebooted since last check. + * check_v46 (2013-08-26T07:33:11Z): ipv4/ipv6 Nagios plugin wrapper + Nagios plugin wrapper for running the actual plugin for both / either of + IPv6 and/or IPv4. The worst result of the actual plugin runs will be + the wrapper return value, that is, result will be OK only if all checks + returned OK. Compatible with any plugin with standard command line options + -6/-4. + * check_varnish (672523d): plugin to monitor varnish instances + * check_webinject (1.80): plugin for testing web services + It uses the WebInject Perl module for automated testing of + web applications and web services. It can be used to check + individual system components that have HTTP interfaces + (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, + XML/SOAP Web Services, REST, etc). + * check_whois (1.24): plugin to check for the expiration of a domain. + The plugin may not yet work with all registrars, since their + output formats differ or there is no expiration date in the + whois output. + * check_zone_auth (1.13): plugin to ensure that the authoritative nameservers + for a given zone remain in sync. + * check_zone_rrsig_expiration (1.14): plugin to check for expiration of + signatures in dnssec-enabled zones. + * dsa (2300473): plugins from the Debian System Administrators + nagios plugins repository. + * check_cert_expire: check for certificate expiration + using openssl on the certificate file + * check_cert_expire_dir: checks if any of the *.crt files in + a directory on disk will expire soon + * check_dnssec_delegation: check for correct DNSSEC + delegation + * check_entropy: check if there is enough entropy available. + * check_packages: replacement for check_apt; needs a cronjob + to update the apt database regularly + * check_running_kernel: check if a system was rebooted after + a kernel upgrade + * check_soas: check SOA records + * check_statusfile: deliver the content of a status file + as check result + * extras (1): various scripts and extras + Not a plugin, but a collection of various useful + event/obsession handlers and similar scripts. + * percona-nagios-plugins (1.1.8): Percona Monitoring Plugins (nagios) + Nagios MySQL Monitoring plugins writting/provided by Percona. + . + Some scripts and binaries need more packages installed to work, which is + implemented as recommends. diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/control.in b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/control.in new file mode 100644 index 0000000..2b8b9a7 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/control.in @@ -0,0 +1,33 @@ +Source: nagios-plugins-contrib +Section: net +Priority: optional +Maintainer: Debian Nagios Maintainer Group +Uploaders: #AUTO_UPDATE_Uploaders# +Build-Depends: debhelper (>= 8.0.0), + dh-autoreconf, + python, + python-debian, + quilt (>= 0.46-7), + #AUTO_UPDATE_Build-Depends# +Standards-Version: 4.3.0 +Vcs-Git: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib.git +Vcs-Browser: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib + +Package: nagios-plugins-contrib +Architecture: any +Depends: ${misc:Depends} +Recommends: #AUTO_UPDATE_Recommends#, + ${perl:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Suggests: #AUTO_UPDATE_Suggests# +Enhances: nagios-plugins, nagios-plugins-basic, nagios-plugins-standard +Description: Plugins for nagios compatible monitoring systems + This package provides various plugins for Nagios compatible monitoring + systems like Nagios and Icinga. + It contains the following plugins: + . +#AUTO_UPDATE_Description# + . + Some scripts and binaries need more packages installed to work, which is + implemented as recommends. diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright new file mode 100644 index 0000000..2c81a37 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright @@ -0,0 +1,1209 @@ + +The Debian packaging is Copyright © 2012 Bernd Zeimetz and +is licensed under der GPL, either version 3 of the License, or +(at your option) any later version. + + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + + +Part of the Debian packaging is the content of the debian directory, +and the following files: + common*.mk + */control + */copyright + */Makefile + + +The copyright information for the included plugins is listed below: + + +check_ajp: + +The plugin was downloaded from: +http://blog.devnu11.net/projects/ + + Comment: Please send bug fixes and enhancements to + + check_ajp - nagios plugin for jboss monitoring + Copyright (C) 2010 Michel Rode + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + +------------------------------------------------------------------------------ + +check_backuppc: + +The plugin was downloaded from: +http://n-backuppc.sourceforge.net/ + + Copyright (C) 2006,2007 Seneca Cunningham + + License: GPL v2 + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + +------------------------------------------------------------------------------ + +check_bgpstate: + +The plugin was downloaded from: +https://raw.github.com/nagios-plugins/nagios-plugins/ba7615631add0b610ada6a819d6c8f8c46a2d36d/contrib/check_bgpstate.pl + + C) 2000 Christoph Kron + + License: GPL-2 + + On Debian systems, the complete text of the GNU General + Public License version 1 can be found in "/usr/share/common-licenses/GPL-2". + + +------------------------------------------------------------------------------ + +check_checksums: + + Copyright (C) 2013 Bernd Zeimetz + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + + +------------------------------------------------------------------------------ + +check_clamav: + +The plugin was downloaded from: +http://exchange.nagios.org/directory/Plugins/Anti-2DVirus/ClamAV/ClamAV-check-plugin/details + + Copyright (c) 2005-2008 Darren Spruell + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + + +------------------------------------------------------------------------------ + +check_cups: + +The plugin was downloaded from: +https://exchange.icinga.org/oldmonex/1867-check_cups/ + + Copyright (C) Steve Huff + + This Nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY. + It may be used, redistributed and/or modified under the terms of the GNU + General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt). + + + +------------------------------------------------------------------------------ + +check_debsecan: + +The plugin was downloaded from: +https://github.com/AMD1212/check_debsecan + + Copyright (C) 2017 Stefan Schörghofer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + + +------------------------------------------------------------------------------ + +check_drbd: + +The plugin was downloaded from: +https://exchange.icinga.org/oldmonex/512-check_drbd/ + + Copyright (C) Brandon Lee Poyner + + The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute + copies of the plugins under the terms of the GNU General Public License. + + On Debian systems, the complete text of the GNU General + Public License version 1 can be found in "/usr/share/common-licenses/GPL-1". + + +------------------------------------------------------------------------------ + +check_email_delivery: + +The plugin was downloaded from: +http://buhacoff.net/software/check_email_delivery/ + + Copyright (C) 2005-2011 Jonathan Buhacoff + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + + +------------------------------------------------------------------------------ + +check_etc_hosts: + + Copyright (C) 2002 Petter Reinholdtsen + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + + +------------------------------------------------------------------------------ + +check_etc_resolv: + + Copyright (C) 2001 Petter Reinholdtsen + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + + +------------------------------------------------------------------------------ + +check_graphite: + +The plugin was downloaded from: +https://github.com/disqus/nagios-plugins + + Copyright: (c) 2012 DISQUS. + License: Apache License 2.0 + + On Debian systems, a copy of the Apache License 2.0 can be found in + /usr/share/common-licenses/Apache-2.0 + + +------------------------------------------------------------------------------ + +check_haproxy: + +The plugin was downloaded from: +http://cvs.orion.education.fr/viewvc/viewvc.cgi/nagios-plugins-perl/trunk/plugins/check_haproxy.pl?view=log + + 2010 Stéphane Urbanovski + + License: GPL v2 + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + + + +------------------------------------------------------------------------------ + +check_haproxy_stats: + +The plugin was downloaded from: +http://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/check_haproxy_stats-2Epl/details + + Copyright (C) 2012, Giacomo Montagner + + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl 5.10.1. + For more details, see http://dev.perl.org/licenses/artistic.html + + This program is distributed in the hope that it will be + useful, but without any warranty; without even the implied + warranty of merchantability or fitness for a particular purpose. + + On Debian systems a copy of the Artistic license can be found + in /usr/share/common-licenses/Artistic. + + + +------------------------------------------------------------------------------ + +check_hp_bladechassis: + +The plugin was downloaded from: +http://folk.uio.no/trondham/software/check_hp_bladechassis.html + + AUTHOR: Trond H. Amundsen + + + Copyright (C) 2010 Trond H. Amundsen + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + + +------------------------------------------------------------------------------ + +check_hpasm: + +The plugin was downloaded from: +http://labs.consol.de/lang/en/nagios/check_hpasm/ + + AUTHOR: Gerhard Lausser + License: GPL v2 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + +------------------------------------------------------------------------------ + +check_httpd_status: + +The plugin was downloaded from: +http://cvs.orion.education.fr/viewvc/viewvc.cgi/nagios-plugins-perl/trunk/plugins/check_httpd_status.pl?view=log + + Dennis D. Spreen (dennis at spreendigital.de) + De Bodt Lieven (Lieven dot DeBodt at gmail.com) + Karsten Behrens (karsten at behrens dot in) + Geoff McQueen (geoff dot mcqueen at hiivesystems dot com ) + Dave Steinberg (dave at redterror dot net) + Gerhard Lausser (gerhard dot lausser at consol dot de) + Stéphane Urbanovski + + License: GPL v2 + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + + + +------------------------------------------------------------------------------ + +check_ipmi_sensor: + +The plugin was downloaded from: +http://www.thomas-krenn.com/en/oss/ipmi-plugin.html + + Copyright (C) 2009-2013 Thomas-Krenn.AG (written by Werner Fischer), + additional contributors see changelog.txt + + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 3 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along with + this program; if not, see . + + + + License and copyright for contrib/default-combinedgraph.template: + + Author: Andy Spiegl + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + + +------------------------------------------------------------------------------ + +check_libs: + +The plugin was downloaded from: +https://gitweb.noreply.org/tools/monitoring.git/ + + + check_libs: + + Copyright (C) 2005, 2006, 2007, 2008, 2012 Peter Palfrader + 2012 Uli Martens + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + update-check_libs-status: + + Based on update-apt-status + Copyright 2009 Peter Palfrader + + Copyright 2014 conova communications GmbH + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +------------------------------------------------------------------------------ + +check_libs_ng: + + + check_libs_ng: + + Copyright (c) 2017 Leo Antunes + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------------ + +check_libvirt: + +The plugin was downloaded from: +http://git.op5.org/gitweb?p=system-addons/plugins/op5/check_libvirt.git;a=summary + + License: GPL 2 + Copyright (c) 2011 op5 AB + Author: Kostyantyn Hushchyn + + For direct contact with any of the op5 developers send a mail to + op5-users@lists.op5.com + Discussions are directed to the mailing list op5-users@op5.com, + see http://lists.op5.com/mailman/listinfo/op5-users + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + + + +------------------------------------------------------------------------------ + +check_lm_sensors: + +The plugin was downloaded from: +https://github.com/matteocorti/check_lm_sensors + + Copyright (c) 2007, ETH Zurich. + + Author: Matteo Corti + + This module is free software; you can redistribute it and/or modify it + under the terms of GNU general public license (gpl) version 3. + + +------------------------------------------------------------------------------ + +check_memcached: + +The plugin was downloaded from: +http://exchange.nagios.org/directory/Plugins/Websites,-Forms-and-Transactions/check_memcached-IV/details + + This program was initially developed by Lonely Planet for internal use + and has kindly been made available to the Open Source community for + redistribution and further development under the terms of the + GNU General Public License v3: http://www.gnu.org/licenses/gpl.html + + This program is supplied 'as-is', in the hope that it will be useful, but + neither Lonely Planet nor the authors make any warranties or guarantees + as to its correct operation, including its intended function. + + Or in other words: + Test it yourself, and make sure it works for YOU. + + Author: George Hansper e-mail: George.Hansper@lonelyplanet.com.au + + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + + +------------------------------------------------------------------------------ + +check_memory: + +The plugin was downloaded from: +https://github.com/dermoth/misc-code/blob/master/nagios/plugins/check_memory + + Copyright (C) 2007 Thomas Guyot-Sionnest + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA. + + +------------------------------------------------------------------------------ + +check_mongodb: + +The plugin was downloaded from: +https://github.com/mzupan/nagios-plugin-mongodb + + Copyright: (c) 2012, Mike Zupan + License: BSD + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------------------------------------------------------------------------ + +check_multipath: + +The plugin was downloaded from: +http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check-2Dmultipath-2Epl/details + + Copyright (C) 2011 Hinnerk Rümenapf, Trond H. Amundsen, Gunther Schlegel, Matija Nalis, + Bernd Zeimetz + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + + +------------------------------------------------------------------------------ + +check_mysql_health: + +The plugin was downloaded from: +http://labs.consol.de/lang/en/nagios/check_mysql_health/ + + AUTHOR: Gerhard Lausser + License: GPL v2 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + +------------------------------------------------------------------------------ + +check_nfsmounts: + +The plugin was downloaded from: +http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_nfsmounts/details + + Author: Clint Byrum + + Copyright 2007 Adicio, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + + +------------------------------------------------------------------------------ + +check_printer: + +The plugin was downloaded from: +https://www.secure-computing.net/trac/browser/SCN%20Open%20Source/trunk/nagios/ + + Copyright (c) 2007,2011 Eric F Crist + + All rights reserved. + + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + +------------------------------------------------------------------------------ + +check_raid: + +The plugin was downloaded from: +https://github.com/glensc/nagios-plugin-check_raid + + 2004-2006 Steve Shipway, university of auckland, + 2009-2013 Elan Ruusamäe + + License: GPL v2 + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + + + +------------------------------------------------------------------------------ + +check_rbl: + +The plugin was downloaded from: +https://github.com/matteocorti/check_rbl + + Copyright (c) 2009 ETH Zurich + Copyright (c) 2010 Elan Ruusamae + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA. + + +------------------------------------------------------------------------------ + +check_redis: + +The plugin was downloaded from: +https://github.com/willixix/WL-NagiosPlugins + + Author : William Leibzon - william@leibzon.org + Licence : GPL - summary below, full text at http://www.fsf.org/licenses/gpl.txt + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA. + + +------------------------------------------------------------------------------ + +check_smstools: + +The plugin was downloaded from: +http://exchange.nagios.org/directory/Plugins/Hardware/Mobile-Devices/check_smstools/details + + Author: Patrick Schoenfeld + This file is licensed under the terms of the GPL v2 or later. + + +------------------------------------------------------------------------------ + +check_snmp_environment: + +The plugin was downloaded from: +http://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Cisco/Check-various-hardware-environmental-sensors/details + + + Author : Michiel Timmers ( michiel.timmers AT gmx.net) + Based on : "check_snmp_env" plugin (version 1.3) from Patrick Proy + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + + +------------------------------------------------------------------------------ + +check_snmp_time: + +The plugin was downloaded from: +https://raw.github.com/mludvig/nagios-plugins/master/check_snmp_time.pl + + (c) 2007 Karl Bolingbroke + (c) 2010 Frank Migge + + License: GPL-1 + + On Debian systems, the complete text of the GNU General + Public License version 1 can be found in "/usr/share/common-licenses/GPL-1". + + +------------------------------------------------------------------------------ + +check_ssl_cert: + +The plugin was downloaded from: +https://github.com/matteocorti/check_ssl_cert + + Copyright (c) 2007-2011 ETH Zurich + + Authors: + + Dan Wallis + Lawren Quigley-Jones + Marc Fournier + Marcus Rejås + Matteo Corti + Matthias Fuhrmeister + Raphael Thoma + Scott Worthington + Sven Nierlein + Tuomas Haarala + Wolfgang Schricker + Yannick Gravel + + This module is free software; you can redistribute it and/or modify it + under the terms of GNU general public license (gpl) version 3. + + +------------------------------------------------------------------------------ + +check_uptime: + +The plugin was downloaded from: +https://github.com/willixix/WL-NagiosPlugins + + Authors : William Leibzon - william@leibzon.org + Licence : GPL - summary below, full text at http://www.fsf.org/licenses/gpl.txt + + =========================== PROGRAM LICENSE ================================= + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + + +------------------------------------------------------------------------------ + +check_v46: + +The plugin was downloaded from: +https://gitorious.org/nagios-monitoring-tools/nagios-monitoring-tools/ + + 2012-02, 2012-03 Ville.Mattila@csc.fi + Copyright (C) 2012-2013 CSC - IT Center for Science Ltd. + + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 3 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along with + this program; if not, see . + + + +------------------------------------------------------------------------------ + +check_varnish: + +The plugin was downloaded from: +https://github.com/varnish/varnish-nagios + + + Copyright (c) 2007-2009 Linpro AS + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + +------------------------------------------------------------------------------ + +check_webinject: + +The plugin was downloaded from: +http://labs.consol.de/lang/en/nagios/check_webinject/ + + Copyright 2010 Sven Nierlein (nierlein@cpan.org) + Copyright 2004-2006 Corey Goldberg (corey@goldb.org) + + This file is part of WebInject. + + WebInject is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + WebInject is distributed in the hope that it will be useful, + but without any warranty; without even the implied warranty of + merchantability or fitness for a particular purpose. See the + GNU General Public License for more details. + + + +------------------------------------------------------------------------------ + +check_whois: + +The plugin was downloaded from: +http://dns.measurement-factory.com/tools/nagios-plugins/check_whois.html + + Copyright (c) 2008, The Measurement Factory, Inc. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + Neither the name of The Measurement Factory nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + +------------------------------------------------------------------------------ + +check_zone_auth: + +The plugin was downloaded from: +http://dns.measurement-factory.com/tools/nagios-plugins/check_zone_auth.html + + Copyright (c) 2008, The Measurement Factory, Inc. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + Neither the name of The Measurement Factory nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + +------------------------------------------------------------------------------ + +check_zone_rrsig_expiration: + +The plugin was downloaded from: +http://dns.measurement-factory.com/tools/nagios-plugins/check_zone_rrsig_expiration.html + + Copyright (c) 2008, The Measurement Factory, Inc. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + Neither the name of The Measurement Factory nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + +------------------------------------------------------------------------------ + +dsa: + +The plugin was downloaded from: +https://salsa.debian.org/dsa-team/mirror/dsa-nagios + + checks/dsa-check-cert-expire:# Copyright 2009 Peter Palfrader + checks/dsa-check-cert-expire-dir:# Copyright 2009,2016 Peter Palfrader + checks/dsa-check-dnssec-delegation:# Copyright (c) 2010, 2014, 2015 Peter Palfrader + checks/dsa-check-entropy:# Copyright 2011 Peter Palfrader, Copyright 2014 Hendrik Koehler + checks/dsa-check-soas:# Copyright 2006, 2012 Peter Palfrader + checks/dsa-check-packages:# Copyright (C) 2008, 2009 Peter Palfrader + checks/dsa-check-statusfile:# Copyright 2008, 2012 Peter Palfrader + checks/dsa-check-running-kernel:# Copyright 2008,2009,2011 Peter Palfrader + checks/dsa-check-running-kernel:# Copyright 2009 Stephen Gran + checks/dsa-check-running-kernel:# Copyright 2010 Uli Martens + checks/dsa-check-running-kernel:# Copyright 2011 Alexander Reichle-Schmehl + sbin/dsa-update-apt-status:# Copyright 2009 Peter Palfrader + sbin/dsa-update-unowned-file-status:# Copyright 2012 Peter Palfrader + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +------------------------------------------------------------------------------ + +extras: + + + send_nsca_host_or_service_check_result: + + Based on the example in the icinga documentation. + Enhanced to handle service and host checks by + Bernd Zeimetz . + + Copyright (c) 1999-2009 Ethan Galstad (nagios@nagios.org) + Copyright (c) 2009-2010 Icinga Development Team (info@icinga.org) + Copyright (c) 2012 Bernd Zeimetz + + License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + On Debian systems, the complete text of the GNU General Public + License, version 2, can be found in /usr/share/common-licenses/GPL-2. + + + +------------------------------------------------------------------------------ + +percona-nagios-plugins: + +The plugin was downloaded from: +http://www.percona.com/doc/percona-monitoring-plugins/ + + Copyright 2012-2014 Baron Schwartz, 2012-2014 Percona Inc. + + THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation, version 2. You should have received a copy of the GNU General + Public License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright.in b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright.in new file mode 100644 index 0000000..3635160 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/copyright.in @@ -0,0 +1,35 @@ + +The Debian packaging is Copyright © 2012 Bernd Zeimetz and +is licensed under der GPL, either version 3 of the License, or +(at your option) any later version. + + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + + +Part of the Debian packaging is the content of the debian directory, +and the following files: + common*.mk + */control + */copyright + */Makefile + + +The copyright information for the included plugins is listed below: + + +#AUTO_UPDATE_Copyright# diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/gbp.conf b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/gbp.conf new file mode 100644 index 0000000..5c1f8a6 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/gbp.conf @@ -0,0 +1,4 @@ +[git-buildpackage] +sign-tags = True +posttag = git push && git push --tags +postbuild = lintian --info --display-info --display-experimental --pedantic --show-overrides $GBP_CHANGES_FILE diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.docs b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.docs new file mode 100644 index 0000000..27af518 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.docs @@ -0,0 +1 @@ +debian/README.Debian.plugins diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.lintian-overrides b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.lintian-overrides new file mode 100644 index 0000000..6f1557b --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/nagios-plugins-contrib.lintian-overrides @@ -0,0 +1,3 @@ +# as mentioned in the description people need to +# install whats mentioned in recommends. +nagios-plugins-contrib: missing-depends-line diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/packaging-helper.py b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/packaging-helper.py new file mode 100755 index 0000000..3aed5ac --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/packaging-helper.py @@ -0,0 +1,330 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import sys +import os +import re +from debian import deb822 + +ALLOWED_FIELDS = ('Suggests', + 'Recommends', + 'Depends', + 'Uploaders', + 'Version', + 'Homepage', + 'Watch', + 'Description', + 'Build-Depends') + +ALLOWED_TESTS_FIELDS = ('Depends', + 'Restrictions', + 'Tests', + 'Test-Command') + +# find all plugins +__basedir__ = os.path.realpath(os.path.dirname(sys.argv[0]) + os.path.sep + '..') +__plugins__ = [p for p in os.listdir(__basedir__) + if (os.path.isdir(__basedir__ + os.path.sep + p) and p!='debian' and p!='.git' and p!='.pc')] +__plugins__.sort() + + +__uploaders_re__ = re.compile(r', *') +__shlibs_re__ = re.compile(r'shlibs:Depends=(.+)') + +def __get_control_data__(): + # returns (plug, parsed control field data) + # We look at the first paragraph only! + for plugin in __plugins__: + data=(plugin, [x for x in deb822.Packages.iter_paragraphs(file(__basedir__ + os.path.sep+ plugin + os.path.sep + 'control'))][0]) + for key in data[1].iterkeys(): + if key not in ALLOWED_FIELDS: + raise Exception("Unknown control field in plugin %s: %s" %(data[0],key)) + yield data + +def __get_tests_data__(): + # returns (plug, parsed control field data) + # We look at the first paragraph only! + for plugin in __plugins__: + tests_file = __basedir__ + os.path.sep+ plugin + os.path.sep + 'tests' + if os.path.exists(tests_file): + data=(plugin, [x for x in deb822.Packages.iter_paragraphs(file(tests_file))][0]) + for key in data[1].iterkeys(): + if key not in ALLOWED_TESTS_FIELDS: + raise Exception("Unknown tests/control field in plugin %s: %s" %(data[0],key)) + yield data + +def generate_debian_readme_plugins(): + plugins_depends={} + for plugin, _control in __get_control_data__(): + plugins_depends[plugin]={} + # look trough keys we might want to merge + for key in ['Suggests', 'Recommends']: + if _control.has_key(key): + plugins_depends[plugin][key]=deb822.PkgRelation.parse_relations(_control[key]) + + # check for generated substvars files + substvarsfile = __basedir__ + os.path.sep + 'debian' + os.path.sep + plugin + os.path.sep + 'substvars' + if os.path.exists(substvarsfile): + with open(substvarsfile, 'r') as fd: + substvars = fd.read() + try: + rel = deb822.PkgRelation.parse_relations(__shlibs_re__.findall(substvars)[0]) + if plugins_depends[plugin].has_key('Recommends'): + plugins_depends[plugin]['Recommends'].extend(rel) + else: + plugins_depends[plugin]['Recommends']=rel + except IndexError: + pass + + # generate content + result=[] + for plugin in __plugins__: + if len(plugins_depends[plugin]) > 0: + rtext = '%s:' %(plugin,) + if plugins_depends[plugin].has_key('Recommends'): + rtext = '%s\n Required Packages: %s' %( + rtext, + deb822.PkgRelation.str(plugins_depends[plugin]['Recommends']) + ) + if plugins_depends[plugin].has_key('Suggests'): + rtext = '%s\n Optional Packages: %s' %( + rtext, + deb822.PkgRelation.str(plugins_depends[plugin]['Suggests']) + ) + result.append(rtext) + + readmefile=__basedir__ + os.path.sep + 'debian' + os.path.sep + 'README.Debian.plugins' + with open(readmefile + '.in', 'r') as fd: + readme=fd.read() + + readme=readme.replace('#AUTO_UPDATE_README#', '\n\n'.join(result)) + + with open(readmefile, 'w') as fd: + fd.write(readme) + + + +def update_control(): + control_data = { + 'Suggests' : [], + 'Recommends' : [], + 'Build-Depends' : [], + 'Description' : [], + 'Uploaders' : [] + } + + for plugin, _control in __get_control_data__(): + # look trough keys we might want to merge + if _control.has_key('Depends'): + print "Don't use 'Depends' in %s/control - use 'Recommends' instead" %(plugin,) + sys.exit(1) + for key in ['Build-Depends', 'Suggests', 'Recommends']: + if _control.has_key(key): + for rel in deb822.PkgRelation.parse_relations(_control[key]): + if not rel in control_data[key]: + control_data[key].append(rel) + # extract description + description = ' * %s' %(plugin,) + if _control.has_key('Version'): + description = '%s (%s)' %(description, _control['Version']) + try: + description = '%s: %s' %(description, _control['Description'].replace('\n','\n ')) + except KeyError: + print 'Description for plugin %s missing!' %(plugin,) + sys.exit(1) + + try: + for uploader in __uploaders_re__.split(_control['Uploaders']): + if uploader not in control_data['Uploaders']: + control_data['Uploaders'].append(uploader) + except KeyError: + 'Uploaders for plugin %s missing!' %(plugin,) + sys.exit(1) + +# disables right now. do we want to have the homepage in the description? +# if _control.has_key('Homepage'): +# description = '%s\n Homepage: %s' %(description, _control['Homepage']) + + control_data['Description'].append(description) + + + with open(__basedir__ + os.path.sep + 'debian' + os.path.sep + 'control.in', 'r') as f: + control_in = f.read() + + for k, v in control_data.iteritems(): + if k == 'Description': + control_in = control_in.replace('#AUTO_UPDATE_Description#', u'\n'.join(v)) + elif k == 'Uploaders': + control_in = control_in.replace('#AUTO_UPDATE_Uploaders#', u', '.join(v)) + else: + control_in = control_in.replace('#AUTO_UPDATE_%s#' %(k, ), deb822.PkgRelation.str(v)) + + with open(__basedir__ + os.path.sep + 'debian' + os.path.sep + 'control', 'w') as f: + f.write(control_in) + + +def update_tests(): + with open(__basedir__ + os.path.sep + 'debian' + os.path.sep + 'tests' + os.path.sep + 'control', 'w') as f: + for plugin, _control in __get_tests_data__(): + if 'Depends' in _control and '@' not in _control['Depends']: + _control['Depends'] += ', @' + f.write(str(_control)) + f.write("\n") + + +def update_copyright(): + + copyrights = [] + for plugin, _control in __get_control_data__(): + _p_copyright = '%s:\n\n' %(plugin,) + if _control.has_key('Homepage'): + _p_copyright = '%sThe plugin was downloaded from: \n%s\n\n' %(_p_copyright, _control['Homepage']) + + try: + with open(__basedir__ + os.path.sep + plugin + os.path.sep + 'copyright', 'r') as f: + _p_copyright = '%s %s' %(_p_copyright, f.read().decode('utf-8').replace('\n','\n ')) + except IOError: + print 'copyright file for plugin %s missing!' %(plugin,) + sys.exit(1) + + copyrights.append(_p_copyright) + + with open(__basedir__ + os.path.sep + 'debian' + os.path.sep + 'copyright.in', 'r') as f: + copyright_in = f.read().decode('utf-8') + + copyright_in = copyright_in.replace('#AUTO_UPDATE_Copyright#', u'\n\n------------------------------------------------------------------------------\n\n'.join(copyrights)) + + with open(__basedir__ + os.path.sep + 'debian' + os.path.sep + 'copyright', 'w') as f: + f.write(copyright_in.encode('utf-8')) + + +def watch(): + + import apt_pkg + apt_pkg.init_system() + + import hashlib + + import urllib2 + url_opener = urllib2.build_opener() + url_opener.addheaders = [('User-agent', 'Debian nagios-plugins-contrib 1.0')] + + watch_re = re.compile(r'([^ ]+) (.+)') + whitespace_re = re.compile(r'\s') + for plugin, _control in __get_control_data__(): + if not _control.has_key('Watch'): + print 'WARNING: %s - missing watch information!' %(plugin,) + continue + try: + url, check = watch_re.findall(_control['Watch'])[0] + except IndexError: + print 'WARNING: %s - failed to parse Watch line!' %(plugin,) + continue + try: + f=url_opener.open(url) + content = f.read() + f.close() + except IOError: + print 'WARNING: %s - failed to retrieve %s !' %(plugin,url) + continue + check=check.strip() + if check.startswith('SHA1:'): + check=check.replace('SHA1:','') + new_sha=hashlib.sha1(content).hexdigest() + if check != new_sha: + print 'UPDATE NECESSARY: %s - SHA1 checksum does not match! New checksum: %s' %(plugin,new_sha) + else: + print 'OK: %s' %(plugin,) + else: + if not _control.has_key('Version'): + print 'WARNING: %s - missing current version information!' %(plugin,) + continue + check_re=re.compile(check) + # check for simple matches + found_versions=check_re.findall(content) + # now also see if the regexp author added too many .* parts and the match is a bit buggy + # we replace all whitespaces with \n and try again. + for v in check_re.findall(whitespace_re.sub('\n',content)): + if not v in found_versions: + found_versions.append(v) + if not found_versions: + print "WARNING: %s - regex does not match!" %(plugin) + continue + + new_version = found_versions[0] + for v in found_versions: + if (apt_pkg.version_compare(v, found_versions[0]) > 0): + new_version = v + if (apt_pkg.version_compare(new_version, _control['Version'].strip()) > 0): + print 'UPDATE NECESSARY: %s - found new version %s' %(plugin, new_version) + elif (apt_pkg.version_compare(new_version, _control['Version'].strip()) < 0): + print 'WARNING: %s - could not find the current version (found: %s, control says: %s)!' %(plugin, new_version, _control['Version']) + else: + print 'OK: %s' %(plugin,) + + + +if __name__ == '__main__': + from optparse import OptionParser + prog = os.path.basename(sys.argv[0]) + usage = ('%s [--copyright] [--control] [--watch] [--generate-readme] [-h|--help]') %(prog,) + parser = OptionParser(usage=usage) + + parser.add_option( + '--copyright', + dest='copyright', + action='store_true', + default=False, + help='Update debian/copyright' + ) + + parser.add_option( + '--control', + dest='control', + action='store_true', + default=False, + help='Update debian/control' + ) + + parser.add_option( + '--tests', + dest='tests', + action='store_true', + default=False, + help='Update debian/tests/control' + ) + + parser.add_option( + '--watch', + dest='watch', + action='store_true', + default=False, + help='Search for updates' + ) + parser.add_option( + '--generate-readme', + dest='generate_readme', + action='store_true', + default=False, + help='Generate debian/README.Debian.plugins' + ) + (options, args) = parser.parse_args() + + if not (options.control or options.copyright or options.watch or options.tests or options.generate_readme): + parser.print_help() + sys.exit(1) + + if options.control: + update_control() + + if options.tests: + update_tests() + + if options.copyright: + update_copyright() + + if options.watch: + watch() + + if options.generate_readme: + generate_debian_readme_plugins() diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_ajp/return_critical_on_failed_connection b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_ajp/return_critical_on_failed_connection new file mode 100644 index 0000000..80f18f4 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_ajp/return_critical_on_failed_connection @@ -0,0 +1,79 @@ +--- a/check_ajp/check_ajp ++++ b/check_ajp/check_ajp +@@ -7,6 +7,7 @@ + # + # check_ajp - nagios plugin for jboss monitoring + # Copyright (C) 2010 Michel Rode ++# Copyright (C) 2013 Bernd Zeimetz + # + # This program is free software: you can redistribute it and/or modify + # it under the terms of the GNU General Public License as published by +@@ -30,6 +31,8 @@ use strict; + use Getopt::Long; + use Socket; + use Time::HiRes 'time'; ++use IO::Socket; ++ + + my $app = ''; + my $port = '8009'; +@@ -37,9 +40,14 @@ my $warntime = '1.5'; + my $crittime = '3'; + my $timeout = '10'; + +-my ($iaddr, $paddr, $proto, $sock, $time1, $time2); ++my ($sock, $time1, $time2); + my $pong = 'null'; + ++sub conndie{ ++ my $msg = shift; ++ print "CRITICAL : $msg\n"; ++ exit 2; ++} + sub xdie{ + my $msg = shift; + printf STDERR "Usage: check_ajp --app ip.of.the.app [--port 8009 --warn 1 --crit 2 --timeout 5]\n\n"; +@@ -49,6 +57,10 @@ sub xdie{ + + GetOptions("app=s" => \$app, "port=s" => \$port, "warn=f" => \$warntime, "crit=f" => \$crittime, "timeout=f" => \$timeout); + ++if ($app eq '') { ++ xdie('--app not given') ++} ++ + my $ping = pack 'C5' # Format template. + , 0x12, 0x34 # Magic number for server->container packets. + , 0x00, 0x01 # 2 byte int length of payload. +@@ -61,24 +73,23 @@ my $expected = pack 'C5' # Format tem + , 0x09 # Type of packet. 9 = CPong reply. + ; + +-$iaddr = inet_aton($app) || xdie("No host given !"); +-$paddr = sockaddr_in($port, $iaddr) || xdie("Wrong port !"); +-$proto = getprotobyname 'tcp'; +- + $time1 = time(); + + eval { + local $SIG{ALRM} = sub { die "alarm\n" }; + alarm($timeout); +- socket $sock, PF_INET, SOCK_STREAM, $proto || xdie("socket !"); +- connect $sock, $paddr || xdie("connect !"); +- syswrite $sock, $ping || xdie("syswrite !"); +- sysread $sock, $pong, 5 || xdie("sysread !"); ++ $sock = IO::Socket::INET->new(Proto => "tcp", ++ PeerAddr => $app, ++ PeerPort => $port) || conndie($@); ++ $sock->autoflush(1); ++ print $sock $ping; ++ $sock->recv($pong,5); ++ close $sock; + alarm(0); + }; + + if ($@) { +- die unless $@ eq "alarm\n"; ++ conndie($@) unless $@ eq "alarm\n"; + $time2 = (time() - $time1); + printf "CRITICAL - AJP - Timeout after %1.0fs\n",$time2; + exit 2; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_backuppc/use_nagios_plugins b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_backuppc/use_nagios_plugins new file mode 100644 index 0000000..15bcf2a --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_backuppc/use_nagios_plugins @@ -0,0 +1,34 @@ +diff --git a/check_backuppc/check_backuppc-1.1.0/check_backuppc b/check_backuppc/check_backuppc-1.1.0/check_backuppc +index d8ea383..c994c20 100755 +--- a/check_backuppc/check_backuppc-1.1.0/check_backuppc ++++ b/check_backuppc/check_backuppc-1.1.0/check_backuppc +@@ -32,7 +32,28 @@ no utf8; + + # Nagios + use lib "NAGIOS_LIB"; +-use utils qw(%ERRORS $TIMEOUT); ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(qw(%ERRORS)); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); ++} + use POSIX qw(strftime difftime); + use Getopt::Long; + Getopt::Long::Configure('bundling'); diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_bgpstate/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_bgpstate/epn new file mode 100644 index 0000000..3ef7667 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_bgpstate/epn @@ -0,0 +1,10 @@ +diff --git a/check_bgpstate/check_bgpstate b/check_bgpstate/check_bgpstate +index 645d750..6ddf8bf 100644 +--- a/check_bgpstate/check_bgpstate ++++ b/check_bgpstate/check_bgpstate +@@ -1,4 +1,5 @@ + #!/usr/bin/perl -w ++# nagios: -epn + # + # check_bgpstate.pl - nagios plugin + # diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_clamav/clamav_locations b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_clamav/clamav_locations new file mode 100644 index 0000000..c857987 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_clamav/clamav_locations @@ -0,0 +1,73 @@ +--- a/check_clamav/check_clamav ++++ b/check_clamav/check_clamav +@@ -16,18 +16,18 @@ + # + ################################################################################ + # This script is used to compare the version and signature level of the +-# currently running clamd daemon with the latest available versions listed in ++# currently running clamscan daemon with the latest available versions listed in + # the TXT record for current.cvd.clamav.net. + # + # In order to use this script, you might need to make the following adjustments: + # - Set the "use lib" path correctly (where utils.pm is located.) +-# - Set the path to your clamd binary in $clamd_cmd. ++# - Set the path to your clamscan binary in $clamscan_cmd. + # + # This plugin requires the Net::DNS Perl module. + ################################################################################ + + # Plugin directory / home of utils.pm. +-use lib "/usr/local/libexec/nagios"; ++use lib "/usr/lib/nagios/plugins"; + use utils qw(%ERRORS &print_revision &support &usage); + use Getopt::Long qw(:config no_ignore_case bundling); + use File::Basename; +@@ -35,8 +35,8 @@ use Net::DNS; + + use strict; + +-# Path to installed clamd binary. +-my $clamd_cmd = "/usr/local/sbin/clamd"; ++# Path to installed clamscan binary. ++my $clamscan_cmd = "/usr/bin/clamscan"; + + # Leave the rest of this alone: + my $prog_name = basename $0; +@@ -153,28 +153,28 @@ if ($vers_val != 0) { + } + + # Make sure the binary exists. +-if (-x $clamd_cmd) { +- &print_debug("Found clamd at $clamd_cmd"); ++if (-x $clamscan_cmd) { ++ &print_debug("Found clamscan at $clamscan_cmd"); + } else { +- &print_debug("Can't execute clamd at $clamd_cmd"); +- die("FATAL: Unable to execute $clamd_cmd"); ++ &print_debug("Can't execute clamscan at $clamscan_cmd"); ++ die("FATAL: Unable to execute $clamscan_cmd"); + } + + &print_debug("Threshhold values: warning=$warn_val, critical=$crit_val"); + + # Should return something like: ClamAV 0.87.1/1205/Wed Dec 7 07:00:48 2005 +-chomp(my $clamd_ver = `$clamd_cmd -V`); ++chomp(my $clamscan_ver = `$clamscan_cmd -V`); + + # Should return something like: 0.87.1:34:1206:1134072033:1 + chomp(my $dnstxt_ver = &lookup_current()); + +-# Parse what we get from clamd -V and our DNS query +-my @clamdresults = split(/\//,$clamd_ver); ++# Parse what we get from clamscan -V and our DNS query ++my @clamscanresults = split(/\//,$clamscan_ver); + my @txtresults = split(/:/,$dnstxt_ver); + + # Get the currently running ClamAV sig level and cvd date out of this +-my $local_latest_daily = $clamdresults[1]; +-my $local_latest_date = $clamdresults[2]; ++my $local_latest_daily = $clamscanresults[1]; ++my $local_latest_date = $clamscanresults[2]; + + &print_debug("Local daily.cvd dated $local_latest_date"); + &print_debug("Local daily.cvd version = $local_latest_daily"); diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/ParseDateDelta b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/ParseDateDelta new file mode 100644 index 0000000..2383896 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/ParseDateDelta @@ -0,0 +1,11 @@ +--- a/check_cups/check_cups ++++ b/check_cups/check_cups +@@ -395,7 +395,7 @@ + + my( $age, $jobs ) = ( $warning{$queue}->{age}, $warning{$queue}->{jobs} ); + +- my( $prettyage ) = prettyDelta( parseDateDelta( "$age minutes" ) ); ++ my( $prettyage ) = prettyDelta( ParseDateDelta( "$age minutes" ) ); + + my( @messages ); + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/epn new file mode 100644 index 0000000..cd836f4 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/epn @@ -0,0 +1,8 @@ +--- a/check_cups/check_cups ++++ b/check_cups/check_cups +@@ -1,4 +1,5 @@ + #!/usr/bin/perl ++# nagios: -epn + + =head1 NAME + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/monitoring-plugin b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/monitoring-plugin new file mode 100644 index 0000000..ec3439e --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_cups/monitoring-plugin @@ -0,0 +1,46 @@ +--- a/check_cups/check_cups ++++ b/check_cups/check_cups +@@ -39,13 +39,33 @@ + # http://search.cpan.org/~rgarcia/perl-5.6.2/pod/perllexwarn.pod + no warnings qw( redefine prototype ); + ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++ + BEGIN { + + # use Opsview libs + use lib '/usr/local/nagios/perl/lib'; + use lib '/usr/local/nagios/lib'; + +- use Nagios::Plugin; ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); + + use Data::Dumper; + +@@ -95,7 +115,7 @@ + This plugin was written at The Harvard-MIT Data Center + (http://www.hmdc.harvard.edu) by Steve Huff (). + LICENSE +-my( $plugin ) = Nagios::Plugin->new( ++my( $plugin ) = $plugin_module->new( + shortname => 'check_cups', + usage => $usagemsg, + version => '0.2', diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_drbd/fix_for_oos_and_cosmetic b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_drbd/fix_for_oos_and_cosmetic new file mode 100644 index 0000000..317555b --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_drbd/fix_for_oos_and_cosmetic @@ -0,0 +1,62 @@ +commit b04bdeb025c77e34fdf8ed9eab2f222240297ca3 +Author: Stanislav German-Evtushenko +Date: Mon Mar 3 08:11:31 2014 +0300 + + check_drbd: add check for oos and cosmetic + + 1) add check for out of sync sectors (report WARNING for non-zero value) + 2) cosmetic: sort device list while processing + +--- a/check_drbd/check_drbd ++++ b/check_drbd/check_drbd +@@ -12,7 +12,7 @@ use Getopt::Long; + my $drbd_proc='/proc/drbd'; + my $drbd_devices=0; + my ($drbd_expect, $drbd_role, $drbd_version, $debug_mode); +-my (%options, %cs, %st, %ld, %ds, %check, %warning, %critical); ++my (%options, %cs, %st, %ld, %ds, %oos, %check, %warning, %critical); + + my $prog_name=basename($0); + my $prog_revision='0.5.3'; +@@ -210,10 +210,17 @@ sub parse_proc { + } else { + $input = "STDIN"; + } ++ my $devnum; + while(<$input>) { + if (/^version: (\d+).(\d+)/) { + $drbd_version = "$1.$2"; + } ++ if (/^\s?(\d+):.*/) { ++ $devnum = $1; ++ } ++ if (defined($devnum) and /\soos:(\d+)/) { ++ $oos{$devnum} = $1; ++ } + if (/^\s?(\d+):.* cs:(\w+)/) { + $cs{$1} = $2; + } +@@ -248,11 +255,11 @@ sub parse_drbd_devices { + # + my @devices; + if ($drbd_devices =~ /^all$/i) { +- for my $device ( keys %cs ) { ++ for my $device ( sort keys %cs ) { + push(@devices,$device); + } + } elsif ($drbd_devices =~ /^configured$/i) { +- for my $device ( keys %cs ) { ++ for my $device ( sort keys %cs ) { + next if ($cs{$device} eq "Unconfigured"); + push(@devices,$device); + } +@@ -264,6 +271,9 @@ sub parse_drbd_devices { + &myexit('UNKNOWN',"Could not find device $device"); + } + $check{$device} = 1; ++ if (defined($oos{$device}) and $oos{$device} > 0) { ++ &myexit('WARNING',"Out of sync on device $device: $oos{$device} sectors"); ++ } + } + if (int(keys %check) == 0) { + &myexit('UNKNOWN',"No configured devices found"); diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn new file mode 100644 index 0000000..02d5424 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/epn @@ -0,0 +1,45 @@ +--- a/check_email_delivery/src/check_email_delivery ++++ b/check_email_delivery/src/check_email_delivery +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.7.1'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff '; +--- a/check_email_delivery/src/check_imap_quota ++++ b/check_email_delivery/src/check_imap_quota +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.2'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff '; +--- a/check_email_delivery/src/check_imap_receive ++++ b/check_email_delivery/src/check_imap_receive +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.7.5'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff '; +--- a/check_email_delivery/src/check_smtp_send ++++ b/check_email_delivery/src/check_smtp_send +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + use POSIX qw(strftime); + my $VERSION = '0.7.3'; +--- a/check_email_delivery/src/imap_ssl_cert ++++ b/check_email_delivery/src/imap_ssl_cert +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++ + use strict; + my $VERSION = '0.1'; + my $COPYRIGHT = 'Copyright (C) 2005-2011 Jonathan Buhacoff '; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths new file mode 100644 index 0000000..e4c8fc6 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_email_delivery/paths @@ -0,0 +1,27 @@ +Author: Tom Jampen +Description: + Patches check_email_delivery and check_email_delivery_epn to use debian + specific paths. + +--- a/check_email_delivery/src/check_email_delivery ++++ b/check_email_delivery/src/check_email_delivery +@@ -63,7 +63,7 @@ my $default_warn = 15; + my $default_wait = 5; + my $default_timeout = 60; + my $time_hires = ""; +-my $libexec = "/usr/local/nagios/libexec"; ++my $libexec = "/usr/lib/nagios/plugins"; + my $ok; + $ok = Getopt::Long::GetOptions( + "V|version"=>\$show_version, +--- a/check_email_delivery/src/check_email_delivery_epn ++++ b/check_email_delivery/src/check_email_delivery_epn +@@ -61,7 +61,7 @@ my $default_warn = 15; + my $default_wait = 5; + my $default_timeout = 60; + my $time_hires = ""; +-my $libexec = "/usr/local/nagios/libexec"; ++my $libexec = "/usr/lib/nagios/plugins"; + my $ok; + $ok = Getopt::Long::GetOptions( + "V|version"=>\$show_version, diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/epn new file mode 100644 index 0000000..1514373 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/epn @@ -0,0 +1,8 @@ +--- a/check_haproxy/check_haproxy ++++ b/check_haproxy/check_haproxy +@@ -1,4 +1,5 @@ + #!/usr/bin/perl -w ++# nagios: -epn + # + # Copyright (c) 2010 Stéphane Urbanovski + # diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/monitoring-plugin b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/monitoring-plugin new file mode 100644 index 0000000..8e47f4a --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy/monitoring-plugin @@ -0,0 +1,48 @@ +--- a/check_haproxy/check_haproxy ++++ b/check_haproxy/check_haproxy +@@ -31,7 +31,28 @@ + use Time::HiRes qw(time); # get microtime + use POSIX qw(mktime); + +-use Nagios::Plugin ; ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); ++} + + use LWP::UserAgent; # http client + use HTTP::Request; # used by LWP::UserAgent +@@ -53,7 +74,7 @@ + textdomain('nagios-plugins-perl'); + + +-my $np = Nagios::Plugin->new( ++my $np = $plugin_module->new( + version => $VERSION, + blurb => _gt('Plugin to check HAProxy stats url'), + usage => "Usage: %s [ -v|--verbose ] -u [-t ] [-U ] [-P ] [ -c|--critical= ] [ -w|--warning= ]", +@@ -319,4 +340,4 @@ + + Stéphane Urbanovski + +-=cut +\ No newline at end of file ++=cut diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy_stats/interpreter b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy_stats/interpreter new file mode 100644 index 0000000..8c533ec --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_haproxy_stats/interpreter @@ -0,0 +1,16 @@ +commit 7ecba59a47bf3a9276d4bb6ef3976ebc2d809e4d +Author: Jan Wagner +Date: Tue Jan 29 16:14:46 2019 +0100 + + Fixing interpreter + +diff --git a/check_haproxy_stats/check_haproxy_stats.pl b/check_haproxy_stats/check_haproxy_stats.pl +index 9698f78..f776bf6 100644 +--- a/check_haproxy_stats/check_haproxy_stats.pl ++++ b/check_haproxy_stats/check_haproxy_stats.pl +@@ -1,4 +1,4 @@ +-#!/usr/bin/env perl ++#/usr/bin/perl + # vim: se et ts=4: + + # diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/epn new file mode 100644 index 0000000..661a495 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/epn @@ -0,0 +1,9 @@ +--- a/check_httpd_status/check_httpd_status ++++ b/check_httpd_status/check_httpd_status +@@ -1,4 +1,6 @@ + #!/usr/bin/perl -w ++# nagios: -epn ++# + ####################### check_httpd_status.pl ####################### + # Version : 1.3 + # Date : 06 Aug 2010 diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/htdigest_auth b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/htdigest_auth new file mode 100644 index 0000000..336b542 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/htdigest_auth @@ -0,0 +1,17 @@ +--- a/check_httpd_status/check_httpd_status ++++ b/check_httpd_status/check_httpd_status +@@ -213,7 +213,13 @@ + logD("Web URL : $url"); + + my $req = HTTP::Request->new( GET => $url ); +-if ( defined($o_user) ) { ++if ( defined($o_realm) ) { ++ if ( ! defined($o_port) ) { ++ $o_port = 80; ++ } ++ $ua->credentials("$o_host:$o_port", $o_realm, $o_user, $o_pass); ++} ++elsif ( defined($o_user) ) { + $req->authorization_basic($o_user, $o_pass); + } + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/monitoring-plugin b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/monitoring-plugin new file mode 100644 index 0000000..dd8451a --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_httpd_status/monitoring-plugin @@ -0,0 +1,49 @@ +--- a/check_httpd_status/check_httpd_status ++++ b/check_httpd_status/check_httpd_status +@@ -34,8 +34,28 @@ + use POSIX qw(setlocale); + use Locale::gettext; + +-use Nagios::Plugin ; +- ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); ++} + use LWP::UserAgent; + use HTTP::Status; # get status_message() + use Time::HiRes qw(gettimeofday tv_interval); +@@ -92,7 +112,7 @@ + ); + + +-my $np = Nagios::Plugin->new( ++my $np = $plugin_module->new( + version => $VERSION, + blurb => _gt('Apache / Lighthttpd server status monitor for Nagios'), + usage => "Usage: %s [ -H [-p ] [-t ] [-w -c ] [-V] [-u ] [-U user -P pass -r realm]", +@@ -438,4 +458,4 @@ + Warn if less than 100 workers are available + Crit if less than 10 workers are available + EOT +-} +\ No newline at end of file ++} diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_imap_quota/syntax_error_fix b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_imap_quota/syntax_error_fix new file mode 100644 index 0000000..1c4d9b6 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_imap_quota/syntax_error_fix @@ -0,0 +1,17 @@ +commit efd3fb018c2b6d9aacc367ab29dc4b0089ba10a5 +Author: Paul Voss +Date: Fri Mar 14 10:43:30 2014 +0100 + + - fixed syntax error by added missing closing bracket as mentioned in issue #44 + +--- a/check_email_delivery/src/check_imap_quota ++++ b/check_email_delivery/src/check_imap_quota +@@ -153,7 +153,7 @@ eval { + } + if (!length($quotaUsed) && !length($quotaLimit)) { + print "no answer from imap host\n" if $verbose > 2; +- } elsif (!length($quotaUsed) || !length($quotaLimit) { ++ } elsif (!length($quotaUsed) || !length($quotaLimit)) { + print "incorrect answer from imap host\n"; + $imap->close(); + exit $status{UNKNOWN}; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/config_path b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/config_path new file mode 100644 index 0000000..330d637 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/config_path @@ -0,0 +1,11 @@ +--- a/check_libs/nagios-check-libs ++++ b/check_libs/nagios-check-libs +@@ -71,7 +71,7 @@ if ($params->{'version'}) { + }; + + if (! defined $params->{'config'}) { +- $params->{'config'} = '/etc/nagios/check-libs.conf'; ++ $params->{'config'} = '/etc/nagios-plugins/check-libs.conf'; + } elsif (! -e $params->{'config'}) { + dief("Config file $params->{'config'} does not exist.\n"); + } diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/lsof-speedup b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/lsof-speedup new file mode 100644 index 0000000..925aed4 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/lsof-speedup @@ -0,0 +1,27 @@ +--- a/check_libs/nagios-check-libs ++++ b/check_libs/nagios-check-libs +@@ -29,7 +29,7 @@ use Getopt::Long; + $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin'; + delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; + +-my $LSOF = '/usr/bin/lsof -F0'; ++my $LSOF = '/usr/bin/lsof -nPF0 -a +L1'; + my $VERSION = '0.2015012901'; + + # nagios exit codes +@@ -141,12 +141,12 @@ sub inVserver() { + + my $INVSERVER = inVserver(); + +-print STDERR "Running $LSOF -n\n" if $params->{'verbose'}; +-open (LSOF, "$LSOF -n|") or dief ("Cannot run $LSOF -n: $!\n"); ++print STDERR "Running $LSOF\n" if $params->{'verbose'}; ++open (LSOF, "$LSOF|") or dief ("Cannot run $LSOF: $!\n"); + my @lsof=; + close LSOF; + if ($CHILD_ERROR) { # program failed +- dief("$LSOF -n returned with non-zero exit code: ".($CHILD_ERROR / 256)."\n"); ++ dief("$LSOF returned with non-zero exit code: ".($CHILD_ERROR / 256)."\n"); + }; + + my ($process, $pid, $user); diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/space_before_deleted b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/space_before_deleted new file mode 100644 index 0000000..0840d48 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libs/space_before_deleted @@ -0,0 +1,12 @@ +diff -Nur a/check_libs/nagios-check-libs b/check_libs/nagios-check-libs +--- a/check_libs/nagios-check-libs ++++ b/check_libs/nagios-check-libs +@@ -170,7 +170,7 @@ + my $inode = $fields{i}; + my $path = $fields{n}; + if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $path =~ m#/\.nfs# || $fd eq 'DEL') { +- $path =~ s/^\(deleted\)//; # in some cases "(deleted)" is at the beginning of the string ++ $path =~ s/^ ?\(deleted\)//; # in some cases "(deleted)" is at the beginning of the string + for my $i (@{$config->{'ignorelist'}}) { + my $ignore = eval($i); + next LINE if $ignore; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/fix_uom b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/fix_uom new file mode 100644 index 0000000..c192353 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/fix_uom @@ -0,0 +1,26 @@ +From ebbf45f0dcbe150f4f8ccb306c8e72e95dbe29d9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bj=C3=B6rn=20L=C3=A4ssig?= +Date: Thu, 1 Dec 2016 13:42:17 +0100 +Subject: [PATCH] fix uom of check_libvirt + + * the actual unit of check_libvirt is 'units', which is not a valid UOM + (https://www.monitoring-plugins.org/doc/guidelines.html#AEN201) + so tools like icinga2 cannot interprete the performance data + * remove the UOM to an empty string + -> no unit specified - assume a number (int or float) of things + (eg, users, processes, load averages) +--- + check_libvirt/check_libvirt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/check_libvirt/check_libvirt ++++ b/check_libvirt/check_libvirt +@@ -246,7 +246,7 @@ + chop($output); + chop($output); + $output = $up . "/" . $cnt . " VMs up: " . $output; +- $np->add_perfdata(label => "vmcount", value => $up, uom => 'units', threshold => $np->threshold); ++ $np->add_perfdata(label => "vmcount", value => $up, uom => '', threshold => $np->threshold); + $result = $np->check_threshold(check => $up); + } + elsif (uc($command) eq "POOL") diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/monitoring-plugin b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/monitoring-plugin new file mode 100644 index 0000000..c51c873 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_libvirt/monitoring-plugin @@ -0,0 +1,48 @@ +diff --git a/check_libvirt/check_libvirt b/check_libvirt/check_libvirt +index 2029c9e..618d1ac 100755 +--- a/check_libvirt/check_libvirt ++++ b/check_libvirt/check_libvirt +@@ -27,11 +27,33 @@ + use strict; + use warnings; + use vars qw($PROGNAME $VERSION $output $result); +-use Nagios::Plugin; + use File::Basename; + use Sys::Virt; + use XML::Simple; + ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); ++} ++ + $PROGNAME = basename($0); + $VERSION = '0.1.0'; + my $spooldir="/opt/monitor/var/check_libvirt"; +@@ -41,7 +63,7 @@ if (!-d $spooldir) + mkdir($spooldir); + } + +-my $np = Nagios::Plugin->new( ++my $np = $plugin_module->new( + usage => "Usage: %s -H [ -N ]\n" + . " [-u -p ]\n" + . " -l [ -s ]\n" diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/interpreter b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/interpreter new file mode 100644 index 0000000..e46ed48 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/interpreter @@ -0,0 +1,8 @@ +--- a/check_lm_sensors/src/check_lm_sensors ++++ b/check_lm_sensors/src/check_lm_sensors +@@ -1,4 +1,4 @@ +-#!perl ++#!/usr/bin/perl + + # check_lm_sensors is a Nagios plugin to monitor the values of on board sensors and hard + # disk temperatures on Linux systems diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/manpage_whatis_fix b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/manpage_whatis_fix new file mode 100644 index 0000000..53290de --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/manpage_whatis_fix @@ -0,0 +1,12 @@ +--- a/check_lm_sensors/src/check_lm_sensors.pod ++++ b/check_lm_sensors/src/check_lm_sensors.pod +@@ -2,8 +2,7 @@ + + =head1 NAME + +-C is a Nagios plugin to monitor the values of on +-board sensors and hard disk temperatures on Linux systems ++C - Nagios plugin to monitor hardware sensors and disk temperatures + + =head1 DESCRIPTION + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/spelling_errors b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/spelling_errors new file mode 100644 index 0000000..b684280 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_lm_sensors/spelling_errors @@ -0,0 +1,11 @@ +--- a/check_lm_sensors/src/check_lm_sensors.pod ++++ b/check_lm_sensors/src/check_lm_sensors.pod +@@ -49,7 +49,7 @@ verbosity. + =head1 EXIT STATUS + + 0 if OK, 1 in case of a warning, 2 in case of a critical status and 3 +-in case of an unkown problem ++in case of an unknown problem + + =head1 DEPENDENCIES + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/monitoring-plugin b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/monitoring-plugin new file mode 100644 index 0000000..8303246 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/monitoring-plugin @@ -0,0 +1,43 @@ +diff --git a/check_memory/check_memory b/check_memory/check_memory +index bf46711..4f272d1 100644 +--- a/check_memory/check_memory ++++ b/check_memory/check_memory +@@ -23,14 +23,36 @@ + use strict; + use warnings; + use vars qw($PROGNAME $VERSION $FREECMD $UNIT); +-use Nagios::Plugin; ++ ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); ++} + + $PROGNAME = "check_memory"; + $VERSION = '1.0.1'; + $FREECMD = '/usr/bin/free'; + $UNIT = 'M'; + +-my $np = Nagios::Plugin->new( ++my $np = $plugin_module->new( + usage => "Usage: %s [ -w ] [ -c ]\n" + . ' [ -u ]', + version => $VERSION, diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/new_free b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/new_free new file mode 100644 index 0000000..86f4335 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_memory/new_free @@ -0,0 +1,53 @@ +From df189de31d33f40b894c33482dbdf9f61eaf1177 Mon Sep 17 00:00:00 2001 +From: Simon Ruderich +Date: Tue, 26 Jul 2016 18:50:38 +0200 +Subject: [PATCH] Fixing for new free output. + +The output of free doesn't anymore contain the "buffers/cache" +line breaking the check_memory plugin. The attached patch uses +instead the new "available" column to calculate the free memory +as it seems to be a better estimation of free (usable) memory. +--- + check_memory/check_memory | 20 +++++++++++++++----- + 1 file changed, 15 insertions(+), 5 deletions(-) + +diff --git a/check_memory/check_memory b/check_memory/check_memory +index 8369a9e..70d0514 100755 +--- a/check_memory/check_memory ++++ b/check_memory/check_memory +@@ -104,12 +104,23 @@ open(RESULT, "$FREECMD -b |") + or $np->nagios_exit('CRITICAL', "Could not run $FREECMD"); + + warn("Output from $FREECMD:\n") if ($verbose > 1); +-my ($used, $free); ++my $new_format = 0; ++my ($total, $used, $free); + while () { + warn(" $_") if ($verbose > 1); +- next unless (m#^\-/\+\ buffers/cache:\s*(\d+)\s+(\d+)#); +- $used = $1; +- $free = $2; ++ # New `free` output from procps doesn't provide "buffers/cache" anymore, but ++ # provides a better estimate of available memory ("available" column). ++ $new_format = 1 if m{^\s+total\s+used\s+free\s+shared\s+buff/cache\s+available$}; ++ ++ if ($new_format and /^Mem:\s+(\d+)\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)$/) { ++ $total = $1; ++ $free = $2; # available column ++ $used = $total - $free; # used is everything which is not available ++ } elsif (m#^\-/\+\ buffers/cache:\s*(\d+)\s+(\d+)#) { ++ $used = $1; ++ $free = $2; ++ $total = $used + $free; ++ } + } + + close(RESULT); +@@ -117,7 +128,6 @@ alarm(0); + + $np->nagios_exit('CRITICAL', "Unable to interpret $FREECMD output") if (!defined($free)); + +-my $total = $used + $free; + if (defined($warning) && $warning =~ /^\d+%$/) { + if ($warning) { + $warning =~ s/%//; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs4_support b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs4_support new file mode 100644 index 0000000..482541f --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs4_support @@ -0,0 +1,11 @@ +--- a/check_nfsmounts/check_nfsmounts ++++ b/check_nfsmounts/check_nfsmounts +@@ -101,7 +101,7 @@ + my @dirs=(); + my %mountmodes=(); + while(my $line=) { +- if($line =~ /^[^ ]+ [^ ]+ nfs /) { ++ if($line =~ /^[^ ]+ [^ ]+ nfs4? /) { + my @fields=split(/\s+/,$line); + my $mountpoint=$fields[1]; + push(@dirs,$mountpoint); diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs_write_location b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs_write_location new file mode 100644 index 0000000..feb3e23 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs_write_location @@ -0,0 +1,20 @@ +--- a/check_nfsmounts/check_nfsmounts ++++ b/check_nfsmounts/check_nfsmounts +@@ -45,6 +45,7 @@ + } + + use Time::HiRes qw{time alarm}; ++use Sys::Hostname; + use Getopt::Long; + use strict; + +@@ -129,7 +130,8 @@ + if($pid==0) { + chdir $dir or &bad_mount($dir,$!); + if($writemode and exists($mountmodes{$dir}->{"rw"})) { +- open X,"> $dir/.nfscheck" or exit $?; ++ my $check_filename="$dir/.nfscheck_" . hostname; ++ open X,"> $check_filename" or exit $?; + print X $ENV{HOSTNAME}."\n".localtime()."\n"; # XXX Full disk may fail.. + close X or exit $?; + } diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/perl_module b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/perl_module new file mode 100644 index 0000000..86c8c81 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/perl_module @@ -0,0 +1,43 @@ +diff --git a/check_nfsmounts/check_nfsmounts b/check_nfsmounts/check_nfsmounts +index fbfb1f8..51ed625 100644 +--- a/check_nfsmounts/check_nfsmounts ++++ b/check_nfsmounts/check_nfsmounts +@@ -21,14 +21,36 @@ + # along with this program. If not, see . + # + +-use utils qw{$TIMEOUT %ERRORS}; ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(qw(%ERRORS)); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); ++} ++ + use Time::HiRes qw{time alarm}; + use Getopt::Long; + use strict; + + my $version="1.0"; + +-my $nfs_timeout=$TIMEOUT; ++my $nfs_timeout=15; + my $nfs_warn=-1; + my $writemode=0; + my $help=0; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/debian_bts b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/debian_bts new file mode 100644 index 0000000..73ff81a --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/debian_bts @@ -0,0 +1,17 @@ +--- a/check_printer/check_printer ++++ b/check_printer/check_printer +@@ -267,10 +267,10 @@ + if ($debug){ + print Dumper(\%status); + print "\n\n############ ATTENTION ############\n"; +- print "You have debug enabled. If asked to enable debug by the developer,\n"; +- print "please send all of the output, including your command line to\n"; +- print "ecrist\@secure-computing.net with the subject line 'check_printer DEBUG' along\n"; +- print "with a description of the problem you're experiencing.\n###################################\n"; ++ print "You have debug enabled. If asked to enable debug by the Debian Maintainer,\n"; ++ print "please send all of the output to the Debian Bug Tracking System, either by \n"; ++ print "replying to an existing bug or by opening a new bug.\n"; ++ + print '$Id: check_printer 363 2014-07-23 14:37:59Z ecrist $'."\n\n"; + } + if ($is_crit){ diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/epn new file mode 100644 index 0000000..ea584db --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/epn @@ -0,0 +1,8 @@ +--- a/check_printer/check_printer ++++ b/check_printer/check_printer +@@ -1,4 +1,5 @@ + #!/usr/bin/perl ++# nagios: -epn + # + # Copyright (c) 2007,2011 Eric F Crist + # diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_data_dumper_if_needed b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_data_dumper_if_needed new file mode 100644 index 0000000..977338e --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_data_dumper_if_needed @@ -0,0 +1,18 @@ +--- a/check_printer/check_printer ++++ b/check_printer/check_printer +@@ -40,7 +40,6 @@ if ($OS =~ m/^\wBSD/){ + use lib "/usr/local/nagios/libexec"; + } + +-use Data::Dumper; + use Getopt::Long; + use Pod::Usage; + +@@ -109,6 +108,7 @@ foreach(@vars){ + } + + if ($debug){ ++ use Data::Dumper; + print Dumper(\@values); + } + my %finvalues; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_nagios_plugin b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_nagios_plugin new file mode 100644 index 0000000..36e7880 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_nagios_plugin @@ -0,0 +1,38 @@ +diff --git a/check_printer/check_printer b/check_printer/check_printer +index 6d801de..da8e099 100644 +--- a/check_printer/check_printer ++++ b/check_printer/check_printer +@@ -33,11 +33,27 @@ + use strict; + use warnings; + +-my $OS = `uname`; +-if ($OS =~ m/^\wBSD/){ +- use lib "/usr/local/libexec/nagios"; +-} elsif ($OS =~ m/Linux/){ +- use lib "/usr/local/nagios/libexec"; ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(qw(%ERRORS)); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); + } + + use Getopt::Long; + use Pod::Usage; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/no_epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/no_epn new file mode 100644 index 0000000..9ce8a44 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/no_epn @@ -0,0 +1,8 @@ +--- a/check_raid/check_raid ++++ b/check_raid/check_raid +@@ -1,4 +1,5 @@ + #!/usr/bin/perl ++# nagios: -epn + + # This chunk of stuff was generated by App::FatPacker. To find the original + # file's code, look for the end of this BEGIN block or the string 'FATPACK' diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/prefer_cciss_vol_status_over_hpacucli b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/prefer_cciss_vol_status_over_hpacucli new file mode 100644 index 0000000..c8def56 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_raid/prefer_cciss_vol_status_over_hpacucli @@ -0,0 +1,15 @@ +--- a/check_raid/check_raid ++++ b/check_raid/check_raid +@@ -3975,8 +3975,10 @@ sub check { + package hpacucli; + use base 'plugin'; + +-# register +-push(@utils::plugins, __PACKAGE__); ++# register if cciss_vol_status is not available ++if (! utils::which('cciss_vol_status')) { ++ push(@utils::plugins, __PACKAGE__); ++} + + sub program_names { + __PACKAGE__; diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/additional_rbls b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/additional_rbls new file mode 100644 index 0000000..a804e84 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/additional_rbls @@ -0,0 +1,45 @@ +--- a/check_rbl/src/check_rbl.ini ++++ b/check_rbl/src/check_rbl.ini +@@ -95,6 +95,42 @@ + server=spam.dnsbl.anonmails.de + server=spambot.bls.digibase.ca + server=z.mailspike.net ++server=dul.dnsbl.borderware.com ++server=uribl.swinog.ch ++server=dnsbl.inps.de ++server=tor.dan.me.uk ++server=torexit.dan.me.uk ++server=combined.rbl.msrbl.net ++server=rbl.efnetrbl.org ++server=virbl.dnsbl.bit.nl ++server=relays.mail-abuse.org ++server=dev.null.dk ++server=blackholes.mail-abuse.org ++server=dialups.mail-abuse.org ++server=dul.orca.bc.ca ++server=blackholes.five-ten-sg.com ++server=rbl-plus.mail-abuse.org ++server=rbl.jp ++server=virus.rbl.jp ++server=dialup.blacklist.jippg.org ++server=blackholes.intersil.net ++server=assholes.madscience.nl ++server=blackholes.sandes.dk ++server=blocked.hilli.dk ++server=cart00ney.surriel.com ++server=dnsbl.antispam.or.id ++server=dsbl.dnsbl.net.au ++server=duinv.aupads.org ++server=rsbl.aupads.org ++server=intruders.docs.uu.se ++server=map.spam-rbl.com ++server=orvedb.aupads.org ++server=proxy.bl.gweep.ca ++server=pss.spambusters.org.ar ++server=rdts.dnsbl.net.au ++server=relays.bl.gweep.ca ++server=relays.bl.kundenserver.de ++server=spam.olsentech.net + + ; these are rather slow + ;server=bl.csma.biz diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/interpreter b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/interpreter new file mode 100644 index 0000000..f67e230 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_rbl/interpreter @@ -0,0 +1,8 @@ +--- a/check_rbl/src/check_rbl ++++ b/check_rbl/src/check_rbl +@@ -1,4 +1,4 @@ +-#!perl ++#!/usr/bin/perl + + # nagios: -epn + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/monitoring-plugin b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/monitoring-plugin new file mode 100644 index 0000000..1715f96 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/monitoring-plugin @@ -0,0 +1,46 @@ +diff --git a/check_smstools/bin/check_smstools b/check_smstools/bin/check_smstools +index a7a0336..707d289 100755 +--- a/check_smstools/bin/check_smstools ++++ b/check_smstools/bin/check_smstools +@@ -13,9 +13,31 @@ + + use strict; + use warnings; +-use Nagios::Plugin; + use POSIX; + ++sub load_module { ++ my @names = @_; ++ my $module; ++ for my $name (@names) { ++ my $file = $name; ++ # requires need either a bare word or a file name ++ $file =~ s{::}{/}gsxm; ++ $file .= '.pm'; ++ eval { ++ require $file; ++ $name->import(); ++ $module = $name; ++ }; ++ last if $module; ++ } ++ return $module; ++} ++ ++my $plugin_module; ++BEGIN { ++ $plugin_module = load_module( 'Monitoring::Plugin', 'Nagios::Plugin' ); ++} ++ + # Define regular expressions used to find the correct lines from + # the status file + my $signal_command = 'AT\+CSQ'; +@@ -45,7 +67,7 @@ my $timestamp; + my $np; + + sub init_plugin { +- $np = Nagios::Plugin->new(usage => "usage: %s"); ++ $np = $plugin_module->new(usage => "usage: %s"); + + $np->add_arg( + spec => 'warning|w=f', diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/operator_siglvl b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/operator_siglvl new file mode 100644 index 0000000..7c18cbd --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_smstools/operator_siglvl @@ -0,0 +1,30 @@ +From 75a6f801a18961b1abd169046a105813da6c3424 Mon Sep 17 00:00:00 2001 +From: ZyanKLee +Date: Thu, 28 Apr 2016 12:51:42 +0200 +Subject: [PATCH] operator string, siglvl + +operator string has a " at the end, too - removing it +siglvl at our modem is 31.99 - but still works +--- + check_smstools/bin/check_smstools | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/check_smstools/bin/check_smstools ++++ b/check_smstools/bin/check_smstools +@@ -191,6 +191,7 @@ + if ($result{'cmd'} =~ /$operator_command/) { + $operator = $result{'answer'}; + $operator =~ s/0,0,"//g; ++ $operator =~ s/"$//g; + } + } + # No need to parse the rest of the file, if signal +@@ -218,7 +219,7 @@ + $np->nagios_die("Unable to determine the modem signal strength."); + } + +- if (($siglvl < 0) or ($siglvl > 31)) { ++ if (($siglvl < 0) or ($siglvl > 32)) { + $np->nagios_die("Unable to determine the modem signal strength."); + } + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_environment/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_environment/epn new file mode 100644 index 0000000..9273c79 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_environment/epn @@ -0,0 +1,10 @@ +diff --git a/check_snmp_environment/check_snmp_environment.pl b/check_snmp_environment/check_snmp_environment.pl +index 2be3fc0..6022fcb 100644 +--- a/check_snmp_environment/check_snmp_environment.pl ++++ b/check_snmp_environment/check_snmp_environment.pl +@@ -1,4 +1,5 @@ + #!/usr/bin/perl ++# nagios: -epn + # ============================================================================ + # ============================== INFO ======================================== + # ============================================================================ diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_time/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_time/epn new file mode 100644 index 0000000..f78de4c --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_snmp_time/epn @@ -0,0 +1,8 @@ +--- a/check_snmp_time/check_snmp_time ++++ b/check_snmp_time/check_snmp_time +@@ -1,4 +1,5 @@ + #!/usr/bin/perl -w ++# nagios: -epn + ############################## check_snmp_time.pl ################# + my $Version='1.1'; + # Date : Dec 08 2010 diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_uptime/missing_backslash b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_uptime/missing_backslash new file mode 100644 index 0000000..e49d276 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_uptime/missing_backslash @@ -0,0 +1,16 @@ +diff --git a/check_uptime/check_uptime b/check_uptime/check_uptime +index e1e5b99..41b7f26 100644 +--- a/check_uptime/check_uptime ++++ b/check_uptime/check_uptime +@@ -540,7 +540,7 @@ if ($check_type==1) { # local + elsif ($uptime_output =~ /up\s+(\d+)\s+min/) { + ($days, $hrs, $mins) = (0,0,$1); + } +- elsif ($uptime_output =~ /up\s+(\d+)s+days?,s+(\d+)s+min/) { ++ elsif ($uptime_output =~ /up\s+(\d+)\s+days?,\s+(\d+)\s+min/) { + ($days, $hrs, $mins) = ($1,0,$2); + } + else { +diff --git a/dsa/checks/dsa-check-cert-expire-dir b/dsa/checks/dsa-check-cert-expire-dir +old mode 100755 +new mode 100644 diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_v46/no_epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_v46/no_epn new file mode 100644 index 0000000..cd0084f --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_v46/no_epn @@ -0,0 +1,9 @@ +--- a/check_v46/check_v46 ++++ b/check_v46/check_v46 +@@ -1,4 +1,6 @@ + #!/usr/bin/perl ++# nagios: -epn ++# + # + # check_v46 + # Nagios plugin wrapper for running the actual plugin for both / either of diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_varnish/fix_for_v56 b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_varnish/fix_for_v56 new file mode 100644 index 0000000..91c93fb --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_varnish/fix_for_v56 @@ -0,0 +1,186 @@ +From d53252d965aaa1889a8b56a681c464c6ca04f632 Mon Sep 17 00:00:00 2001 +From: Jean-Louis Dupond +Date: Sat, 23 Dec 2017 13:06:01 +0100 +Subject: [PATCH] Switch to new functions for Varnish 5.2 + +--- + check_varnish.c | 54 +++++++++++++++++++++++++++++++++++++++++-------- + configure.ac | 18 ++++++++++------- + 2 files changed, 57 insertions(+), 15 deletions(-) + +diff --git a/check_varnish/src/check_varnish.c b/check_varnish/src/check_varnish.c +index 809657c..83aacdc 100644 +--- a/check_varnish/src/check_varnish.c ++++ b/check_varnish/src/check_varnish.c +@@ -43,7 +43,7 @@ + #include + #include + +-#if defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) ++#if defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) || defined(HAVE_VARNISHAPI_5) + #include + #include + #elif defined(HAVE_VARNISHAPI_3) +@@ -185,7 +185,11 @@ check_stats_cb(void *priv, const struct VSC_point * const pt) + if (pt == NULL) + return(0); + +-#if defined(HAVE_VARNISHAPI_4_1) || defined(HAVE_VARNISHAPI_4) ++#if defined(HAVE_VARNISHAPI_5) ++ assert(sizeof(tmp) > (strlen(pt->name) + 1)); ++ snprintf(tmp, sizeof(tmp), "%s", pt->name); ++ p = priv; ++#elif defined(HAVE_VARNISHAPI_4_1) || defined(HAVE_VARNISHAPI_4) + assert(sizeof(tmp) > (strlen(pt->section->fantom->type) + 1 + + strlen(pt->section->fantom->ident) + 1 + + strlen(pt->desc->name) + 1)); +@@ -197,7 +201,9 @@ check_stats_cb(void *priv, const struct VSC_point * const pt) + pt->desc->name); + p = priv; + #endif +-#if defined(HAVE_VARNISHAPI_4_1) ++#if defined(HAVE_VARNISHAPI_5) ++ assert(!strcmp(pt->ctype, "uint64_t")); ++#elif defined(HAVE_VARNISHAPI_4_1) + assert(!strcmp(pt->desc->ctype, "uint64_t")); + #elif defined(HAVE_VARNISHAPI_4) + assert(!strcmp(pt->desc->fmt, "uint64_t")); +@@ -216,7 +222,9 @@ check_stats_cb(void *priv, const struct VSC_point * const pt) + #endif + if (strcmp(tmp, p->param) == 0) { + p->found = 1; +-#if defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) ++#if defined(HAVE_VARNISHAPI_5) ++ p->info = pt->sdesc; ++#elif defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) + p->info = pt->desc->sdesc; + #elif defined(HAVE_VARNISHAPI_3) + p->info = pt->desc; +@@ -237,7 +245,11 @@ check_stats_cb(void *priv, const struct VSC_point * const pt) + * Check the statistics for the requested parameter. + */ + static void ++#if defined(HAVE_VARNISHAPI_5) ++check_stats(struct vsc *vsc, struct vsm *vsm, char *param) ++#else + check_stats(struct VSM_data *vd, char *param) ++#endif + { + int status; + struct stat_priv priv; +@@ -245,7 +257,9 @@ check_stats(struct VSM_data *vd, char *param) + priv.found = 0; + priv.param = param; + +-#if defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) ++#if defined(HAVE_VARNISHAPI_5) ++ (void)VSC_Iter(vsc, vsm, check_stats_cb, &priv); ++#elif defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) + (void)VSC_Iter(vd, NULL, check_stats_cb, &priv); + #elif defined(HAVE_VARNISHAPI_3) + (void)VSC_Iter(vd, check_stats_cb, &priv); +@@ -315,18 +329,25 @@ usage(void) + int + main(int argc, char **argv) + { ++#if defined(HAVE_VARNISHAPI_5) ++ struct vsm *vd; ++ struct vsc *vsc; ++#else + struct VSM_data *vd; ++#endif + char *param = NULL; + int opt; + + setlocale(LC_ALL, ""); + + vd = VSM_New(); +-#if defined(HAVE_VARNISHAPI_3) ++#if defined(HAVE_VARNISHAPI_5) ++ vsc = VSC_New(); ++#elif defined(HAVE_VARNISHAPI_3) + VSC_Setup(vd); + #endif + +- while ((opt = getopt(argc, argv, VSC_ARGS "c:hn:p:vw:")) != -1) { ++ while ((opt = getopt(argc, argv, "c:hn:p:vw:")) != -1) { + switch (opt) { + case 'c': + if (parse_range(optarg, &critical) != 0) +@@ -336,7 +357,11 @@ main(int argc, char **argv) + help(); + break; + case 'n': ++#if defined(HAVE_VARNISHAPI_5) ++ VSC_Arg(vsc, opt, optarg); ++#else + VSC_Arg(vd, opt, optarg); ++#endif + break; + case 'p': + param = strdup(optarg); +@@ -349,13 +374,22 @@ main(int argc, char **argv) + usage(); + break; + default: ++#if defined(HAVE_VARNISHAPI_5) ++ if (VSC_Arg(vsc, opt, optarg) > 0) ++#else + if (VSC_Arg(vd, opt, optarg) > 0) ++#endif + break; + usage(); + } + } + +-#if defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) ++#if defined(HAVE_VARNISHAPI_5) ++ if (VSM_Attach(vd, -1) < 0) { ++ printf("varnish plugin: Cannot attach to varnish. %s", VSM_Error(vd)); ++ exit(1); ++ } ++#elif defined(HAVE_VARNISHAPI_4) || defined(HAVE_VARNISHAPI_4_1) + if (VSM_Open(vd)) + exit(1); + #elif defined(HAVE_VARNISHAPI_3) +@@ -377,7 +411,11 @@ main(int argc, char **argv) + if (!param) + usage(); + ++#if defined(HAVE_VARNISHAPI_5) ++ check_stats(vsc, vd, param); ++#else + check_stats(vd, param); ++#endif + + exit(0); + } +diff --git a/check_varnish/src/configure.ac b/check_varnish/src/configure.ac +index c7946c2..8b0b2ec 100644 +--- a/check_varnish/src/configure.ac ++++ b/check_varnish/src/configure.ac +@@ -21,13 +21,17 @@ AC_PROG_LIBTOOL + AC_PROG_MAKE_SET + + # Checks for libraries. +-PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 4.1], +- [AC_DEFINE([HAVE_VARNISHAPI_4_1], [1], [Use VARNISHAPI v4.1])], +- [PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 4], +- [AC_DEFINE([HAVE_VARNISHAPI_4], [1], [Use VARNISHAPI v4])], +- [PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 3], +- [AC_DEFINE([HAVE_VARNISHAPI_3], [1], [Use VARNISHAPI v3])], +- [AC_MSG_ERROR([Could not find neither varnishapi v4 nor v3.])]) ++PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 5.2], ++ [AC_DEFINE([HAVE_VARNISHAPI_5], [1], [Use VARNISHAPI v5])], ++ [PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 4.1], ++ [AC_DEFINE([HAVE_VARNISHAPI_4_1], [1], [Use VARNISHAPI v4.1])], ++ [PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 4], ++ [AC_DEFINE([HAVE_VARNISHAPI_4], [1], [Use VARNISHAPI v4])], ++ [PKG_CHECK_MODULES([VARNISHAPI], [varnishapi >= 3], ++ [AC_DEFINE([HAVE_VARNISHAPI_3], [1], [Use VARNISHAPI v3])], ++ [AC_MSG_ERROR([Could not find neither varnishapi v4 nor v3.])]) ++ ] ++ ) + ] + ) + ] diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_webinject/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_webinject/epn new file mode 100644 index 0000000..203e5fd --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_webinject/epn @@ -0,0 +1,9 @@ +--- a/check_webinject/check_webinject ++++ b/check_webinject/check_webinject +@@ -1,5 +1,5 @@ + #!/usr/bin/perl +-# nagios: +epn ++# nagios: -epn + + package Webinject; + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_cert_expire_dir_check_name_fix b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_cert_expire_dir_check_name_fix new file mode 100644 index 0000000..6d8cb38 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_cert_expire_dir_check_name_fix @@ -0,0 +1,14 @@ +--- a/dsa/checks/dsa-check-cert-expire-dir ++++ b/dsa/checks/dsa-check-cert-expire-dir +@@ -26,9 +26,9 @@ + + sn="$0" + if [ "${sn%/*}" = "$sn" ]; then +- CERT_CHECK=dsa-check-cert-expire ++ CERT_CHECK=check_cert_expire + else +- CERT_CHECK="${sn%/*}/dsa-check-cert-expire" ++ CERT_CHECK="${sn%/*}/check_cert_expire" + fi + + if [ "$#" != 1 ] ; then diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages-inifile b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages-inifile new file mode 100644 index 0000000..056b70a --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages-inifile @@ -0,0 +1,13 @@ +--- a/dsa/checks/dsa-check-packages ++++ b/dsa/checks/dsa-check-packages +@@ -37,8 +37,8 @@ use strict; + use warnings; + use English; + +-my $IGNORE = "/etc/nagios/obsolete-packages-ignore"; +-my $IGNORED = "/etc/nagios/obsolete-packages-ignore.d"; ++my $IGNORE = "/etc/nagios-plugins/obsolete-packages-ignore"; ++my $IGNORED = "/etc/nagios-plugins/obsolete-packages-ignore.d"; + + my %CODE = ( + 'OK' => 0, diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_,_fix b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_,_fix new file mode 100644 index 0000000..a000369 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_,_fix @@ -0,0 +1,30 @@ +--- a/dsa/checks/dsa-check-packages ++++ b/dsa/checks/dsa-check-packages +@@ -334,7 +334,7 @@ for my $form (@reportform) { + push @perfout, sprintf($form->{'perf'}, $num); + next unless ($num > 0); + if ($form->{'listpackages'}) { +- my $list = join(", ", keys %$pkgs); ++ my $list = join(" ", keys %$pkgs); + push @longout, sprintf($form->{'long'}, $num, $list); + } else { + push @longout, sprintf($form->{'long'}, $num); +@@ -344,15 +344,15 @@ for my $form (@reportform) { + }; + if (scalar keys %$packages) { + record('WARNING'); +- unshift @shortout, "unk: ".join(", ", keys %$packages); ++ unshift @shortout, "unk: ".join(" ", keys %$packages); + for my $status (sort {$b cmp $a} keys %$packages) { + my $pkgs = $packages->{$status}; +- my $list = join(", ", keys %$pkgs); ++ my $list = join(" ", keys %$pkgs); + unshift @longout, "Unknown package status $status: $list"; + }; + } + +-my $shortout = $EXITCODE.": ".join(", ", @shortout); ++my $shortout = $EXITCODE.": ".join(" ", @shortout); + my $longout = join("\n", @longout); + my $perfout = "|".join(" ", @perfout); + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_location b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_location new file mode 100644 index 0000000..eb71d75 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_packages_location @@ -0,0 +1,11 @@ +--- a/dsa/sbin/dsa-update-apt-status ++++ b/dsa/sbin/dsa-update-apt-status +@@ -78,7 +78,7 @@ fi + tmp=`tempfile` + trap "rm -f '$tmp'" exit + #/usr/share/dsa/apt-status-check --noupdate --timeout=600 > "$tmp" +-/usr/lib/nagios/plugins/dsa-check-packages > "$tmp" ++/usr/lib/nagios/plugins/check_packages > "$tmp" + result="$?" + case "$result" in + 0) diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_running_kernel_jessie_centos_fix b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_running_kernel_jessie_centos_fix new file mode 100644 index 0000000..e850e2f --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/check_running_kernel_jessie_centos_fix @@ -0,0 +1,42 @@ +--- a/dsa/checks/dsa-check-running-kernel ++++ b/dsa/checks/dsa-check-running-kernel +@@ -131,6 +131,11 @@ + filter="$3" + hdroff="$4" + ++ if ! which $filter >/dev/null; then ++ echo "UNKNOWN: filter command '$filter' missing, perhaps install xz-utils?" >&2 ++ exit $UNKNOWN ++ fi ++ + get_offset "$image" $header | head -n 5 | while read off; do + (if [ "$off" != 0 ]; then + dd ibs="$((off+hdroff))" skip=1 count=0 +@@ -182,9 +187,8 @@ + + searched="" + for on_disk in \ +- "/boot/vmlinuz-`uname -r`"\ +- "/boot/vmlinux-`uname -r`"\ +- "/boot/kfreebsd-`uname -r`.gz"; do ++ $([ -f "/boot/vmlinuz-$(uname -r)" ] && find /boot/ -name 'vmlinuz*' -and -name "vmlinuz-$(uname -r)" -or -name 'vmlinuz*' -and -newer "/boot/vmlinuz-$(uname -r)" | sort) \ ++ $([ -f "/boot/kfreebsd-$(uname -r).gz" ] && find /boot/ -name 'kfreebsd*' -and -name "kfreebsd-$(uname -r).gz" -or -name 'kfreebsd*' -and -newer "/boot/kfreebsd-$(uname -r).gz" | sort); do + + if [ -e "$on_disk" ]; then + if [ -z "$STRINGS" ]; then +@@ -196,12 +200,12 @@ + if [ -x /usr/bin/lsb_release ] ; then + vendor=$(lsb_release -i -s) + if [ -n "$vendor" ] && [ "xDebian" != "x$vendor" ] ; then +- on_disk_version=$( echo $on_disk_version|sed -e "s/ ($vendor [[:alnum:]\.-]\+ [[:alnum:]\.]\+)//") ++ on_disk_version=$( echo $on_disk_version|sed -e "s/ ($vendor [[:alnum:]\.-]\+ [[:alnum:]\.-]\+)//") + fi + fi +- [ -z "$on_disk_version" ] || break ++ [ -z "$on_disk_version" ] || continue + on_disk_version="`cat "$on_disk" | $STRINGS | grep 'Linux version' | head -n1`" +- [ -z "$on_disk_version" ] || break ++ [ -z "$on_disk_version" ] || continue + + echo "UNKNOWN: Failed to get a version string from image $on_disk" + exit $UNKNOWN diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/epn b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/epn new file mode 100644 index 0000000..7f31e58 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/epn @@ -0,0 +1,8 @@ +--- a/dsa/checks/dsa-check-packages ++++ b/dsa/checks/dsa-check-packages +@@ -1,4 +1,5 @@ + #!/usr/bin/perl ++# nagios: -epn + + # dsa-check-packages + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory new file mode 100644 index 0000000..5798d55 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory @@ -0,0 +1,22 @@ +--- a/dsa/sbin/dsa-update-apt-status ++++ b/dsa/sbin/dsa-update-apt-status +@@ -22,7 +22,7 @@ + # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + UPDATE_RUNS=3 +-STATUSDIR=/var/cache/dsa/nagios ++STATUSDIR=/var/cache/nagios_status + STATUS="${STATUSDIR}"/apt + SLEEP_MAX=$(( 15 * 60 )) + MAX_AGE=$(( 23 * 60 * 60 )) +--- a/dsa/sbin/dsa-update-unowned-file-status ++++ b/dsa/sbin/dsa-update-unowned-file-status +@@ -22,7 +22,7 @@ + # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + CUTOFF=40 +-STATUSDIR=/var/cache/dsa/nagios ++STATUSDIR=/var/cache/nagios_status + STATUS="${STATUSDIR}"/nouser + + mkdir -p "${STATUSDIR}" diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/percona-nagios-plugins/fix_bashism b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/percona-nagios-plugins/fix_bashism new file mode 100644 index 0000000..ec431a2 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/percona-nagios-plugins/fix_bashism @@ -0,0 +1,8 @@ +--- a/percona-nagios-plugins/nagios/bin/pmp-check-mysql-ts-count ++++ b/percona-nagios-plugins/nagios/bin/pmp-check-mysql-ts-count +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + + # ######################################################################## + # This program is part of $PROJECT_NAME$ diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/series b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/series new file mode 100644 index 0000000..98c8600 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/series @@ -0,0 +1,54 @@ +dsa/check_cert_expire_dir_check_name_fix +dsa/check_running_kernel_jessie_centos_fix +check_ajp/return_critical_on_failed_connection +check_backuppc/use_nagios_plugins +check_bgpstate/epn +check_clamav/clamav_locations +check_cups/epn +check_cups/monitoring-plugin +check_drbd/fix_for_oos_and_cosmetic +check_email_delivery/epn +check_email_delivery/paths +check_haproxy/epn +check_haproxy/monitoring-plugin +check_haproxy_stats/interpreter +check_httpd_status/epn +check_httpd_status/monitoring-plugin +check_imap_quota/syntax_error_fix +check_libs/lsof-speedup +check_libs/config_path +check_libs/space_before_deleted +check_libvirt/monitoring-plugin +check_libvirt/fix_uom +check_lm_sensors/manpage_whatis_fix +check_lm_sensors/spelling_errors +check_lm_sensors/interpreter +check_memory/new_free +check_memory/monitoring-plugin +check_nfsmounts/perl_module +check_nfsmounts/nfs_write_location +check_printer/use_data_dumper_if_needed +check_printer/use_nagios_plugin +check_printer/debian_bts +#check_raid/prefer_cciss_vol_status_over_hpacucli +check_rbl/interpreter +check_rbl/additional_rbls +check_smstools/monitoring-plugin +check_smstools/operator_siglvl +check_snmp_environment/epn +check_snmp_time/epn +check_uptime/missing_backslash +check_v46/no_epn +check_webinject/epn +dsa/check_packages_location +dsa/status_directory +dsa/check_packages-inifile +dsa/epn +dsa/check_packages_,_fix +check_cups/ParseDateDelta +check_printer/epn +check_nfsmounts/nfs4_support +check_httpd_status/htdigest_auth +check_varnish/fix_for_v56 +check_raid/no_epn +percona-nagios-plugins/fix_bashism diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/rules b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/rules new file mode 100755 index 0000000..e6c707a --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +PKGNAME = nagios-plugins-contrib +PLUGINS := $(shell find $(CURDIR) -mindepth 1 -maxdepth 1 -name .git -prune -o -name .pc -prune -o -name debian -prune -o -type d -printf '%f\n' | sort) + +%: + dh $@ --with quilt,python2 + +override_dh_auto_build: + dh_auto_build + $(PACKAGING_HELPER) --generate-readme + +PACKAGING_HELPER = /usr/bin/python $(CURDIR)/debian/packaging-helper.py + + +clean: debian/copyright debian/control debian/tests/control + dh $@ --with quilt,python2 + rm -f debian/README.Debian.plugins + +CONTROL_FILES := $(shell for p in $(PLUGINS); do echo $$p/control; done) +COPYRIGHT_FILES := $(shell for p in $(PLUGINS); do echo $$p/copyright; done) +TESTS_FILES := $(wildcard */tests) +debian/copyright: debian/copyright.in debian/packaging-helper.py $(CONTROL_FILES) $(COPYRIGHT_FILES) + $(PACKAGING_HELPER) --copyright + -if [ -d .git ]; then git add $@; git commit -m 'Auto update of $@' $@; fi + +debian/control: debian/control.in debian/packaging-helper.py $(CONTROL_FILES) + $(PACKAGING_HELPER) --control + -if [ -d .git ]; then git add $@; git commit -m 'Auto update of $@' $@; fi + +debian/tests/control: debian/packaging-helper.py $(TESTS_FILES) + $(PACKAGING_HELPER) --tests + -if [ -d .git ]; then git add $@; git commit -m 'Auto update of $@' $@; fi + + +watch: + @$(PACKAGING_HELPER) --watch + +.PHONY: watch diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/source/format b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/control b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/control new file mode 100644 index 0000000..1b5c612 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/control @@ -0,0 +1,37 @@ +Test-Command: mkdir -p /etc/nagios/ && sha256sum /bin/true > /etc/nagios/check_checksums.sha256 && /usr/lib/nagios/plugins/check_checksums +Restrictions: needs-root, breaks-testbed + +Depends: cups, libdate-manip-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, libnet-cups-perl, @ +Test-Command: /usr/lib/nagios/plugins/check_cups -H localhost +Restrictions: needs-root, isolation-container + +Depends: debsecan, @ +Test-Command: /usr/lib/nagios/plugins/check_debsecan -f 9998 -F 9999 -o 9998 -O 9999 -l 9998 -L 9999 -m 9998 -M 9999 -u 9998 -U 9999 -r + +Depends: libnet-dns-perl, @ +Test-Command: echo "127.0.0.1 localhost" > /etc/hosts && /usr/lib/nagios/plugins/check_etc_hosts +Restrictions: needs-root, breaks-testbed + +Test-Command: /usr/lib/nagios/plugins/check_etc_resolv +Depends: bind9-host | knot-host, @ + +Depends: apache2, liblocale-gettext-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, liblwp-useragent-determined-perl, @ +Test-Command: /usr/lib/nagios/plugins/check_httpd_status -H localhost +Restrictions: needs-root, allow-stderr, isolation-container + +Depends: lsof, libyaml-syck-perl, @ +Test-Command: /usr/lib/nagios/plugins/check_libs + +Restrictions: needs-root +Test-Command: /usr/lib/nagios/plugins/check_libs_ng + +Depends: openssl, curl, file, @ +Test-Command: /usr/lib/nagios/plugins/check_ssl_cert -H www.debian.org + +Depends: libmonitoring-plugin-perl | libnagios-plugin-perl, @ +Test-Command: /usr/lib/nagios/plugins/check_uptime -f + +Depends: varnish, systemd, dbus, @ +Restrictions: needs-root, isolation-container +Tests: test_check_varnish + diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/test_check_varnish b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/test_check_varnish new file mode 100755 index 0000000..cd373aa --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/tests/test_check_varnish @@ -0,0 +1,35 @@ +#!/bin/bash + +VARNISH_PORT=$(( ($RANDOM % 60000) + 1024 )) +API_PORT=$(( ($RANDOM % 60000) + 1024 )) + +systemctl stop varnish.service 2>/dev/null + +cat > /etc/systemd/system/varnish.service << __EOF__ + +[Unit] +Description=Varnish HTTP accelerator +Documentation=https://www.varnish-cache.org/docs/4.1/ man:varnishd + +[Service] +Type=simple +LimitNOFILE=131072 +LimitMEMLOCK=82000 +ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a localhost:${VARNISH_PORT} -T localhost:${API_PORT} -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,50m +ExecReload=/usr/share/varnish/reload-vcl +ProtectSystem=full +ProtectHome=true +PrivateTmp=true +PrivateDevices=true + +[Install] +WantedBy=multi-user.target + +__EOF__ + +systemctl daemon-reload 2>/dev/null +systemctl start varnish.service 2>/dev/null + +/usr/lib/nagios/plugins/check_varnish -p MAIN.pools -w 1: -c 1: +exit $? + -- cgit v1.2.3