diff options
71 files changed, 4132 insertions, 0 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml new file mode 100644 index 0000000..45a5cf6 --- /dev/null +++ b/debian/.gitlab-ci.yml @@ -0,0 +1,15 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml + +variables: + RELEASE: 'unstable' + SALSA_CI_DISABLE_APTLY: 0 + SALSA_CI_DISABLE_AUTOPKGTEST: 0 + SALSA_CI_DISABLE_BLHC: 1 + SALSA_CI_DISABLE_LINTIAN: 0 + SALSA_CI_DISABLE_PIUPARTS: 0 + SALSA_CI_DISABLE_REPROTEST: 0 + SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 0 + SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 0 + SALSA_CI_ENABLE_BUILD_PACKAGE_TWICE: 1 diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 0000000..c783dc0 --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,102 @@ +monitoring-plugins (2.1.2-3) unstable; urgency=medium + + We switched again over to another radius library. This time radcli + to fix #822337. This makes it again necessary to migrate you radius + credentials from /etc/radiusclient/servers to /etc/radcli/servers + in case you are using check_radius. + Please install the new dependencies in this case if you don't install + Recommends by default. Those dependencies can be found in + /usr/share/doc/monitoring-plugins-standard/README.Debian.plugins. + + -- Jan Wagner <waja@cyconet.org> Wed, 02 Nov 2016 23:59:10 +0100 + +monitoring-plugins (2.0-1) unstable; urgency=medium + + This software project was renamed by upstream. For more information + see https://www.monitoring-plugins.org/news/new-project-name.html. + + We renamed the package(s) also, but we kept the directories + /etc/nagios-plugins/ and /usr/lib/nagios/plugins for now, cause + many other packages rely on them. Maybe we have to change that later. + + We decided to set capabilities(7) for check_icmp and check_dhcp, when + possible. This means libcap2-bin needs to be installed and the + kernel (in our case this is linux) needs to support that. This + makes it possible to avoid suid bit set for those plugins. + + We even switched over to freeradius-client to fix #721621. This makes + it necessary to migrate you radius credentials from + /etc/radiusclient-ng/servers to /etc/radiusclient/servers in case you + are using check_radius. + + check_snmp is now evaluating negative values properly, but it might be + returning CRITICALs where it used to return OK and was ignored, if a + negative value turns out to actually be a valid value. + If negative values are valid, this can be worked around, by adding "~:" + to the warning/critical threshold : 100 -> ~:100 + + -- Jan Wagner <waja@cyconet.org> Mon, 23 Jun 2014 08:34:45 +0200 + +nagios-plugins (1.4.15-6) unstable; urgency=low + + Created a nagios-plugins-common package which ships files possibly needed + also by other plugin packages and should installed as dependency + + Removed check_bgpstate and check_linux_raid, which are shiped in upstream + contrib/ and are not maintained there anymore. If you need a replacement + for check_linux_raid, have a look into check_raid from + nagios-plugins-contrib package. + + -- Jan Wagner <waja@cyconet.org> Tue, 15 May 2012 13:41:33 +0200 + +nagios-plugins (1.4.15-4) unstable; urgency=low + + Moved linked libraries against nagios-plugins-standard from Depends to + Recommends and mention them in + /usr/share/doc/nagios-plugins-standard/README.Debian.plugins. + + -- Jan Wagner <waja@cyconet.org> Sun, 13 Feb 2011 22:51:54 +0100 + +nagios-plugins (1.4.14-2) unstable; urgency=low + + Moved check_mailq to nagios-plugins-standard, because it requires the mailq + binary and it is shipped with postfix, exim, sendmail and qmail, which is + the plugin is intended to check. + + -- Jan Wagner <waja@cyconet.org> Thu, 11 Mar 2010 13:24:23 +0100 + +nagios-plugins (1.4.14-1) unstable; urgency=low + + If your are using check_linux_raid.pl or check_bgpstate (respectively the + check_snmp_bgpstate), they will be removed sometime in the future, as + upstream will remove they shortly ... so be prepared! + + The qstat package is not a dependency any more but recommanded. As Recommands + installed by default these days, there shouldn't much users effected. If you + have turned off the installation of recommanded packages and you are using + check_quake, please install the qstat package again. + + For all non linux archs, we depend on inetutils-ping, since now. As actually + inetutils-ping doesn't support a deadlines option (see #565137), it will be + likely, that you will get plugin timeouts from check_ping. As iputils-ping + is not an option here, due it's not available, you have to deal with that. + The suggestion would be in this case, to migrate over to check_icmp. + + -- Jan Wagner <waja@cyconet.org> Sun, 20 Dec 2009 20:01:07 +0100 + +nagios-plugins (1.4.12-1) unstable; urgency=low + + Removed default port of check_radius definition in favor of the ability to + specify it as 4th argument. + + -- Jan Wagner <waja@cyconet.org> Fri, 06 Jun 2008 12:25:59 +0200 + +nagios-plugins (1.4.5-3) unstable; urgency=low + + ifstatus.cfg has changed. Now you have to provide a community in the first + argument ($ARG1$). Description and IfIndex moved to second argument ($ARG2$). + + E.g.: use "check_ifstatus!public" instead of "check_ifstatus" as + check_command! + + -- Jan Wagner <waja@cyconet.org> Thu, 11 Jan 2007 14:56:47 +0100 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..b1eaa35 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,95 @@ +================================================================================ +monitoring-plugins for Debian +================================================================================ + +below is a collection of various bits of information that might be +helpful to users of monitoring-plugins in debian. + +================================================================================ +plugins and dependencies +================================================================================ + +some plugins require additional libraries and programs. to prevent you from +having to install dozens of further packages that you don't actually need, +there is no strict dependency on some of them. +see /usr/share/doc/monitoring-plugins-standard/README.Debian.plugins for details. + +================================================================================ +how to use plugins +================================================================================ + +- you can invoke the plugins with "--help" to get help how to use the plugins +- a short usage can be usually obtained by just running the check without + arguments +- if you need more information, how to use plugins, have a look at: + http://www.monitoring-plugins.org/doc/faq/index.html + +================================================================================ +predefined / shipped check commands +================================================================================ + +we are shipping predefined checks, to make users life easier. at the first look, +this seems really nice. providing checks for every special case (see check_http) +may end up in a unsupportable state of our package. +for example one check is testing a service on a special port, where we provide +a check command. after some time, this service changes its port after some time, +cause the developers of this software decided for any reason to do so. changing +the port in the existing check will break installations, which are using the +service with the old behavior. new users will getting confused of not using the +correct port for their shiny service. +cause of this conflict, we try to provide flexible checks, which may look +complicated at first, but giving the user more power. + +a good example for using such a general approach is check_nt / check_nscp. some +3rd party sources (guessing they can traced back to one) are suggesting using +two args in some way like: + +define command { +command_name check_nt +command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ +} + +beside specifying not the port, we are not using "$ARG2$", cause all arguments +of "$ARG2$" can just be used in "$ARG1$" without any problem. +this gives you the possibility to use every check in your service definition, +without the problem about changes in your environment. you can easily change +your service definition as soon your environment changes without breaking the +command definition. + +================================================================================ +different plugin packages and how to avoid installing massive dependencies +================================================================================ + +if you're frustrated by all the crap being brought in by monitoring-plugins (for +example if you're installing nrpe or nsca on a remote host), try the +monitoring-plugins-basic package. + +================================================================================ +plugins needing root privilege or capabilities(7) set +================================================================================ + +the check_dhcp, check_icmp and maybe others plugins require root privileges or +capabilities(7) to run, because of the low-level packet mangling that they +perform. but, in the interest of the "safe default", these plugins will not +be installed with the suid bit set. +if setcap is able set the necessary capabilities, you are fine. if the setcap +binary is not installed or not able to set the capabilities, you need to +either set the capabilities (eg. cap_net_raw+ep) for your own or provide root +privileges. You could go the lazy way and install libcap2-bin and run the +following afterwards: + +# /var/lib/dpkg/info/monitoring-plugins-basic.postinst configure + +there are two recommended ways about providing root priviles to your plugins +on your system: + +- set the suid bit with dpkg-statoverride: + +# dpkg-statoverride --update --add root nagios 4750 $plugin + +where $plugin is the specific plugin you want to grant such privileges. + +- use sudo to grant the permissions and modify your plugin config + +of these two, the first is recommended because it's the simplest and +has the same effect as the second. diff --git a/debian/README.Debian.plugins.in b/debian/README.Debian.plugins.in new file mode 100644 index 0000000..6b69c76 --- /dev/null +++ b/debian/README.Debian.plugins.in @@ -0,0 +1,61 @@ +monitoring-plugins on Debian +============================ + +Some plugins require additional libraries and programs. To prevent you from +having to install dozens of further packages that you don't actually need, +there is no strict dependency on some of them. Rather, they are listed as +recommendations and suggests. + +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 "monitoring-plugins-standard" +package, beside the packages listed as suggests. +Else you have to install missing dependencies manually (see the section "Plugin +dependencies" below). + +Plugin dependencies: +-------------------- + +check_bgpstate: + * libnet-snmp-perl + * whois + +check_breeze: + * snmp + +check_disk_smb: + * smbclient + +check_dns: + * dnsutils + +check_fping: + * fping + +check_game: + * qstat + +check_ifoperstatus: + * libnet-snmp-perl + +check_ifstatus: + * libnet-snmp-perl + +check_mailq: + * sendmail binary of qmail or one of the following packages + - postfix + - sendmail-bin + - exim4-daemon-heavy + - exim4-daemon-light + * sudo + +check_oracle: + * procps + +check_rpc: + * rpcbind + +check_wave: + * snmp + +@PLUGIN_DEPS@ diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..fabfff5 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,24 @@ +We use dpatch for patch handling inside our package(s). Please see +/usr/share/doc/dpatch/README.source.gz (if you have installed dpatch) for +documentation about dpatch. + +Since Version 1.5.0 we are repackaging the upstream tarball to stop providing: + + * perlmods/ + +Therefor you should use the script debian/bin/repack.sh: + + repack.sh <upstream-tarball> + + This can also be automatically done with 'uscan --force-download' + +Creating a sufficiant tarball from latest git snapshot: + +* Install 'autoconf automake' beside the build-depends +* Following RELEASING[1] you need + - cd /tmp/monitoringlug + - tools/setup + - ./configure + - make dist + +[1] https://github.com/monitoring-plugins/monitoring-plugins/blob/master/doc/RELEASING diff --git a/debian/bin/gen_plugin_deps.pl b/debian/bin/gen_plugin_deps.pl new file mode 100644 index 0000000..1280074 --- /dev/null +++ b/debian/bin/gen_plugin_deps.pl @@ -0,0 +1,106 @@ +#! /usr/bin/perl +# +# collectd - gen_plugin_deps.pl +# Copyright (C) 2007 Sebastian Harl +# +# 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; only version 2 of the License is applicable. +# +# 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 +# +# Author: +# Sebastian Harl <sh at tokkee.org> + +use strict; +use warnings; + +# actual not needed +my $extra_deps = { +# sensors => [ 'lm-sensors' ], +}; + +my $infile = "debian/README.Debian.plugins.in"; +my $outfile = "debian/README.Debian.plugins"; + +my ($ifile, $ofile); + +if (! open($ifile, "<", $infile)) { + print STDERR "Could not open file '$infile': $!\n"; + exit 1; +} + +if (! open($ofile, ">", $outfile)) { + print STDERR "Could not open file '$outfile': $!\n"; + exit 1; +} + +while (my $line = <$ifile>) { + if ($line !~ m/^\@PLUGIN_DEPS\@\n$/) { + print $ofile $line; + } + else { + print_plugin_deps($ofile); + } +} + +close($ofile); +close($ifile); + +sub print_plugin_deps +{ + my $fh = shift; + my $pdir = undef; + my $i = 0; + + my $plugindir = "debian/monitoring-plugins-standard/usr/lib/nagios/plugins/"; + + if (! opendir($pdir, $plugindir)) { + print STDERR "Could not open directory '$plugindir': $!\n"; + exit 1; + } + + foreach my $dirent (sort readdir($pdir)) { +# if ($dirent !~ m/^(\w+).so$/) { + if ($dirent !~ m/^check_(\w+)$/) { + next; + } + + my $name = $1; + my $deps = `dpkg-shlibdeps -O $plugindir/$dirent`; + + chomp $deps; + + $deps =~ s/^shlibs:Depends=//; + + my @deps = grep !m/^libc6\b/, split m/, /, $deps; + + if (scalar @deps) { + if (0 < $i) { + print $fh "\n"; + } + + ++$i; + + print $fh "check_$name:\n"; + + if (defined $extra_deps->{$name}) { + unshift @deps, @{$extra_deps->{$name}}; + } + + foreach my $dep (@deps) { + print $fh " * $dep\n"; + } + } + } +} + +# vim: set tw=78 sw=4 ts=4 noexpandtab : + diff --git a/debian/bin/repack.sh b/debian/bin/repack.sh new file mode 100755 index 0000000..cc3b78f --- /dev/null +++ b/debian/bin/repack.sh @@ -0,0 +1,39 @@ +#!/bin/bash +# Borrowed from Raphael Geissert's Debian PHP repack script. + +set -e + +if [ ! -f "$3" ] && [ ! -f "$1" ]; then + echo "This script must be run via uscan or by manually specifying the tarball" >&2 + exit 1 +fi + +tarball= + +[ -f "$3" ] && tarball="$3" +[ -z "$tarball" -a -f "$1" ] && tarball="$1" + +tarball="$(readlink -f "$tarball")" + +tdir="$(mktemp -d)" +trap '[ ! -d "$tdir" ] || rm -r "$tdir"' EXIT + +tar -xzf $tarball -C $tdir +cp -a "$tarball" "$tarball.orig" +distdir="$(basename $(ls -d $tdir/*))" +srcdir="$tdir/$distdir" + +#echo "Adjusting $srcdir/configure" +sed -i 's/perlmods\/Makefile\ //' $srcdir/configure +sed -i '/perlmods\/Makefile/d' $srcdir/configure +#echo "Adjusting $srcdir/configure.in" +[ -f $srcdir/configure.in ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.in +#echo "Adjusting $srcdir/configure.am" +[ -f $srcdir/configure.ac ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.ac +#echo "Adjusting $srcdir/Makefile*" +sed -i 's/perlmods\ //' $srcdir/Makefile* +#echo "Removing $srcdir/perlmods/ +rm -rf $srcdir/perlmods/ + +tar -cof "${tarball%.*}" -C $tdir/ $distdir +gzip -f9 "${tarball%.*}" diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1e7d1b5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,1756 @@ +monitoring-plugins (2.3.5-1) unstable; urgency=medium + + [ Jan Wagner ] + * [a20810f] Adding d/p/36_check_smtp_adding_proxy_header from upstream + * [0250eb9] Adding d/p/37_check_smtp_Adding_SNI from upstream + * [1381a20] Remove left over d/p/31_checl_mailq_separate_submission_queue + + [ Bas Couwenberg ] + * [7c86d65] Explicitly enable test-build-twice job. + + [ Jan Wagner ] + * [de72f6f] New upstream version 2.3.4 + * [5956793] New upstream version 2.3.5 + * [f07f4db] Drop patches integrated by upstream + + -- Jan Wagner <waja@cyconet.org> Wed, 18 Oct 2023 12:04:05 +0200 + +monitoring-plugins (2.3.3-6) unstable; urgency=medium + + * [e1f9786] Adding d/p/14_check_curl_fix_SSL_with_multiple_IPs from upstream + * [534d0c8] Adding d/p/30_check_radius_radcli_1.3.1_support from upstream + * [bd72df2] Adding d/p/31_checl_mailq_separate_submission_queue from upstream + * [567890c] Adding d/p/32_check_disk_add_ignore_missing from upstream + (Closes: #516097) + * [47b7589] Adding d/p/15_check_swap_remove_includes from upstream + * [6f89be8] Adding d/p/33_check_procs_exclude-process from upstream + * [983507a] Adding d/p/34_check_curl_fix_compare_warning from upstream + * [9225592] Adding d/p/17_fix_exit_codes from upstream + * [3a0d875] Adding d/p/18_check_mysql_fix_typo from upstream + * [17688c7] Adding d/p/19_check_nwstat_fix_typo from upstream + * [e0cfe77] Adding d/p/20_chech_nt_fix_encoding from upstream + * [3da2163] Adding d/p/21_check_pgsql_extra_output from upstream + * [7cbe4b6] Adding d/p/22_check_disk_avoid_mount from upstream + * [01be8ce] d/p/series: Fix typo + * [85d9e03] Adding d/p/23_check_mysql_fix_error_handling from upstream + * [555d643] CI: Disable BLHC job + * [85a271e] Adding d/p/24_check_disk_fix_SI_units from upstream + * [02c716f] d/p/31_check_mailq_separate_submission_queue: Fix filename + + -- Jan Wagner <waja@cyconet.org> Mon, 12 Jun 2023 21:46:29 +0200 + +monitoring-plugins (2.3.3-5) unstable; urgency=medium + + * [6fb8e25] Adding d/p/14_check_curl_fix_SSL_with_multiple_IPs from upstream + * [eab1e1d] Adding d/p/15_check_swap_remove_includes from upstream + * [3ede347] Adding d/p/16_check_snmp_disable_multiplier_when_unused from upstream + + -- Jan Wagner <waja@cyconet.org> Thu, 30 Mar 2023 08:51:53 +0000 + +monitoring-plugins (2.3.3-4) unstable; urgency=medium + + * [953ee52] Adding d/p/13_check_icmp_improvements from upstream + + -- Jan Wagner <waja@cyconet.org> Tue, 07 Mar 2023 13:29:35 +0000 + +monitoring-plugins (2.3.3-3) unstable; urgency=medium + + * [15d0c56] Adding d/p/12_check_curl_improvements from upstream + + -- Jan Wagner <waja@cyconet.org> Fri, 24 Feb 2023 12:55:11 +0000 + +monitoring-plugins (2.3.3-2) unstable; urgency=high + + * [01c9312] Adding d/p/10_check_http_chunked_wo_actual_content from upstream + * [c1f3ca7] Adding d/p/11_fallback_for_gnutls from upstream + + -- Jan Wagner <waja@cyconet.org> Fri, 10 Feb 2023 10:16:38 +0000 + +monitoring-plugins (2.3.3-1) unstable; urgency=medium + + * [e7bdd1c] New upstream version 2.3.3 + * [c31ba97] Drop patches applied upstream + + -- Jan Wagner <waja@cyconet.org> Thu, 02 Feb 2023 09:36:44 +0000 + +monitoring-plugins (2.3.2-3) unstable; urgency=high + + * [62a3be0] Adding d/p/31_check_http_fix_memory_alloc_error_chunk_decod from + upstream (Closes: #1029934) + + -- Jan Wagner <waja@cyconet.org> Tue, 31 Jan 2023 13:13:58 +0000 + +monitoring-plugins (2.3.2-2) unstable; urgency=medium + + [ Bas Couwenberg ] + * [32fba01] Bump Standards-Version to 4.6.1, no changes. + + [ Jan Wagner ] + * [5a11a70] Adding upstream patches fixing (u)int64_t on 32-bit machines + (Closes: #1023280) + * [2a90f45] Adding github actions + * [7d0e34a] Use testing, since unstable has large transition ongoing + * [0543e43] only removing github stuff + * [1e0e230] Adding d/patches/16_check_pgsql_dbname_too_strict + (Closes: ##982847) + * [b61a8ea] Update d/patch/13_check_http_fix_superflous_crlf + * [73bd381] Adding d/p/17_check_curl_detect_ipv6 + + [ Bas Couwenberg ] + * [d6b03fd] Add Rules-Requires-Root to control file. + + [ Jan Wagner ] + * [08ddb1e] d/control: Drop 'pkg-' from Vcs-Headers + * [76475e9] Adding d/p/18_check_icmp_help from upstream + * [f625b1e] Adding d/p/19_check_disk_fs_usage from upstream + * [f9e79de] Adding d/p/20_check_apt_unknown_escape_sequence + * [f95110e] Adding d/p/21_check_http_faster_with_large_files from upstream + * [d4c9e0b] Adding d/p/22_check_curl_faster_with_large_files from upstream + * [c662b29] Adding gitlab CI + * [95eeed8] Adding d/p/24_check_apt_usage from upstream + * [298c20a] Bump debhelper from old 12 to 13. + * [ab165de] Update standards version to 4.6.2, no changes needed. + * [f064e9b] Adding d/p/23_check_http_chunked_encoding from upstream + * [f503139] d/README.Debian: Fix typo + * [ccc552b] Adding d/p/25_spell_fixes from upstream + * [405406d] d/rules: Set DH_VERBOSE=1 + * [ff160b6] Adding d/p/26_check_mailq_fix_nullmailer_regex from upstream + (Closes: #1019406) + * [e99bd7b] Adding d/p/27_check_snmp_add_multiplier + * [73742e9] Adding d/p/28_check_snmp_fix_regex_matches from upstream + * [4f70a9d] Adding d/p/29_check_log_polish from upstream + * [4f7eea1] Adding d/p/30_check_disk_clarify_usage_possibilites from upstream + + -- Jan Wagner <waja@cyconet.org> Mon, 23 Jan 2023 14:40:09 +0000 + +monitoring-plugins (2.3.2-1) unstable; urgency=medium + + * [1fe8724] d/control: remove deprecated libradiusclient-ng-dev from build-deps + * [9e92541] d/rules: Fix debhelper compat 12 by using '-a' instead '-s' + * [eb27aa7] Adding d/p/13_check_http_fix_superflous_crlf (Closes: #913142) + * [6cf0b31] Remove constraints unnecessary since buster + * [21323d2] New upstream version 2.3.2 (Closes: #800345, #997849) + * [91105f7] Drop patches integrated upstream + + -- Jan Wagner <waja@cyconet.org> Fri, 21 Oct 2022 11:41:42 +0200 + +monitoring-plugins (2.3.1-1) unstable; urgency=medium + + * Upload to unstable + + -- Jan Wagner <waja@cyconet.org> Thu, 22 Apr 2021 12:41:33 +0200 + +monitoring-plugins (2.3.1-1~exp2) experimental; urgency=medium + + * [eb7432c] Adding d/p/10_check_curl_header fixing HTTP_ heqders + * [363955f] Adding d/p/03_epn disable epn in check_disk_smb + + -- Jan Wagner <waja@cyconet.org> Tue, 13 Apr 2021 13:05:28 +0200 + +monitoring-plugins (2.3.1-1~exp1) experimental; urgency=medium + + * [09f4277] New upstream version 2.3.1 (Closes: #982847, #886888, #950921) + + -- Jan Wagner <waja@cyconet.org> Sun, 11 Apr 2021 12:21:37 +0100 + +monitoring-plugins (2.3-1) unstable; urgency=medium + + * Upload to unstable + + -- Jan Wagner <waja@cyconet.org> Wed, 06 Jan 2021 22:10:18 +0100 + +monitoring-plugins (2.3-1~exp1) experimental; urgency=medium + + * [3031044] New upstream version 2.3 + * [61ef2d7] Droping all patches commited upstream and beeing obsolete with 2.3 + * [66c44c4] d/control: adding new build-deps fir check_curl + * [59b52dd] d/rules: Adding check_curl to std_plugins + * [5e59ca1] Adding check_curl check commands + * [6cbfc78] check_uptime: Don't ship for now, check_uptime also exist in + nagios-plugins-contrib + + -- Jan Wagner <waja@cyconet.org> Mon, 14 Dec 2020 14:51:49 +0100 + +monitoring-plugins (2.2-7) unstable; urgency=medium + + [ Bas Couwenberg ] + * [643c792] Drop icinga from Suggests. + + [ Christopher Huhn ] + * [ab5d5b97] Fix OID for snmp_users check + + [ Debian Janitor ] + * Trim trailing whitespace. + * Wrap long lines in changelog entries: 1.4-1. + * Bump debhelper from deprecated 5 to 10. (Closes: #965726) + * Set upstream metadata fields: Bug-Database, Bug-Submit, Name (from + ./configure), Repository, Repository-Browse. + * Rely on pre-initialized dpkg-architecture variables. + * Fix day-of-week for changelog entry 1.5-2. + * Update standards version to 4.5.0, no changes needed. + + [ Bas Couwenberg ] + * [122d9b7] Bump watch file version to 4. + + [ Jan Wagner ] + * [e44da07] Adding CI + * [7065705] Removing .travis.yml + * [23a92bf] Remove debugging in ci workflow + + [ Bas Couwenberg ] + * [3c97246] Update gbp.conf to use --source-only-changes by default. + * [ed92830] Update gbp.conf for deprecated section. + * [4890f23] Drop obsolete symlinks for icinga 1.x. + * [6086187] Drop obsolete autotools-dev build dependency. + * [1407082] Don't set CFLAGS from noopt. + * [94db0e3] Drop obsolete ORed build dependency. + * [4ddc077] Bump Standards-Version to 4.5.1, no changes. + + [ Jan Wagner ] + * [bb8ed44] d/s/option: drop travis and add github ignore + * [52473e9] Rename debian/NEWS.Debian to debian/NEWS to make lintian happy + * [45b13cf] debian/monitoring-plugins-common.docs: Fixing NEWS filename + * [6ffbf14] Adding d/p/16_check_mailq_options from upstream (Closes: #954961) + + -- Jan Wagner <waja@cyconet.org> Tue, 08 Dec 2020 19:45:04 +0100 + +monitoring-plugins (2.2-6) unstable; urgency=medium + + * [697d611] travis-ci: Remove trusty from definition + * [7b5d419] d/rules: Explicitly call ping with -4 and -6 on linux arch + (Closes: #863981) + + -- Jan Wagner <waja@cyconet.org> Tue, 16 Apr 2019 19:14:10 +0200 + +monitoring-plugins (2.2-5) unstable; urgency=medium + + [ Bas Couwenberg ] + * [890cd8c] Bump Standards-Version to 4.1.5, no changes. + * [59073f6] Bump Standards-Version to 4.2.0, no changes. + * [e07a06c] Bump Standards-Version to 4.2.1, no changes. + + [ Jan Wagner ] + * [40b9004] travis-ci: Use xenial image + * [56443b1] d/control: Add Provides for 'old' nagios-plugins + + [ Bas Couwenberg ] + * [c70710f] Apply path by Andreas Henriksson to fix usrmerge issue. + (closes: #914092) + * [377eec3] Bump Standards-Version to 4.3.0, no changes. + + [ Jan Wagner ] + * [73f2273] Add d/p/14_mariad to fix FTBFS with MariaDB 10.3. + (Closes: #919375) + * [4f75b28] Add d/p/15_check_smtp_initialize to fix check_smtp with custom + commands and SSL + * [61315ee] d/rules: Configure with sudo (Closes: 905318) + * [d8a134e] d/control: Add sudo to Recommends + * [1fe1cd2] Symlink /usr/lib/nagios/plugins/utils.* to /usr/lib/icinga/ + (Closes: #879084, #907484) + + -- Jan Wagner <waja@cyconet.org> Sun, 20 Jan 2019 19:40:25 +0100 + +monitoring-plugins (2.2-4) unstable; urgency=medium + + * [97cb3c4] Drop symlinks to removed LEGAL file. (Closes: #856676) + * [878ceb9] Using absolut paths when using ucf, debconf 1.5.62 changed it's + behaviour (Closes: #867256) + * [22de139] d/control: Update VCS-headers + * [b024e21] d/control: Priority extra is deprecated, using optional + * [9095923] d/control: Drop old nagios-plugins* transitional packages + (Closes: #878769) + * [6956bcc] d/control: Bump Standards-Version to 4.1.4.0, no changes needed + * [d634e5a] d/functions: Fixing ucf register function + + -- Jan Wagner <waja@cyconet.org> Sun, 13 May 2018 14:04:35 +0200 + +monitoring-plugins (2.2-3) unstable; urgency=medium + + * [760496b] d/control: Drop useless libssl1.0-dev build depend alternative + * [e5adc23] Update d/p/10_spell_fixes + * [094efe4] Adding d/p/12_check_apt_only_crit and + d/p/13_check_apt_list_packages + * [e4d7fd6] travis-ci: Reduce complexity + + -- Jan Wagner <waja@cyconet.org> Thu, 19 Jan 2017 08:14:21 +0100 + +monitoring-plugins (2.2-2) unstable; urgency=medium + + * [627d88a] d/control: Explicit build-dep on libssl-dev or libssl1.0-dev + (Closes: #847612) + + -- Jan Wagner <waja@cyconet.org> Sun, 11 Dec 2016 16:17:18 +0100 + +monitoring-plugins (2.2-1) unstable; urgency=medium + + + * [6f99654] Adding OpenSSL support by d/p/21_openssl11 (Closes: #844031), + still build against openssl 1.0 + * [3978de2] travis-ci: Add my own trusty ppa for newer lintian + * [fc1e752] travis-ci: use distribution trusty + * [0bf4153] travis-ci: Use include build matrix + * [c845af0] New upstream version 2.2 + * [79b42f5] Drop patches integrated upstream + * [be431d8] Don't ship removed LEGAL file anymore + * [38c2cff] Apply d/p/10_spell_fixes + * [abb379d] d/control: Remove nagios3 from Suggests (Closes: #846874) + * [2857592] d/control: Add icinga2 as suggests alternative + * [7fe2363] d/control: Update Vcs-Browser URL to HTTPS + * [670b052] d/control: Update VCS-URLs to https and cgit + * [ed0d010] Apply d/p/11_check_dhcp_MSG_PEAK + * [4e87f4c] d/control: Remove explicit dependency on libssl-dev + + -- Jan Wagner <waja@cyconet.org> Thu, 08 Dec 2016 15:13:41 +0100 + +monitoring-plugins (2.1.2-3) unstable; urgency=medium + + * [8bab78d] d/control: Replacing build-dep libmysqlclient-dev with + default-libmysqlclient-dev + * [c40925b] d/control: Bump Standards-Version to 3.9.8, no changes needed + * [2499442] travis-ci: Do not autoremove packages + * [c272a5f] travis-ci: Add trusty-backports + * [c15dfcc] Remove dangling links for removed examples (Closes: #824599) + * [767714f] d/control: Build-depend on libssl1.0-dev + * [775a4db] d/control: Add libssl-dev (<< 1.1.0) as Build-depend alternative + for backporting + * [0ee6998] travis-ci: Make use of travis.d.n + * [a4b8d68] travis-ci: Adding jessie repo + * [7a42fe2] travis-ci: Also fetching all tags + * [a3c46e3] travis-ci: Using httpredir.debian.org as mirror + * [51e0ade] travis-ci: Builds on testing are allowed to fail + * [11ce4ed] d/control: Add libmysqlclient-dev as Build-depend alternative for + backporting + * [cccb5e2] travis-ci: Add stable to travis env + * [c614108] d/control: Adding libradcli-dev as first radius build-dep + (Closes: #822337) + * [1b1c5e9] Adding d/p/20_check_radius_radcli to add support for radcli + (Closes: #822337) + * [bbb8528] d/NEWS.Debian: Add a note about dependencies for check_radius + * [438149a] Adjust check_radius command definition to use the correct + radiusclient config file + + -- Jan Wagner <waja@cyconet.org> Fri, 18 Nov 2016 12:22:37 +0100 + +monitoring-plugins (2.1.2-2) unstable; urgency=medium + + [ Jan Wagner ] + * [6bcfb6c] Remove check_bgpstate and check_linux_raid from package + description (LP: #1473229) + * [93b217d] travis-ci: Adding required arguments for trusty + * [af23094] travis-ci: Droping backports + * [3fd4e78] travis-ci: automatically install dependencies + + [ Klaus Ethgen ] + * [52ead1a] Fix /proc check on systems that have hardened system + (Closes: #803154) + + [ Robie Basak ] + * [db38432] Drop fping and qstat from Recommends to Suggests + * [877f48a] Drop $(DEPSUBSTVARS) from dh_gencontrol call + + [ Jan Wagner ] + * [8401f27] Use dh_prep instead of dh_clean -k + * [093d9a4] Drop hardening-wrapper, use dpkg-buildflags instead + + -- Jan Wagner <waja@cyconet.org> Mon, 16 Nov 2015 20:06:31 +0100 + +monitoring-plugins (2.1.2-1) unstable; urgency=medium + + * [710c8df] Imported Upstream version 2.1.2 + + -- Jan Wagner <waja@cyconet.org> Fri, 16 Oct 2015 15:00:57 +0200 + +monitoring-plugins (2.1.1+git20151012-1) unstable; urgency=medium + + * [b8377a8] travis-ci: don't install build-deps manual + * [3fda51b] travis-ci: build package with dpkg-buildpackage + * [e6de6c2] travis-ci: cosmetical changes + * [1314f7b] Drop libmysqlclient16-dev and libmysqlclient15-dev as build-dep + alternatives (Closes: #790468) + * [f412e4a] Convert the package to source format 3.0 (quilt) + * [25a6df7] debian/copyright: Deleting empty last line + * [96ed330] debian/control: reformating with warp-and-sort + * [1353afa] Reformating with warp-and-sort the rest of debian/ + * [5dbc8cb] travis-ci: grab actual used upstream version + * [608ba75] Add patches/10_sslutils_checksslv3 from upstream maint branch + * [8e98d7f] Add patches/11_check_dhcp_parsing_option from upstream maint + branch + * [0d48744] Add patches/12_check_ups_perf_data_hresholds from upstream maint + branch + * [fad70ed] Add patches/13_check_snmp_timeout from upstream maint branch + * [a9d2a52] Add patches/14_sslutils_superfluous_parenthesis from upstream + maint branch + * [f69aba4] Add patches/15_check_smtp_expect from upstream master branch + * [0c7f9bf] Add patches/16_check_smtp_quit from upstream master branch + * [5d8b296] Add patches/17_check_smtp_forcetls_on_cert from upstream master + branch + * [494a834] Imported Upstream version 2.1.1+git20151012 (Closes: #784319) + * [9e076d8] Droping patches imported from upstream maint branch + * [605543c] Update version + + -- Jan Wagner <waja@cyconet.org> Mon, 12 Oct 2015 16:12:30 +0200 + +monitoring-plugins (2.1.1-1) unstable; urgency=high + + * [61401f6] Imported Upstream version 2.1.1 + * [ace55d6] Droping all patches taken from upstream 'maint' branch + - 10_check_apt_fix_memset.dpatch + - 10_check_ntp_null_termination.dpatch + - 10_check_real_null_termination.dpatch + - 10_check_tcp_fix_help_escape.dpatch + - 11_check_ntp_revert_n-p_coverty_fix.dpatch + - 12_check_ntp_null_termination_jitter.dpatch + + -- Jan Wagner <waja@cyconet.org> Tue, 02 Dec 2014 05:42:05 +0100 + +monitoring-plugins (2.1-3) unstable; urgency=high + + * [fecca17] Applying more patches from upstream 'maint' branch fixing the + check_ntp fix and a small escape in check_tcp + - 10_check_tcp_fix_help_escape.dpatch + - 11_check_ntp_revert_n-p_coverty_fix.dpatch + - 12_check_ntp_null_termination_jitter.dpatch + * [92d5f60] Fixing dpatch macro + - 10_check_ntp_null_termination.dpatch + - 10_check_real_null_termination.dpatch + + -- Jan Wagner <waja@cyconet.org> Mon, 01 Dec 2014 21:29:16 +0100 + +monitoring-plugins (2.1-2) unstable; urgency=high + + * [d4bbd4c] Applying patches from upstream 'maint' branch + fixing grave coding errors + - 10_check_apt_fix_memset.dpatch + - 10_check_ntp_null_termination.dpatch + - 10_check_real_null_termination.dpatch + + -- Jan Wagner <waja@cyconet.org> Sat, 29 Nov 2014 11:12:58 +0100 + +monitoring-plugins (2.1-1) unstable; urgency=medium + + * [060ec72] Imported Upstream version 2.1 (Closes: #758662) + * [5255a96] Add icinga2 as another Suggests option + * [88b130b] Add --disable-maintainer-mode to configure, for not running + autotools foo + * [8f70394] Bump Standards-Version to 3.9.6, no changes needed + + -- Jan Wagner <waja@cyconet.org> Wed, 15 Oct 2014 23:26:24 +0200 + +monitoring-plugins (2.0-2) unstable; urgency=medium + + * [1a9106e] debian/control: Fixing and generalizing descriptions + * [3f5ec75] Updating debian/changelog + * [ec235b0] travis-ci: use libfreeradius-client-dev as build-dep + * [b2a2999] check_oracle: Fix --tns bad string matching + - Adding 10_check_oracle_tns_bad_string.dpatch + + -- Jan Wagner <waja@cyconet.org> Mon, 11 Aug 2014 15:22:59 +0200 + +monitoring-plugins (2.0-1) unstable; urgency=medium + + * [0841b5c] Imported Upstream version 2.0 + (Closes: #496307, #489974, #489974, #738042) + * [49be365] Starting transition toward monitoring-plugins with debian/control + * [a90fffd] Fix install path in dependency helper + * [b6aca40] Fixing our debian/README.source to recent state + * [cca2985] Fix documentation path in nt.cfg + * [243da0a] Fix URL in the watch file + * [ffc2ec8] Rename all debian nagios-plugins* to monitoring-plugins* + (Closes: #736331) + * [9f353b3] Fix package name in README.Debian* files + * [fb6d01c] Fixing pathes in debian/rules and maintainers scripts + * [03eb8d0] Document our move due renamed upstream + * [5070f23] Droping patches applied upstream + - 11_check_http_arguments.dpatch + - 12_check_ssh_read_socket.dpatch + * [ff3a690] Fix spelling error in debian/NEWS.Debian + * [e754328] Fixing dependency relation + * [fcf0c24] Updating standards version to 3.9.5 (no changes needed) + * [72f1e74] Fix watch file to match further and actual releases + * [85dfaeb] Repack upstream tarball on download + * [ab4c50f] Update README.source + * [5ae316e] Fixing repack.sh script + * [0ef43fe] Add 03_configure.in_remove_perlmods.dpatch + * [9b07715] Drop 13_check_proc_parent_process.dpatch + - Included upstream + * [a3145c9] Adjust repack.sh to latest upstream + * [ce560c9] Add travis config + * [b207889] Remove 03_configure.in_remove_perlmods.dpatch + * [4e50939] travis-ci: Add lintian checks after build + * [6fbf537] travis-ci: Remove gawk from buildenv + * [5965a35] Include correct bug report for latest close (just cosmetic change) + * [9939d1f] Breaks and Replaces against next upstream release + * [1d11720] Don't use Pre-Depends + * [4580974] check_fping: define fping6 command on compile time + (Closes: #751866), many thanks Nicolas Deefayet for bringing this up + * [7cb5f53] check_http: droping expect string from check_squid + (Closes: #742363), thanks Andreas B. Mundt + * [803b3e3] Add libfreeradius-client-dev as first build-dep option + (Closes: #721621) + * [c3dd2ca] Fixing typo in changelog + * [4e2ccd5] NEWS.Debian: Adjust version, next stable release will be 2.0 + * [1742518] Use canonical VCS-URIs + * [d4ad20c] Set -e in the body of the maintainers script + * [a6611b1] check_icmp/check_dhcp: Implementing setcap + * [90090cb] check_dhcp: Set proper capabilities + * [a75bd42] README.Debian: Lazy documentation how to set capabilities + * [6b6e127] NEWS.Debian: Adding some more details + * [7f2013f] NEWS.Debian: Fix wording + * [e7c0c6f] Adjust Break and Replace version in debian/control + * [aeed4b2] Adjust VCS-Headers to new package name + * [e789ea3] NEWS.Debian: Add a hint about negative values of check_snmp + * [b798a92] debian/bin/repack.sh: Fixing substitution + * [73fc1e6] travis-ci: droping m-p branch workaround + * [9083aa4] debian/bin/repack.sh: adjust for configure.ac + * [1b7ece7] debian/copyright: syncing license notice from upstream README + * [8d8e2d4] debian/copyright: Add missing gl/m4/*.m4 + + -- Jan Wagner <waja@cyconet.org> Fri, 11 Jul 2014 23:40:41 +0200 + +nagios-plugins (1.5-3) unstable; urgency=medium + + * [38d8f67] Fixing latest changelog timestamp + * [7091aae] check_ssh: Drop 12_check_ssh_read_socket.dpatch + (Closes: #734811, #739254), this seems to make more touble in the wild as + fixing #739254, Thanks Jim Barber + + -- Jan Wagner <waja@cyconet.org> Mon, 17 Feb 2014 12:42:06 +0100 + +nagios-plugins (1.5-2) unstable; urgency=medium + + * Update Licensing text from upstream README + * Switch over to packaging ti git-buildpackage + * [1a95a53] Update Vcs-headers + * [e0ee45e] Use check_ldap instead of check_ldaps for the check_ldaps* + command definitions + * [9bc7a29] Add 11_check_http_arguments.dpatch to fix argument processing + of check_http + * [219a55a] Add 12_check_ssh_read_socket.dpatch to fix socket read failure + (Closes: #734811) + * [0cc66f5] Fix typo in package description (Closes: #734513), thanks + Pascal De Vuyst + * [ec51a84] Just missed a typo to fix in debian/control + * [de62798] Changing upstream URLs to monitoring-plugins.org + * [1a03f82] Fix URL in the watch file + * [201bd0e] Adding 13_check_proc_parent_process.dpatch (Closes: 626913), + Thanks Anton Lofgren + * [e5fc80f] Build again against libradiusclient-ng-dev, this Reopens: #721621 + - libfreeradius-client-dev is actually not supported by upstream + - check_radius + + -- Jan Wagner <waja@cyconet.org> Sun, 02 Feb 2014 22:11:48 +0100 + +nagios-plugins (1.5-1) unstable; urgency=medium + + * New upstream release + + -- Jan Wagner <waja@cyconet.org> Wed, 02 Oct 2013 20:03:31 +0200 + +nagios-plugins (1.4.16+git20130926-1) unstable; urgency=medium + + * New upstream git snapshot (d4c5730464) + - check_http: Die on SSL initialization errors + - several updates to the upstream README + + -- Jan Wagner <waja@cyconet.org> Fri, 27 Sep 2013 16:45:44 +0200 + +nagios-plugins (1.4.16+git20130919-1) unstable; urgency=medium + + * New upstream git snapshot (6f0366c8b8) + - check_pgsql: Don't exit UNKNOWN instead of OK (Closes: #723738) + - check_dhcp: fix mac address and interface number detection on solaris + - check_disk: get_fs_usage hasn't been run if using groups + - check_disk_smb: verify path to smbclient + - check_tcp: use receive timeout for checks that expect response + - check_load: add alternative uptime syntaxcheck_udp: try nc.traditional too + - check_udp: unified nc syntax + - check_fping: some fping versions set loss to 0% by mistake + + -- Jan Wagner <waja@cyconet.org> Fri, 20 Sep 2013 11:40:38 +0200 + +nagios-plugins (1.4.16+git20130912-1) unstable; urgency=medium + + * New upstream git snapshot (4933146e00) (Closes: #722576) + - check_snmp: add timeout handler befor running snmpget + - check_tcp: only test ipv6 if ping6 works + - tests: sort cached settings before save + - tests: make sure tests don't hang + - check_tcp: Fix checks without --expect string + - check_tcp: Properly deal will partial recv(3)s + - Improve interface of np_expect_match() function + + -- Jan Wagner <waja@cyconet.org> Fri, 13 Sep 2013 00:24:22 +0200 + +nagios-plugins (1.4.16+git20130911-1) unstable; urgency=medium + + * New upstream git snapshot (ca9ce71576) + - Don't mark SSL_METHOD variable as "const" + - Move global variables from .h to .c files + - Fix GCC's -Wimplicit-function-declaration warnings + - Fix GCC's -Wuninitialized warnings + + -- Jan Wagner <waja@cyconet.org> Wed, 11 Sep 2013 13:02:31 +0200 + +nagios-plugins (1.4.16+git20130910-1) unstable; urgency=medium + + * New upstream git snapshot (cfb50add53) + - check_tcp: Don't close connection too early + - check_http: s/--proxy_authorization/--proxy-authorization/ + - check_snmp: Initialize size_t value to 0, not NULL + - Update bundled libtool files + - check_icmp: Minor whitespace/indentation fixes + - check_icmp: Support "--help" and "--version" + + -- Jan Wagner <waja@cyconet.org> Tue, 10 Sep 2013 14:01:39 +0200 + +nagios-plugins (1.4.16+git20130902-1) unstable; urgency=medium + + * New upstream git snapshot (5789548373) (Closes: #522812) + - Adjust debian/copyright + * Droped the following upstream integrated patches + - 05_fix_gets_undefined_in_iso_c11.dpatch + - 10_check_apt_perfdata.dpatch + - 11_check_nt_npe.dpatch + - 12_check_smtp_double_threshold.dpatch + * Fix removing empty /usr/include + * Add new check_dbi into nagios-plugins-standard + * Remove whois from Recommands, as check_bgpstate is removed + * Cleanup debian/rules from unused stuff + * Provide information about repackaging + - Extend debian/README.source + - Add debian/bin/repack.sh + * Updating standards version to 3.9.4 (no changes needed) + * Add libfreeradius-client-dev to build-deps and remove libradiusclient-ng-dev + (Closes: #721621) + * Remove traces of contrib/ from debian/copyright + * Remove command.cfg from examples in nagios-plugins-common, it was removed + upstream + + -- Jan Wagner <waja@cyconet.org> Tue, 03 Sep 2013 15:13:11 +0200 + +nagios-plugins (1.4.16-3) unstable; urgency=medium + + * Fixed check_squid* command definitions + * Add double threshold to check_smtp (LP: #318703) + - 12_check_smtp_double_threshold.dpatch + * Remove the additional argument from check_ssh and check_proc + (Closes: #717229, 720580) + + -- Jan Wagner <waja@cyconet.org> Fri, 23 Aug 2013 22:10:13 +0200 + +nagios-plugins (1.4.16-2) unstable; urgency=low + + * Add versioned dependency to inetutils-ping (Closes: #680416), thanks to + Robert Millan + * Move nagios-plugins-contrib from Recommends to Suggests + * Define the path for rpcinfo to /usr/sbin and recommend rpcbind + - LP: #1086151 + - Closes: #713839, thanks to Russell Sim + * Enable Extra-Opts by adding --enable-extra-opts to configure flags + (Closes: #698119) + * Fix FTBFS: do not assume that gets is defined + - LP: #1097848 + - Closes: #701406 + * Add performance data to check_apt: 10_check_apt_perfdata.dpatch + (Closes: #708343) + * Fixing NULL pointer dereference in check_nt (Closes: #714281), thanks to + Vaclav Ovsik + * Add additional arguments to command definitions in (Closes: #709297): + - dhcp.cfg + - dns.cfg + - ftp.cfg + - http.cfg + - mail.cfg + - mysql.cfg + - news.cfg + - ntp.cfg + - pgsql.cfg + - procs.cfg + - ssh.cfg + - tcp_udp.cfg + - telnet.cfg + + -- Jan Wagner <waja@cyconet.org> Wed, 10 Jul 2013 15:08:23 +0200 + +nagios-plugins (1.4.16-1) unstable; urgency=low + + * New upstream release + - Drop 00_fix_release_version.dpatch + * Droped the following upstream integrated patches + - 03_check_disk_smb_perfdata.dpatch + - 10_check_dhcp_Fix-handling-of-pad-options.dpatch + - 11_check_dhcp_Don-t-misinterpret-the-siaddr-field.dpatch + * Updated debian/copyright + + -- Jan Wagner <waja@cyconet.org> Wed, 27 Jun 2012 23:06:52 +0200 + +nagios-plugins (1.4.16~pre1-1) unstable; urgency=medium + + * New upstream snapshot (Closes: #662638, #514588) + * Droped the following upstream integrated patches + - 10_check_disk_smb_spaces.dpatch + - 11_check_disk_smb_NT_STATUS_ACCESS_DENIED.dpatch + - 12_check_snmp_1.4.15_regression.dpatch + - 13_check_smtp_greeting.dpatch + - 14_check_icmp_multiple_ips.dpatch + - 15_check_sensors_fault.dpatch + - 16_check_raduis_fix_format-security.dpatch + - 17_check_tcp_fix_duplicate_cert_message.dpatch + - 17_check_smtp_fix_duplicate_cert_message.dpatch + - 18_check_snmp_labels.dpatch + - 19_check_http_help.dpatch + * Added the following upstream patches + - 10_check_dhcp_Fix-handling-of-pad-options.dpatch + - 11_check_dhcp_Don-t-misinterpret-the-siaddr-field.dpatch + * Add 00_fix_release_version.dpatch to fix release version + * Bump Standards-Version to 3.9.3, no changes needed + + -- Jan Wagner <waja@cyconet.org> Thu, 14 Jun 2012 10:39:44 +0200 + +nagios-plugins (1.4.15-7) unstable; urgency=low + + * Recommand nagios-plugins-contrib via nagios-plugins, drop + nagios-plugins-common which gets installed by nagios-plugins-basic + anyways + * Add Replaces: nagios-plugins-basic to nagios-plugins-common + (Closes: #673891), thanks to Christoph Anton Mitterer + + -- Jan Wagner <waja@cyconet.org> Tue, 22 May 2012 20:00:03 +0200 + +nagios-plugins (1.4.15-6) unstable; urgency=low + + * Add nagios-plugins-common package which ships files possibly needed also by + other plugin packages + * Removed check_bgpstate and check_linux_raid from package + - Deleted 01_subst.in.dpatch and 05_check_linux_raid_fix_striped.dpatch + - Remove check_snmp_bgpstate command definition + * Recommand nagios-plugins-common via nagios-plugins + * Add icinga as recommand as alternative for nagios3 + * Add '-w %d' as ping argument for check_ping on non-linux plattforms, as + inetutils-ping is now supporting this, thanks Guillem Jover for bringing + this up (Closes: #655023) + * Adding 17_check_smtp_fix_duplicate_cert_message.dpatch and + 17_check_tcp_fix_duplicate_cert_message.dpatch (Closes: #654682), to fix + duplicate messages when certificate errors occures, thanks Sebastian Harl + for reporting + * Add build-arch and build-indep targets to debian/rules + * Add 03_check_disk_smb_perfdata.dpatch to add perfdata to check_disk_smb + (Closes: #654259), thanks to G. Leimua + * Add 18_check_snmp_labels.dpatch to fix multiple labels in check_snmp + (Closes: #647020), thanks to Oskar Liljeblad + * Updating Vcs-Browser field + * Add 19_check_http_help.dpatch to clarify that check_http won't verify + certificates (Closes: #644627), thanks to Michael Renner + * Add check_jabber and check_jabber_4 command definitions + * Add check_mysql_slave command definition + + -- Jan Wagner <waja@cyconet.org> Fri, 18 May 2012 11:41:17 +0200 + +nagios-plugins (1.4.15-5) unstable; urgency=low + + * Enable hardening options (Closes: #542728) + * Bump Standards-Version to 3.9.2, no changes needed + * Updating package description (Closes: #640070), thanks to Christoph Anton + Mitterer + - Listing the checks of each package + - Hint added, that nagios-plugins-basic needs more packages (recommands) + * Adding 16_check_raduis_fix_format-security.dpatch to fix error in + check_radius when compiling with -Werror=format-security (hardening), + thanks Thomas Guyot-Sionnesti - LP: #837085 + * Adding 15_check_sensors_fault.dpatch to detect sensors in FAULT state, + thank Holger Weiss (Closes: #615133) + * Remove empty /usr/include from nagios-plugins-basic, thanks Ferenc Wagner + (Closes: #630711) + + -- Jan Wagner <waja@cyconet.org> Wed, 07 Sep 2011 12:23:56 +0200 + +nagios-plugins (1.4.15-4) unstable; urgency=low + + * Add 13_check_smtp_greeting.dpatch (Closes: #611914), thanks Daniel Piddock + for spotting and Holger Weiss for providing a fix + - Abort immediately if we don't receive a server greeting or if the + greeting doesn't contain the "--expect"ed string (by default: "220") + instead of blindly sending the EHLO/HELO line. + * Add 14_check_icmp_multiple_ips.dpatch (Closes: #623702), thanks Max Kosmach + for spotting and Sebastian Harl for providing a fix + - When specifying a host-name on the command line, each of its IPs is added + to the host table (and each one is pinged). So, the buffer has to be large + enough to hold all of the respective host objects. (argc - 1) only fits + hosts with a single IP. + * Move libraries linked at compile time against checks of + nagios-plugins-standard from Depends to Recommends (Closes: #569028) + - Add slightly modified bin/gen_plugin_deps.pl from collectd source package + - Add linked libraries via bin/gen_plugin_deps.pl into + /usr/share/doc/nagios-plugins-standard/README.Debian.plugins + - Build-Depend on perl + - Create customized substvars for nagios-plugins-standard via + dpkg-shlibdeps in debian/rules + - Remove temporary files via clean target in debian/rules + - Add hint to NEWS.Debian + + -- Jan Wagner <waja@cyconet.org> Wed, 18 May 2011 16:31:35 +0200 + +nagios-plugins (1.4.15-3) unstable; urgency=low + + * Add 10_check_disk_smb_spaces.dpatch from upstream svn (Closes: #601699), + thanks to Adam Buchbinder + * Add 11_check_disk_smb_NT_STATUS_ACCESS_DENIED.dpatch from upstream svn + (Closes: #601696), thanks to Adam Buchbinder + * Fix broken symlink of README.Debian.plugins (Closes: #603414), thanks + Bernd Zeimetz + * Add patche provided by upstream to fix regressions with check_snmp + introduced in 1.4.15 (Closes: #607736) + - 12_check_snmp_1.4.15_regression.dpatch + + -- Jan Wagner <waja@cyconet.org> Wed, 22 Dec 2010 00:43:02 +0100 + +nagios-plugins (1.4.15-2) unstable; urgency=low + + [ Alexander Wirt ] + * Call ps with two "w" to ensure unlimited width of ps output + (Closes: #596372) + + [ Jan Wagner ] + * Add 05_check_linux_raid_fix_striped.dpatch to fix bad output from + check_linux_raid with RAID0 and linear volumes, thanks to Thomas + Guyot-Sionnest (Closes: #579049) - LP: #621380 + * Bump Standards-Version to 3.9.1, no changes needed + + -- Jan Wagner <waja@cyconet.org> Thu, 23 Sep 2010 09:24:39 +0200 + +nagios-plugins (1.4.15-1) unstable; urgency=low + + * New upstream release (Closes: #588273, #522631) + * Droped the following upstream integrated patches + - 03_check_smtp_help.dpatch + - 06_checkircd.dpatch + - 18_check_game_cmdline.dpatch + - 22_check_smb_hostaddress.dpatch + - 32_check_ldap_pointer.dpatch + - 33_fix_emb_check_disk_smb.dpatch + - 34_fix_smbclient_check_disk_smb.dpatch + - 35_check_http_date.dpatch + - 36_check_ldap_empty_base.dpatch + - 37_check_radius_nas-ip-address.dpatch + - 39_check_ircd_fix_epn.dpatch + - 40_check_http_proxy_auth.dpatch + - 41_check_ping_detect_args.dpatch + - 42_check_linux_raid_fix_r10.dpatch + - 42_check_linux_raid_fix_rebuild.dpatch + - 43_check_http_large_pages_mleak.dpatch + - 44_check_snmp_perfdata.dpatch + - 45_check_http_sni_optional.dpatch + * Rename 13_subst.in_again.dpatch to 01_subst.in.dpatch + * Fix ssh_disk and make ssh_disk* better readable, thanks + Paul Slootman (Closes: #582272) + + -- Jan Wagner <waja@cyconet.org> Sat, 31 Jul 2010 10:34:04 +0200 + +nagios-plugins (1.4.14-5) unstable; urgency=low + + * Adding links to Debian and Upstream bugreports into most of the patches + * Dropping patches not needed anymore, thanks Holger Weiss for assisting: + - 14_check_log_paths.dpatch: paths are fine now + - 26_implicit-basename.dpatch: no 'implicitly convertion' found in buildlog + without the patch + - 27_check_radius_segfault.dpatch: check_radius.c:161 initializes "data" to + 0 using memset(3) and problem not longer reproducable on amd64 without + the patch + * Drop 13_subst.in_again.dpatch and move 38_fix_libexec.dpatch to + 13_subst.in_again.dpatch + * Fix 34_fix_smbclient_check_disk_smb.dpatch and drop + 23_check_smb_password.dpatch, thanks Holger Weiss for notification + * Update 39_check_ircd_fix_epn.dpatch with fix from upstream, thanks + Holger Weiss + * Add 03_check_smtp_help.dpatch to add the help output of "-F" to check_smtp, + thanks to Josip Rodin (Closes: #578374) + + -- Jan Wagner <waja@cyconet.org> Sat, 08 May 2010 22:11:17 +0200 + +nagios-plugins (1.4.14-4) unstable; urgency=low + + * Remove libmysqlclient12-dev from Build-Deps, as it's obsolete + * Restructure shipped documentation + - Move all common stuff info nagios-plugins-basic + - Provide package specific documentation with the packages + - Provide symlinks from other packages + * Remove debian/TODO cause it't totally outdated + * Add 44_check_snmp_perfdata.dpatch to fix regression related perfdata + * Add 45_check_http_sni_optional.dpatch to fix regression related ssl/sni + checks + + -- Jan Wagner <waja@cyconet.org> Thu, 08 Apr 2010 23:16:59 +0200 + +nagios-plugins (1.4.14-3) unstable; urgency=low + + * Remove Sean and Guido from the Uploaders list, thanks for your work + * Move postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light + to Suggests, thanks to Glennie Vignarajah (CLoses: #574591) + * Install NEWS.Debian and README.Debian* to the appropriate packages + * Add 42_check_linux_raid_fix_rebuild.dpatch to return Warning when + rebuilding volume, thanks to Christoph Martin (CLoses: #574612) + + -- Jan Wagner <waja@cyconet.org> Wed, 24 Mar 2010 20:05:13 +0100 + +nagios-plugins (1.4.14-2) unstable; urgency=low + + * Cosmetic change to last changelog entry + * Add some hints to NEWS.Debian about the use on non-linux archs + * Bump Standards-Version to 3.8.4, no changes needed + * Add 1.0 to debian/source/format + * Add 43_check_http_large_pages_mleak.dpatch, taken from upstream, which + fixes memory leaks on large files + * Add trailing trunk/ at Vcs-Svn-field + * Remove radiusclient1 from Dependencies, as check_radius seems not need it + * Move check_mailq to nagios-plugins-standard, cause it depends + postfix|sendmail|exim4 or qmail + - Add "postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light" to + Recommends of nagios-plugins-standard + * Move remaining Depends binaries of nagios-plugins-standard to Recommends, + keeping Depends we have used at linking (for now) + + -- Jan Wagner <waja@cyconet.org> Mon, 15 Mar 2010 22:41:29 +0100 + +nagios-plugins (1.4.14-1) unstable; urgency=low + + * New upstream release + * Added libmysqlclient16-dev to build-deps and moved libmysqlclient-dev to + the first position (Closes: #538487) + * Configure ps to use also etime with check_proc, thanks to + Justin T Pryzby (Closes: #540107) + * Removing vsz.cfg, check_vsz isn't available anymore and check_proc can be + used, thanks to Keith (Closes: #542700) + * Updating standards version to 3.8.3 + - Add README.source + * Droped unused patches from debian/patches + * Add 39_check_ircd_fix_epn.dpatch to fix epn, thanks to Hendrik Jaeger and + Alexander Wirt (Closes: #545940) + * Remove coreutils from build-depends, it's essential + * Raise compat level to 5 + * Update 06_checkircd.dpatch, which got fixed upstream + * Add 40_check_http_proxy_auth.dpatch to make check_http able to check proxy + authorization + * Update copyright, thanks to Robert Millan (Closes: #548303) + * Depend on inetutils-ping on kfreebsd and hurd, thanks to Petr Salinger + (Closes: #555532) + - Use '-n -c %d %s' as ping argument on archs where inetutils-ping is used + - Add 41_check_ping_detect_args.dpatch, thanks to Thomas Guyot-Sionnest + * Add hint to NEWS.Debian, that check_linux_raid.pl and check_bgpstate will + be removed in the next future + * Add 42_check_linux_raid_fix_r10.dpatch, which fixes RAID Levels with more + than one digit, thanks to Matija Nalis (Closes: #534604) + * Move qstat from Depends to Recommends, since its just used for check_game + and that seems not really essential, leaving note in NEWS file, thanks to + Steve Lane (Closes: #561770) + * Add 02_check_icmp_links.dpatch to provide check_host and check_rta_multi, + thanks to Justin T Pryzby for reporting (Closes: #563090) + * Fix check-switch-alive* check commands by adding "-H" at the appropriate + place + * Add lintian fixes + - Add ${misc:Depends} to nagios-plugins dependencies + - Fix two spelling errors in README.Debian + + -- Jan Wagner <waja@cyconet.org> Sat, 23 Jan 2010 01:07:49 +0100 + +nagios-plugins (1.4.13+git200906171200-1) unstable; urgency=low + + * new upstream + - check_http doesn't enforce port (Closes: #494835) + - check_http --onredirect=sticky follows using the same IP address + (Closes: #502529) + - Fixed buffer overflow in check_ntp/check_ntp_peer (Closes: #528686) + - Fixed check_mrtg returning UNKNOWN instead of OK (Closes: #335871) + - Fixed check_by_ssh interpretation of quotes in -C parameter + (Closes: #425312) + - Fixed coredump from check_nt when drive not found (Closes: #521097) + - Removed -n option in check_smtp's help and usage output (Closes: #525307) + - Fixed check_icmp --help output for warn and critical thresholds + (Closes: #530553) + - Fix potential buffer overflow in check_snmp - enforce MAX_OIDS limit + (Closes: #460405) + * adjusted the following patches for new upstream + - 13_subst.in_again.dpatch + - 37_check_radius_nas-ip-address.dpatch + * removed the following patches from 00list cause they where integrated + - 39_check_dig_options.dpatch + - 40_check_http_status_line.dpatch + - 41_check_http_fix_http_header.dpatch + - 42_check_ups_logoutfix.dpatch + - 43_check_ntp_segfaults.dpatch + - 50_misc_typos.dpatch + * add trailing $ to check_httpname, thanks Daniel Pocock (Closes: #524629) + * add informations into README.Debian how to use plugins (Closes: #525168) + * add check_nscp which uses the default port of NSClient++ (Closes: #528262) + * providing some explanation about predefined check commands in README.Debian + * pointing to README.Debian in nt.cfg + * add 'make install-root' to debian/rules to get suid plugins installed again + * bump standards version to 3.8.2 (no changes needed) + + -- Jan Wagner <waja@cyconet.org> Mon, 06 Jul 2009 20:21:42 +0200 + +nagios-plugins (1.4.12-5) unstable; urgency=low + + * add missing auth pair parameter to check_https_auth_hostname* command + definitions + * changing check_cups command to use host headers anymore, since cups changed + it's behavior in etch, thanks Maximilian Gass (Closes: #505610) + * add -e to all preconfigured check commands using check_disk, to only display + effected partitions, when warning or critical, thanks to + Filip Van Raemdonck and Jacob L. Anawalt (Closes: #395389) + * add 42_check_ups_logoutfix.dpatch to fix logout problem with check_ups + (Closes: #387001) + + -- Jan Wagner <waja@cyconet.org> Fri, 30 Jan 2009 22:50:35 +0100 + +nagios-plugins (1.4.12-4) unstable; urgency=low + + * add server_port back to 41_check_http_fix_http_header.dpatch, + patch was incomplete + * add warning and critical threshold to check_disk_smb_user command + definition + * fix check_http?_hostname* command definitions + * adjust 'check_ssh_4' command definition, it needs the v4 argument at first, + thanks Julien Ozog (Closes: #500774). + + -- Jan Wagner <waja@cyconet.org> Sun, 24 Aug 2008 07:40:12 +0200 + +nagios-plugins (1.4.12-3) unstable; urgency=low + + * rename 40_check_http_status_line.patch to 40_check_http_status_line.dpatch + and make it able to apply + * add 40_check_http_status_line.dpatch to 00list to really fix #486932 + * add 41_check_http_fix_http_header.dpatch to support virtual servers + (Closes: #494835) + + -- Jan Wagner <waja@cyconet.org> Sat, 23 Aug 2008 17:20:34 +0200 + +nagios-plugins (1.4.12-2) unstable; urgency=low + + * add 40_check_http_status_line.dpatch to add content of the status_line + into the check_http output (Closes: #486932) + * clean patches from reject files left from dpatch-edit-patch + * fix 34_fix_smbclient_check_disk_smb.dpatch, thanks Stephane Chazelas + <stephane@artesyncp.com> for helping out here (Closes: #488820) + + -- Jan Wagner <waja@cyconet.org> Fri, 04 Jul 2008 16:53:07 +0200 + +nagios-plugins (1.4.12-1) unstable; urgency=low + + [ Jan Wagner ] + * new upstream + - check_http supports now an IPv6 as value for parameter -H + (Closes: #457336) + - Enhanced check_smtp to actually print invalid response text + (Closes: #467493) + * removed the following patches, cause fixed upstream + - 28_check_pgsql_include_for_8.3.dpatch + - 29_check_ntp_fixsefault_deprecate.dpatch + - 30_fix_check_ntp_options.dpatch + - 31_check_disk_local_option.dpatch + * adjust 50_misc_typos.dpatch to apply new upstream + * remove unneeded debhelper scripts from rules + * remove senseless comments from patches + * add missing descriptions to patches + * add missing command definition for check_ldaps, thanks Michael Renner + <robe@amd.co.at> for reporting it (Closes: #407310) + * remove sarge handholding for configfiles migration + * add nagios3 to Suggests and remove nagios2, nagios and nagios-text + (Closes: #479292) + * adjust year in copyright + * include list of files which are GPL3 into copyright + * build depend on libradiusclient-ng-dev instead of libradius1-dev (for more + informations see REQUIREMENTS) + * add 33_fix_emb_check_disk_smb.dpatch which fixes processing via embedded + perl of check_disk_smb, thanks Stephane Chazelas <stephane@artesyncp.com> + for providing it (Closes: #478906) + * add 34_fix_smbclient_check_disk_smb.dpatch which fixes usage of smbclient, + thanks Stephane Chazelas <stephane@artesyncp.com> for providing it and + adding ' around arguments in plugin configs + (Closes: #478942) + * add 35_check_http_date.dpatch which fixes date parsing of check_http, + thanks Hilko Bengen <bengen@debian.org> for providing it (Closes: #460097) + * add 36_check_ldap_empty_base.dpatch which allows empty ldap base, thanks + to Stephane Chazelas <stephane@artesyncp.com> for providing it + (Closes: #479984) + * add 37_check_radius_nas-ip-address.dpatch to add support for nas-ip to + check_radius, thanks Josip Rodin <joy@debbugs.entuzijast.net> for + providing it (Closes: #482947) + * provide new checks for check_http which makes use of "-H '$HOSTNAME'" + (Closes: #423461) + * fixed check_radius command definition and removed static port in favor of + ability to provide it as 4th argument, since it was broken and unusable + anyways, thanks Josip Rodin <joy@debbugs.entuzijast.net> for profiding a + fix (Closes: #482942) + * mention the check_radius breakerage in NEWS.Debian + * add check_linux_raid into package (Closes: #461999) and add + 38_fix_libexec.dpatch to fix libexec path + * Updating standards version to 3.8.0, no changes needed + * add 39_check_dig_options.dpatch which provides fix for no check for + mandatory parameter -l, thanks Matthias Eble + <psychotrahe at users.sourceforge.net> for providing a fix + (Closes: #479013) + + [ Alexander Wirt ] + * Call smbclient with -N (supress password prompt) if no password is + supplied. Thanks to Josip Rodin for the patch (Closes: #425129) + * Add myself to uploaders + + -- Jan Wagner <waja@cyconet.org> Tue, 17 Jun 2008 23:18:32 +0200 + +nagios-plugins (1.4.11-2) unstable; urgency=low + + * Remove Build-depends on libsnmp*-dev since it's not needed anymore + (Closes: #429778) + * fix check_disk --local by adding 31_check_disk_local_option.dpatch + (Closes: #405537) + * define LDAP_DEPRECATED in check_ldap.c to make use of old API by adding + 32_check_ldap_pointer.dpatch (Closes: #463322) + * add more authors from upstreams AUTHORS to changelog + * include a more explicit copyright notice to copyright to make lintian + happy + * include OpenSSL exception from upstream README into copyright + * make use of dh_* -i for binary-indep and dh_* -s for binary-arch + (Closes: #468467) + * remove some unneeded and commented debhelper scripts in binary-arch + * remove postgresql-dev from build-depends, thanks Lior Kaplan + <kaplan@debian.org> for reminding (Closes: #429977) + + -- Jan Wagner <waja@cyconet.org> Thu, 06 Mar 2008 22:07:31 +0100 + +nagios-plugins (1.4.11-1) unstable; urgency=low + + [ Jan Wagner ] + * new upstream release + * drop CVE-2007-5623.dpatch since it's included upstream + * fix Vcs- fields fields + * use $HOSTADDRESS$ instead of $HOSTNAME$ in dns.cfg (closes: #405244). + * add typo fix for check_mailq into 50_misc_typos.dpatch (closes: #435525). + * add 28_check_pgsql_include_for_8.3.dpatch to get check_pgsql working + together with libpq-dev (closes: #462509). + * add 29_check_ntp_fixsefault_deprecate.dpatch to fix segfaults for + check_ntp and check_ntp_time + * add 30_fix_check_ntp_options.dpatch to fix options help for check_ntp_peer + and check_ntp_time + * migrate ntp.cfg to new check_ntp_peer + + -- Sean Finney <seanius@debian.org> Sat, 26 Jan 2008 15:04:00 +0100 + +nagios-plugins (1.4.10-1) unstable; urgency=low + + [ Jan Wagner ] + * new upstream + - fixes CVE-2007-5198 (closes: #445475, #447639), thanks Steffen Joeris + and Nico Golde for NMU. + - fix for negate which may break existing commands: + stop evaluating command line options through shell twice + enforce a full path for the command to run + * add interface check with exclude to ifstatus.cfg + * add ssh check with possibility of port specification to ssh.cfg + * included fix for watch file provided by Raphael Geissert, thanks (closes: + #449671). + * include fix for several typos provided by Luca Falavigna, thanks (closes: + #453012). + * merge changes from and ack NMU. Thanks Nico Golde (closes: #448372). + * Don't ignore errors from make clean + * Bump standards version to 3.7.3 + * added Vcs- fields and Homepage into source header's field + * modify 00list so 06_checkircd.dpatch can get patched in + * removed libsnmp5-dev as depency option and turned around order of + libsnmp9-dev and libsnmp-dev, since only libsnmp-dev is in unstable and + libsnmp9-dev in stable + + -- Sean Finney <seanius@debian.org> Fri, 07 Dec 2007 00:55:42 +0100 + +nagios-plugins (1.4.8-2.2) unstable; urgency=high + + * Non-maintainer upload by testing-security team. + * Fix remote DoS which can be triggered by a remote attacker + via crafted snmpget replies (CVE-2007-5623) (Closes: #448372). + * Modifying CVE-2007-5198 patch since it is incomplete (Closes: #447639). + + -- Nico Golde <nion@debian.org> Sun, 28 Oct 2007 16:15:54 +0100 + +nagios-plugins (1.4.8-2.1) unstable; urgency=high + + * Non-maintainer upload by the testing-security team + * Include CVS patch to fix buffer overflow in redir function in + check_http.c, which was caused by parsing HTTP redirect strings + using sscanf (Closes: #445475) + Fixes: CVE-2007-5198 + * Include fix for off-by-one error and a NULL pointer, which leads + to a segfault + + -- Steffen Joeris <white@debian.org> Sun, 14 Oct 2007 10:36:01 +0000 + +nagios-plugins (1.4.8-2) unstable; urgency=low + + * fix typo in upstream configure script which caused some plugins + to disappear (closes: #425758). thanks to Bernhard Schmidt for + catching it. + + -- sean finney <seanius@debian.org> Mon, 28 May 2007 19:39:24 +0200 + +nagios-plugins (1.4.8-1) unstable; urgency=low + + New upstream release. + + [jan wagner] + * add explicit IPv4 checks to disk.cfg, ftp.cfg, http.cfg, ldap.cfg, + mail.cfg, news.cfg, ping.cfg, pgsql.cfg, snmp.cfg, ssh.cfg, + tcp_udp.cfg and telnet.cfg + * add check_bgpstate script from contrib to nagios-plugins-standard + * add whois to Suggests of nagios-plugins-standard + * fixed static community string for check_snmp_bgpstate in snmp.cfg + (closes: #403892). + * remove static community string in ifstatus.cfg + * add check_mysql_database to mysql.cfg + * add check_cups to http.cfg + + [sean finney] + * the Architecture should be "all" for the empty nagios-plugins + metapackage (closes: #422083). + * merge changes from and ack NMU. Thanks to Michael Tautschnig + (closes: #420954). + * modify the Suggests to prefer nagios2 to nagios-text. + * remove the following patches, which have been included upstream: + - 28_check_tcp.expect_reporting.dpatch + - 29_check_tcp.check_jabber-returns-warning.dpatch + * update debian/rules to reflect that config.{sub,guess} have changed + location in the upstream tarball. + + -- sean finney <seanius@debian.org> Sun, 20 May 2007 20:29:13 +0200 + +nagios-plugins (1.4.5-2.1) unstable; urgency=low + + * Non-maintainer upload + * nagios-plugins-standard must have a versioned depends on + nagios-plugins-basic (Closes: #420954) + + -- Michael Tautschnig <tautschn@model.in.tum.de> Fri, 18 May 2007 22:44:59 +0200 + +nagios-plugins (1.4.5-2) unstable; urgency=medium + + * fix for spurious conffile-type prompts from ucf, thanks to + Stephen Gran for catching this (closes: #400595). + + -- sean finney <seanius@debian.org> Wed, 06 Dec 2006 22:38:38 +0100 + +nagios-plugins (1.4.5-1) unstable; urgency=low + + * new upstream (bugfix only) release. the following patches + have been obsoleted: + - 27_is_hostname.dpatch + * fix for segfaulting check_radius plugin, thanks to Yasper + Casper for finding it (closes: #399532, #379788). + patch: 27_check_radius_segfault.dpatch + * regarding the fix for check_ups in the previous patch: both + the bug number and the attribution were incorrect. thanks are + due to Robbert Kouprie (closes: #398780). + + -- sean finney <seanius@debian.org> Mon, 20 Nov 2006 20:31:23 +0100 + +nagios-plugins (1.4.4-2) unstable; urgency=low + + * fix for implicit definition of basename function, thanks to + dann frazier for finding it (closes: #396814). + patch: 26_implicit-basename.dpatch + * aparently the check_ups fix caused problems as well as solved them. + until we ge a real fix for the problem i'm reverting the patch. + thanks to Michael Bussmann (closes: #398767). + * add '-' to allowable characters in is_hostname. thanks again to + Michael Bussmann (closes: #398767). + patch: 27_is_hostname.dpatch + + -- sean finney <seanius@debian.org> Fri, 17 Nov 2006 09:37:17 +0100 + +nagios-plugins (1.4.4-1) unstable; urgency=low + + [sean finney] + * new upstream release. actually, we've been basing previous versions + on cvs snapshots so the changes aren't that big. + * upstream includes fix for warn/crit handling in check_tcp based plugins + such as check_simap (closes: #351847). + * dpkg's conffile handling can't deal with migrating config files + from nagios-plugins to nagios-plugins-foo, so we're now managing + all the config files via ucf (closes: #339971). + * remove some unneeded build-deps, and bump Standards-Version + * fix for multiple expect strings in check_tcp.c. thanks to Ralph Rößner + for finding this (closes: #395176). + + -- sean finney <seanius@debian.org> Wed, 01 Nov 2006 22:57:16 +0100 + +nagios-plugins (1.4.3.0cvs.20060707-3) unstable; urgency=high + + [sean finney] + * to make backporting easier, change the build dep on libpq-dev + to libpq-dev | postgresql-dev. thanks to Jan Wagner for the + suggestion. + * fix for check_ldaps showing up in two packages (closes: #373926). + thanks to Jan for being persistant in pointing this out. + * that last one is rc, hence high urgency. + + -- sean finney <seanius@debian.org> Fri, 04 Aug 2006 08:57:33 -0700 + +nagios-plugins (1.4.3.0cvs.20060707-2) unstable; urgency=low + + [sean finney] + * whoops, new plugin check_mysql_query accidentally made the last + version's nagios-plugins-basic package depend on libmysqlclient15off. + + -- sean finney <seanius@debian.org> Sun, 09 Jul 2006 18:51:41 +0200 + +nagios-plugins (1.4.3.0cvs.20060707-1) unstable; urgency=low + + [sean finney] + * new release based on latest upstream CVS HEAD, as backporting some + of the changes would involve either massive patches to the autofoo + generated files (Makefile/Configure etc) or by changing the packages + to autogenerate the autofoo stuff as part of the build process, + neither of which i like. + * anyway, the goodies: + - upstream incorporated fix for F'ing TBFS due to the broken .la files + installed in the libradius-dev package + - new check_apt plugin to check that a host is up to date wrt the debian + package management system (run with --help for more information) + Closes: #317763. + - new check_ntp plugin written in C, which performs much faster and more + reliably than the perl plugin, and does everything natively + (sending/recieving the packets itself instead of parsing the output + of ntpdate/ntpq). Closes: #351257, #360549, #360774. + - as a result, we no longer need to depend on any of the NTP stuff. + * modified debian/control to reflect new lack of dependency on ntp + * modified debian/rules to keep check_ntp in the -basic package, as + there's no reason to keep it in standard now. + * finally incorporate martin pitt's request about transitioning to + the new postgres build system. Closes: #377201. + + [marc haber] + * make package build fail if /proc is not mounted, before I end up + filing that bug a fourth time. Closes: #344389, #354215 + + -- sean finney <seanius@debian.org> Sun, 04 Jun 2006 00:57:17 +0200 + +nagios-plugins (1.4.3-1) unstable; urgency=low + + * new upstream release. + + [sean finney] + * the following dpatches have been incorporated upstream and thus removed: + - 11_check_ups.c_perfdata_fix.dpatch + - 12_check_mysql.c_mysql_options.dpatch + - 15_check_mrtg_wtf_conditionals.dpatch + - 16_check_smtp_protocolfix.dpatch + - 17_check_smb_freespace.dpatch + - 19_check_disk_subdirs.dpatch + - 20_check_ntp_lessbeastlyregex.dpatch + - 21_de.po_fixes.dpatch + - 24_check_procs_localefix.dpatch + * the following dpatches have been modified to still apply against upstream + - 10_config.h_debiandefaults.dpatch + - 14_check_log_paths.dpatch + - 18_check_game_cmdline.dpatch + * removed the transitional (pre-sarge) fileutils dependency + (closes: #368718), thanks to Stefan Huehner for pointing this out. + * upstream now uses libtool, but the shipped libtool is out of date and + has problems building against radiusclient1-dev (which might not be + our fault, but...). so, for the time being we're shipping an updated + version of ltmain.sh in the diff (build depending on the newest version + of libtool is subobtimal for backporting). + * add --disable-rpath to configure options... arg, and i had to apply + another patch to ./configure to keep a -R from sneaking in and + deactivating it. + * upstream ./configure fails to automagically detect mysql installation now, + so modify debian/rules accordingly. + * modify debian/control to be more explicit about build-dependencies to + make life easier for backporting. + + -- sean finney <seanius@debian.org> Sat, 27 May 2006 20:03:31 +0200 + +nagios-plugins (1.4.2-7) unstable; urgency=medium + + [sean finney] + * update build dependencies to build against libmysqlclient15-dev. + fixes (now) rc bug, urgency bumped (closes: #343785). + * properly set LC_NUMERIC in check_procs. fix also committed for + next upstream release. thanks to Hadmut Danisch for + catching this (closes: #353201). + + -- sean finney <seanius@debian.org> Sat, 18 Feb 2006 13:56:25 +0100 + +nagios-plugins (1.4.2-6) unstable; urgency=low + + [sean finney] + * 10_config.h_debiandefaults.dpatch now also hardcodes nslookup, + removing the need for a couple more build-dependencies (dnsutils, + bind9-host | host). this also has the added benefit that the + build process doesn't require a working dns setup :) + * moved check_dig to -standard, as that's where check_dns (and + more importantly its configs and dependencies) are. + * moved check_ping to -basic. even though it means another + dependency in -basic, maintainer consensus is that it's + critical enough of a plugin that it should go in. + * split config for check_fping into fping.cfg. + + [marc haber] + * migrate package from CVS to svn + * add 23_check_axis.dpatch, making the package suiteable to + debian/-only layout + * convert to debian/-only layout + * add build-dependency on autotools-dev, add code to automatically + link in current config.guess, config.sub + + -- sean finney <seanius@debian.org> Mon, 23 Jan 2006 23:24:21 +0100 + +nagios-plugins (1.4.2-5) unstable; urgency=low + + * Sean Finney + - add documentation to README.Debian about the plugins needing setuid + root, why we don't install them setuid root by default, and some + recommended methods for dealing with this (closes: #289879). + - add documentation to README.Debian about the new package split. + - config.h_debiandefaults.dpatch now modifies common.h instead of + config.h.in, because the latter would sometimes cause build hosts + to spontaneously regenerate the file, overwriting our changes. + since all the plugins include common.h too... (closes: #336639). + - include some patches from "F.A.G. Luteijn" <f.a.g.luteijn@knoware.nl>: + * dhcp.cfg (with notes added by me about needing setuid) + * disk.cfg (check_all_disks) + * disk-smb.cfg (seperated check_disk_smb commands) + * http.cfg (check_https_auth) + * check_disk_smb: allow checking disk usage via host addresses. + (closes: #310780). + + -- sean finney <seanius@debian.org> Mon, 31 Oct 2005 22:35:16 +0100 + +nagios-plugins (1.4.2-4) unstable; urgency=low + + * Sean Finney: + - only depend on ntp, not ntp | ntp-simple. hopefully this should + allow nagios-plugins to co-exist with openntpd et al. + - now building against libmysqlclient14-dev. + - updated Standards-Version to 3.6.2 + - nagios-plugins is now separated into 3 separate packages: + nagios-plugins, nagios-plugins-basic, and nagios-plugins-standard. + this should provide folks with a "basic" set of plugins as an + alternative to those who don't want to bring in so many dependencies + (specifically, users of nsca and nagios-nrpe-server). the original + package will depend on both of the new packages, for backwards + compatibility. the list of what-goes-where may change in future + updates, but nagios-plugins will always bring in everything. + contact me if you have specific preferences on how the layout should + be done (closes: #303996, #264194, #255438). + - another fix to check_mrtg, seems like the WARN and CRIT states + were working just fine, but there was no way for things to + be OK. whoops. thanks to uno takeshi for looking into this. + (closes: #335871). + - updated FSF address, couple other cosmetic lintian-related fixes. + + -- sean finney <seanius@debian.org> Wed, 26 Oct 2005 23:17:41 +0200 + +nagios-plugins (1.4.2-3) unstable; urgency=low + + * Sean Finney: + - include fix from Modesto Alexandre to correct paths in check_log + (closes: #296600). + - looks like upstream's check_mrtg has been broken for a while now. + now including a fix that i'll eventually move upstream. + (closes: #309673). + - include a fix to check_smtp to make it speak proper ehlo before + issueing a starttls command, and also check that the server + actually supports it before blindly continuing. thanks to + Jeroen van Wolffelaar for taking the time to point out the + details (closes: #285554). + - in the process of the above, also figured out how to get + check_smtp to play nicely with gnutls-based servers. + - check_disk once again will match non-mountpoint directories to + the closest parent mountpoint (closes: #296278). + - include jeroen's "less beastly" check_ntp sys.peer regex. + - fix for braindead command-line option parsing for freespace + in check_disk_smb (closes: #300701). + - updated the usage function in check_game to reflect changed + cmdline options (closes: #307905). + - upstream is now shipping an non-broken ipv6-capable check_ping, + with PING6_COMMAND properly set in config.h (closes: #309255). + - upstream check_mysql can now check slave status (closes: #278864). + + -- sean finney <seanius@debian.org> Tue, 11 Oct 2005 10:14:18 +0200 + +nagios-plugins (1.4.2-2) unstable; urgency=low + + * Sean Finney: + - ack, the perl plugins broke on the last upload, because "use lib" + wasn't being properly substituted in. fixed. (closes: #332667). + - include upstream fix for check_ups temperature perfdata. thanks + to Chris AtLee for originally reporting this (closes: #316534). + - stop mucking around with config.sub/config.guess in debian/rules. + - last update in the changelog was missing a colon on the following: + (closes: #312228, #306244, #308458, #327212, #316882). + - have check_mysql read in defaults from my.cnf (closes: #278817). + + -- sean finney <seanius@debian.org> Fri, 07 Oct 2005 22:19:09 +0200 + +nagios-plugins (1.4.2-1) unstable; urgency=low + + * New upstream release. + * Sean Finney: + - now managing nagios-plugins as part of the pkg-nagios alioth project. + - updated Maintainer field + - updated build-dependencies to build against libsnmp9-dev + - removed build-dependencies on exim4 | mail-transport-agent, ssh, fping, + qstat, smbclient, and ntp stuff. instead they are all have their + paths hardcoded into the build-process via dpatch file + 10_config.h_debiandefaults.dpatch (closes: #312333, #297708). + - added config option for ssmtp + - upstream is now accidentally deleting the check_ldaps plugin + during the build-process. whoops. + - removed unneccesary dpatch 09_pssyntax, massaged 08_subst.dpatch + into shape with new upstream version. + - added check_mysql_cmdlinecred to allow parsing of credentials on + the cmdline (closes: #314913). + - looks like the issue with check_load was previously resolved by + guido (closes: #305351). + - nagios and nagios-plugins no longer need to use update-nagios, as nagios + can natively scan /etc/nagios-plugins/config now: + (closes: #325893, #321939). + - i believe check_ldap's config is now correct (closes: #305720). + - removed references to check_nmap, which is generally superceded + by check_tcp. it still exists in the contrib directory of the + source, which may at some point be put in /usr/share/doc for those + who really want it (closes: #319997). + - include de.po patch from jens seidel (closes: #313960). + - upstream fix: all of the plugins should now be properly setting + locales, so problems like commas for decimal seperators should no + longer break plugins for people in certain locales: + (closes #312228, #306244, #308458, #327212, #316882). + - upstream fix: check_ntp now supports zero offset (closes: #276794). + - upstream fix: divide by zero check for check_swap (closes: #328603). + + -- sean finney <seanius@debian.org> Thu, 06 Oct 2005 05:02:36 -0400 + +nagios-plugins (1.4-6) unstable; urgency=low + + * Build-Depend on the *correct* libmysqlclient-dev + + -- Guido Trotter <ultrotter@debian.org> Sun, 8 May 2005 08:12:20 -0700 + +nagios-plugins (1.4-5) unstable; urgency=low + + * Fix Build-Dependencies for sarge as per + http://lists.debian.org/debian-release/2005/05/msg00442.html and following + + -- Guido Trotter <ultrotter@debian.org> Sat, 7 May 2005 18:19:32 -0700 + +nagios-plugins (1.4-4) unstable; urgency=medium + + * The "Upload after it's too late" release + * Make nagios-plugins depend on iputils-ping only (closes: #296295) + * Urgency medium because it fixes an important bug reported by lots + of people, and it doesn't change anything else + * This version should be the one sarge ships with, hopefully! + + -- Guido Trotter <ultrotter@debian.org> Tue, 3 May 2005 17:04:39 -0700 + +nagios-plugins (1.4-3) unstable; urgency=medium + + * Add back empty imap.cfg (closes: #296249) + * Remove --with-ping-command from configure (closes: #296295) + * Fix load.cfg (closes: #296254) + * Urgency medium because it fixes a segfault in check_ping + * Build depend on mail-transport-agent (mailq path) (closes: #297708) + + -- Guido Trotter <ultrotter@debian.org> Mon, 7 Mar 2005 04:31:49 +0000 + +nagios-plugins (1.4-2) unstable; urgency=low + + * Add information about update-nagios needed after re-configuration + (Shouldn't nagios document this? anyway...) (closes: #291224) + * Use --ssl in check_https (closes: #295917) + * Fix ps syntax (closes: #296003) + + -- Guido Trotter <ultrotter@debian.org> Sat, 19 Feb 2005 20:22:16 +0000 + +nagios-plugins (1.4-1) unstable; urgency=low + + * The "I'm still around" release + * New upstream version (closes: #294224) + * Remove useless patches: + 01_ldap21bind + 04_checkswap + 03_hostwithnumbers + 05_checkbreeze + 07_checkbyssh (apparently it wasn't considered a bug upstream) + * Fix argument number in check_ldap (closes: #281700) (Thanks Joerg) + * Fix hostname placeholder in mysql.cfg (closes: #281701) + * Don't list check_imap twice (closes: #280702) + * Add check_https command (closes: #292124) + * Add check_dig command (closes: #281020) + * Add check_breeze command (closes: #281019) + * Add dummy commands (closes: #281018) + * Add check_mailq_<MTA> commands for all supported mtas (closes: #281016, + #282015) + * Add check_spop and check_simap commands (closes: #280700) + * Add check_nt command (closes: #294299) + * Fix check_load command (closes: #294298) + * Fix a reference to @libexec@ in snmp.cfg (closes: #276520) + + -- Guido Trotter <ultrotter@debian.org> Fri, 18 Feb 2005 07:50:28 +0000 + +nagios-plugins (1.3.1.0-12) unstable; urgency=low + + * Sorry for the multiple uploads trying to fix the problem... + Unfortunately I don't have any !i386 handy. :( + * This time #275803 should really be dealt with! + + -- Guido Trotter <ultrotter@debian.org> Wed, 13 Oct 2004 13:59:58 -0700 + +nagios-plugins (1.3.1.0-11) unstable; urgency=high + + * Hack subst.in to really solve the incorrect "use lib" on arches !i386 + forcing the correct (debian) path in (closes: #275803) + * urgency set to high because it solves an RC bug in sarge + + -- Guido Trotter <ultrotter@debian.org> Wed, 13 Oct 2004 08:23:53 -0700 + +nagios-plugins (1.3.1.0-10) unstable; urgency=low + + * The "Better late than never" release + * Include Tom Laermans mysql.cfg in pluginsconfig (closes: #267747) + * Include Tom Laermans imap.cfg in pluginsconfig (closes: #267953) + * Fix snmp_load typo (thanks to Raoul Borenius) (closes: #270276) + * Fix snmp_load typo (thanks to Raoul Borenius) (closes: #270276) + * Build-depend on mawk to try fixing #275803 (was that the culprit?) + + -- Guido Trotter <ultrotter@debian.org> Tue, 12 Oct 2004 20:44:51 -0700 + +nagios-plugins (1.3.1.0-9) unstable; urgency=high + + * Update debian/watch file + * Fix check_breeze (thanks to Peter Palfrader for noticing it was broken) + (closes: #265207) + * Add to 04_checkswap two patches from Sean Finney plus one from me + (to avoid it returning STATE_CRITICAL when no swap is configured) + (closes: #265152, #265154) + * Also import: + - Sven Velt patch for check_ircd (closes: #259720) + - Cyril Bouthors patch for check_by_ssh (closes: #257793) + * Urgency high so nagios and nagios-plugins stop running one after + the other to enter testing + * Sorry, the package splitting is still delayed for after sarge + + -- Guido Trotter <ultrotter@debian.org> Thu, 12 Aug 2004 16:13:35 +0200 + +nagios-plugins (1.3.1.0-8) unstable; urgency=low + + * Import a backport of check_swap from upstream CVS done by + "The Fungi" <fungi@yuggoth.org> to make swap checking 2.6 + compatible (closes: #261151) + * Postpone package splitting, so this version can go in sarge + with nagios before we have to wait a bit in the NEW queue + + -- Guido Trotter <ultrotter@debian.org> Sun, 25 Jul 2004 11:34:01 +0200 + +nagios-plugins (1.3.1.0-7) unstable; urgency=low + + * Add 03_hostwithnumbers.dpatch written by me to correct the behaviour + of is_hostname() in utils.c about host components beginning with a + number (closes: #253620). Thanks to Andreas Edler who spotted + the problem. + + -- Guido Trotter <ultrotter@debian.org> Tue, 15 Jun 2004 15:37:48 +0200 + +nagios-plugins (1.3.1.0-6) unstable; urgency=low + + * Conflict with the current version of nagios (closes: #245607) + + -- Guido Trotter <ultrotter@debian.org> Sat, 24 Apr 2004 12:01:59 +0200 + +nagios-plugins (1.3.1.0-5) unstable; urgency=low + + * Move plugin configuration to /etc/nagios-plugins/config + * For the time beeing symlink from the original directory + + This should help nagios closing #241807 + + -- Guido Trotter <ultrotter@debian.org> Fri, 23 Apr 2004 09:06:51 +0200 + +nagios-plugins (1.3.1.0-4) unstable; urgency=low + + * Fix not considered args and broken example in check_disk (closes: #241833) + + -- Guido Trotter <ultrotter@debian.org> Mon, 5 Apr 2004 10:34:37 +0200 + +nagios-plugins (1.3.1.0-3) unstable; urgency=low + + * Take parameters for basic check_ping (closes: #238670) + * Add ssh.cfg and ldap.cfg (closes: #236781) + + -- Guido Trotter <ultrotter@debian.org> Sat, 3 Apr 2004 18:03:38 +0200 + +nagios-plugins (1.3.1.0-2) unstable; urgency=low + + * Recommend nagios-text | nagios + * Remove notify.cfg from distributed config files (closes: #234951) + + -- Guido Trotter <ultrotter@debian.org> Thu, 26 Feb 2004 22:41:56 +0100 + +nagios-plugins (1.3.1.0-1) unstable; urgency=low + + * The "lintian clean it" release + * Upstream version is 1.3.1, i've incremented the version number a bit in + order to upload a new source without the CVS directories, and so let + lintian not complain... + + -- Guido Trotter <ultrotter@debian.org> Tue, 24 Feb 2004 19:37:09 +0100 + +nagios-plugins (1.3.1-6) unstable; urgency=low + + * Depend only on ntp-simple instead of ntp (closes: #233267) + * Also in build-dependency use ntp-simple rather than ntp + + -- Guido Trotter <ultrotter@debian.org> Tue, 17 Feb 2004 21:03:58 +0100 + +nagios-plugins (1.3.1-5) unstable; urgency=low + + * Adapt the choosen ping command to the fact that configure + doesn't set PING_PACKETS_FIRST when PING_COMMAND is passed + from the command line (closes: #233010) + + -- Guido Trotter <ultrotter@debian.org> Mon, 16 Feb 2004 13:19:20 +0100 + +nagios-plugins (1.3.1-4) unstable; urgency=low + + * Pass --with-ping-command to configure, and relax the dependency on ping. + * Export a sane $PATH and pass it to configure (closes: #232498) + * Give full path of libexec dir to configure (closes: #232436) + * Remove empty dirs from debian/dirs + * Ship command configuration in /usr/share/nagios/pluginconfig + These files are generated passing the upstream command.cfg to + nagios' convertcfg, and then splitted up manually removing + definitions already shipped with nagios. Thanks to Nate Allen + who found out the solution. (closes: #232300) + + -- Guido Trotter <ultrotter@debian.org> Sat, 14 Feb 2004 13:20:55 +0100 + +nagios-plugins (1.3.1-3) unstable; urgency=low + + * Remove dependency on non-existent package "dqs" + * Pass --with-df-command="/bin/df -Pk" to configure, since compiling + on the autobuilders doesn't detect that (why?) + * Build-depend also on libkrb5-dev + + -- Guido Trotter <ultrotter@debian.org> Wed, 11 Feb 2004 17:03:23 +0100 + +nagios-plugins (1.3.1-2) unstable; urgency=low + + * Add some missing build dependencies that prevented nagios-plugins + from compiling + + -- Guido Trotter <ultrotter@debian.org> Wed, 11 Feb 2004 12:41:13 +0100 + +nagios-plugins (1.3.1-1) unstable; urgency=low + + * Initial Release (closes: #208218) + * I prefer having all the plugins in a single package: the installation size + is not so terrible + + -- Guido Trotter <ultrotter@debian.org> Sun, 1 Feb 2004 10:32:04 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..90f3129 --- /dev/null +++ b/debian/control @@ -0,0 +1,112 @@ +Source: monitoring-plugins +Section: net +Priority: optional +Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org> +Uploaders: Jan Wagner <waja@cyconet.org>, Alexander Wirt <formorer@debian.org> +Build-Depends: debhelper-compat (= 13), + libcurl4-openssl-dev | libcurl4-nss-dev | libcurl4-gnutls-dev, + libdbi-dev, + libradcli-dev | libfreeradius-client-dev, + libkrb5-dev, + libldap2-dev, + default-libmysqlclient-dev, + libnet-snmp-perl, + libpq-dev, + libssl-dev, + liburiparser-dev, + mawk | awk, + perl, + procps +Standards-Version: 4.6.2 +Vcs-Browser: https://salsa.debian.org/nagios-team/monitoring-plugins +Vcs-Git: https://salsa.debian.org/nagios-team/monitoring-plugins.git +Homepage: https://www.monitoring-plugins.org +Rules-Requires-Root: binary-targets + +Package: monitoring-plugins +Architecture: all +Depends: monitoring-plugins-basic, monitoring-plugins-standard, ${misc:Depends} +Suggests: icinga2, nagios-plugins-contrib +Provides: nagios-plugins +Description: Plugins for nagios compatible monitoring systems (metapackage) + Plugins for nagios compatible monitoring systems like Naemon and Icinga. + . + This metapackage will install the entire suite of plugins for nagios + compatible monitoring systems. + If you are installing monitoring plugins on a remote "satellite" server + (using nagios-nrpe-server or nsca), you may be interested in the + monitoring-plugins-basic package. + +Package: monitoring-plugins-common +Architecture: any +Depends: ucf, ${misc:Depends}, ${shlibs:Depends} +Suggests: icinga2 +Description: Common files for plugins for nagios compatible monitoring + Common files for plugins for nagios compatible monitoring systems like Naemon + and Icinga. + . + This package contains common files which maybe needed for plugins. + +Package: monitoring-plugins-basic +Architecture: any +Depends: inetutils-ping [kfreebsd-any hurd-any], + iputils-ping [linux-any], + monitoring-plugins-common, + procps, + ucf, + ${misc:Depends}, + ${shlibs:Depends} +Recommends: libcap2-bin [linux-any] +Suggests: icinga2 +Provides: nagios-plugins-basic +Description: Plugins for nagios compatible monitoring systems (basic) + Plugins for nagios compatible monitoring systems like Naemon and Icinga. It + contains the following plugins: + . + check_apt, check_by_ssh, check_clamd, check_cluster, + check_dhcp, check_disk, check_dummy, check_file_age, + check_ftp, check_host, check_http, check_icmp, + check_ide_smart, check_imap, check_ircd, check_jabber, + check_load, check_log, check_mrtg, check_mrtgtraf, + check_nagios, check_nntp, check_nntps, check_nt, + check_ntp, check_ntp_peer, check_ntp_time, check_nwstat, + check_overcr, check_ping, check_pop, check_procs, + check_real, check_rta_multi, check_sensors, check_simap, + check_smtp, check_spop, check_ssh, check_ssmtp, + check_swap, check_tcp, check_time, check_udp, + check_ups, check_users + . + This package provides a basic set of plugins with minimal external + dependencies. It is not likely to be useful by itself unless you are + using a remote "satellite" system (using nagios-nrpe-server, check_by_ssh or + nsca, for example). + +Package: monitoring-plugins-standard +Architecture: any +Depends: monitoring-plugins-basic, ucf, ${misc:Depends}, ${shlibs:Depends} +Recommends: bind9-host | host, + dnsutils, + libnet-snmp-perl, + rpcbind, + smbclient, + snmp, + sudo, + ${shlibs:Recommends} +Suggests: fping, + icinga2, + postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light, + qstat +Provides: nagios-plugins-standard +Description: Plugins for nagios compatible monitoring systems (standard) + Plugins for nagios compatible monitoring systems like Naemon and Icinga. It + contains the following plugins: + . + check_breeze, check_dbi, check_dig, check_disk_smb, check_dns, + check_flexlm, check_fping, check_game, check_hpjd, check_ifoperstatus, + check_ifstatus, check_ldap, check_ldaps, check_mailq, check_mysql, + check_mysql_query, check_oracle, check_pgsql, check_radius, check_rpc, + check_snmp, check_wave + . + This package provides the suite of plugins that are most likely to be + useful on a central monitoring host. Some scripts need more packages installed + to work, which is implemented as recommends. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7f42374 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,290 @@ +This package was debianized by Guido Trotter <ultrotter@debian.org> on +Sun, 1 Feb 2004 10:05:51 +0100. + +It was downloaded from https://www.monitoring-plugins.org/ + +Upstream Authors: Felipe Gustavo de Almeida + Ian Cass + Robert Dale + Karl DeBisschop + Ragnar Hojland Espinosa + Ethan Galstad + Bo Kersey + Pedro Leite + Richard Mayhew + Remi Paulmier + Didi Rieder + Tom Shields + Sean Finney + Jeremy T Bouse + Peter Bray + Gavin Carr + Matthias Eble + Subhendu Ghosh + Thomas Guyot-Sionnest + Stanley Hopcroft + Matthew Kent + Harper Mann + Benoit Mortier + Sven Nierlein + Nathan Vonnahme + Ton Voon + Holger Weiss + Michael Wirtgen + +Copyright: + +Copyright (C) 1985, 2013 Free Software Foundation, 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 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 <http://www.gnu.org/licenses/>. + + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +From upstream README: + + You can redistribute and/or modify this software 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; with the + additional exemption that compiling, linking, and/or using OpenSSL is + allowed. + + This software 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. + +Files with different Licenses: + + build-aux/config.guess + build-aux/config.sub + build-aux/ltmain.sh + plugins-scripts/check_mailq.pl + + 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. + + gl/alloca.in.h + gl/as* + gl/base64* + gl/basename.c + gl/cloexec.c + gl/config.charset + gl/creat-safer.c + gl/c-strtod.c + gl/d* + gl/e* + gl/fcntl* + gl/fd-safer.c + gl/float.* + gl/float + gl/floorf.c + gl/fsusage* + gl/full* + gl/gai_strerror.c + gl/getaddrinfo* + gl/gethostname.c + gl/getloadavg.c + gl/getopt* + gl/gettext.h + gl/inet_ntop* + gl/intprops.h + gl/localcharset* + gl/malloc.c + gl/math.in.h + gl/mountlist* + gl/netinet_in.in.h + gl/printf-* + gl/ref-* + gl/safe-* + gl/size_max.h + gl/snprintf.c + gl/stdbool.in.h + gl/stdint.in.h + gl/stdio.in.h + gl/stdlib.in.h + gl/strerror.c + gl/string.in.h + gl/stripslash.c + gl/strndup.c + gl/strnlen.c + gl/sys_socket.in.h + gl/unistd.in.h + gl/v* + gl/wchar.in.h + gl/wctype.in.h + gl/xalloc.h + gl/xalloc-die.c + gl/xmalloc.c + gl/xsize.h + gl/xstrndup* + gl/xsize.h + + 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, 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. + + gl/reg* + gl/mktime.c + + The GNU C Library 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. + + The GNU C Library 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 the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. + + Makefile.in + gl/Makefile.in + gl/m4/*.m4 + lib/Makefile.in + lib/tests/Makefile.in + plugins/Makefile.in + plugins-root/Makefile.in + plugins-scripts/Makefile.in + tap/Makefile.in + + This Makefile.in is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + + aclocal.m4 + + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + gl/m4/00gnulib.m4 + gl/m4/a*.m4 + gl/m4/b*.m4 + gl/m4/c*.m4 + gl/m4/d*.m4 + gl/m4/e*.m4 + gl/m4/f*.m4 + gl/m4/getaddrinfo.m4 + gl/m4/gethostname.m4 + gl/m4/getloadavg.m4 + gl/m4/getopt.m4 + gl/m4/gettext.m4 + gl/m4/glibc21.m4 + gl/m4/gnulib-common.m4 + gl/m4/h*.m4 + gl/m4/i*.m4 + gl/m4/l*.m4 + gl/m4/m*.m4 + gl/m4/n*.m4 + gl/m4/off_t.m4 + gl/m4/p*.m4 + gl/m4/r*.m4 + gl/m4/s*.m4 + gl/m4/t*.m4 + gl/m4/u*.m4 + gl/m4/v*.m4 + gl/m4/w*.m4 + gl/m4/x*.m4 + m4/np_mysqlclient.m4 + + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + build-aux/install-sh + + Copyright (C) 1994 X Consortium + + 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 + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + + FSF changes to this file are in the public domain. + + tap/tap.* + + 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 THE 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. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..9abe0cb --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +etc/nagios-plugins/config diff --git a/debian/functions b/debian/functions new file mode 100644 index 0000000..a902e12 --- /dev/null +++ b/debian/functions @@ -0,0 +1,14 @@ +# functions for use by nagios plugins maintainer scripts + +npconfdir=/etc/nagios-plugins/config + +# we now register all n-p config files via ucf. +register_cfgs(){ + # do this in a subshell so we don't screw up cwd + ( + for file in ${templdir}/*cfg; do + ucf ${templdir}/$(basename $file) ${npconfdir}/$(basename $file) + done + ); +} + diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..b5fd342 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[buildpackage] +postbuild = lintian --info --display-info --display-experimental --pedantic --show-overrides $GBP_CHANGES_FILE +pbuilder-options = --source-only-changes diff --git a/debian/monitoring-plugins-basic.dirs b/debian/monitoring-plugins-basic.dirs new file mode 100644 index 0000000..7059e15 --- /dev/null +++ b/debian/monitoring-plugins-basic.dirs @@ -0,0 +1,3 @@ +etc/nagios-plugins/config +usr/lib/nagios/plugins +usr/share/monitoring-plugins/templates-basic diff --git a/debian/monitoring-plugins-basic.links b/debian/monitoring-plugins-basic.links new file mode 100644 index 0000000..3124589 --- /dev/null +++ b/debian/monitoring-plugins-basic.links @@ -0,0 +1,7 @@ +usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins-basic/NEWS.Debian.gz +usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins-basic/NEWS.gz +usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins-basic/README +usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins-basic/README.Debian.gz +usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins-basic/REQUIREMENTS +usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins-basic/SUPPORT +usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins-basic/changelog.gz diff --git a/debian/monitoring-plugins-basic.postinst b/debian/monitoring-plugins-basic.postinst new file mode 100644 index 0000000..1a143a9 --- /dev/null +++ b/debian/monitoring-plugins-basic.postinst @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +templdir=/usr/share/monitoring-plugins/templates-basic +. /usr/share/monitoring-plugins/dpkg/functions +plugindir=/usr/lib/nagios/plugins/ + +if [ "$1" = "configure" ]; then + register_cfgs $2 + + # If we have setcap is installed, try setting cap_net_raw+ep, + # which allows us to make our binaries working without the + # setuid bit + if command -v setcap > /dev/null; then + if setcap "cap_net_raw+ep" ${plugindir}/check_icmp "cap_net_bind_service=+ep cap_net_raw=+ep" ${plugindir}/check_dhcp; then + echo "Setcap for check_icmp and check_dhcp worked!" + else + echo "Setcap for check_icmp and check_dhcp failed." >&2 + echo "Please refer README.Debian.gz for using plugins needing" >&2 + echo "higher privileges!" >&2 + fi + else + echo "Setcap is not installed, please refer README.Debian.gz for using" >&2 + echo "plugins needing higher privileges!" >&2 + fi +fi + +#DEBHELPER# diff --git a/debian/monitoring-plugins-basic.postrm.in b/debian/monitoring-plugins-basic.postrm.in new file mode 100644 index 0000000..b65cc9d --- /dev/null +++ b/debian/monitoring-plugins-basic.postrm.in @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +BASIC_PLUGINS="@BASIC_PLUGINS@" + +if [ "$1" = "purge" ]; then + if which ucf >/dev/null 2>&1; then + have_ucf="yes" + fi + for f in $BASIC_PLUGINS; do + rm -f /etc/nagios-plugins/config/${f}.cfg + if [ "$have_ucf" = "yes" ]; then + ucf --purge /etc/nagios-plugins/config/${f}.cfg + fi + done +fi + +#DEBHELPER# diff --git a/debian/monitoring-plugins-common.dirs b/debian/monitoring-plugins-common.dirs new file mode 100644 index 0000000..b073cdc --- /dev/null +++ b/debian/monitoring-plugins-common.dirs @@ -0,0 +1 @@ +usr/lib/nagios/plugins diff --git a/debian/monitoring-plugins-common.docs b/debian/monitoring-plugins-common.docs new file mode 100644 index 0000000..24029e9 --- /dev/null +++ b/debian/monitoring-plugins-common.docs @@ -0,0 +1,7 @@ +FAQ +NEWS +README +REQUIREMENTS +SUPPORT +debian/NEWS +debian/README.Debian diff --git a/debian/monitoring-plugins-common.examples b/debian/monitoring-plugins-common.examples new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/debian/monitoring-plugins-common.examples @@ -0,0 +1 @@ + diff --git a/debian/monitoring-plugins-standard.dirs b/debian/monitoring-plugins-standard.dirs new file mode 100644 index 0000000..064660b --- /dev/null +++ b/debian/monitoring-plugins-standard.dirs @@ -0,0 +1,3 @@ +etc/nagios-plugins/config +usr/lib/nagios/plugins +usr/share/monitoring-plugins/templates-standard diff --git a/debian/monitoring-plugins-standard.docs b/debian/monitoring-plugins-standard.docs new file mode 100644 index 0000000..27af518 --- /dev/null +++ b/debian/monitoring-plugins-standard.docs @@ -0,0 +1 @@ +debian/README.Debian.plugins diff --git a/debian/monitoring-plugins-standard.links b/debian/monitoring-plugins-standard.links new file mode 100644 index 0000000..aeb5ae4 --- /dev/null +++ b/debian/monitoring-plugins-standard.links @@ -0,0 +1,8 @@ +usr/share/doc/monitoring-plugins-common/FAQ usr/share/doc/monitoring-plugins-standard/FAQ +usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins-standard/NEWS.Debian.gz +usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins-standard/NEWS.gz +usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins-standard/README +usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins-standard/README.Debian.gz +usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins-standard/REQUIREMENTS +usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins-standard/SUPPORT +usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins-standard/changelog.gz diff --git a/debian/monitoring-plugins-standard.postinst b/debian/monitoring-plugins-standard.postinst new file mode 100644 index 0000000..d4dd594 --- /dev/null +++ b/debian/monitoring-plugins-standard.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +. /usr/share/monitoring-plugins/dpkg/functions +templdir=/usr/share/monitoring-plugins/templates-standard + +if [ "$1" = "configure" ]; then + register_cfgs $2 +fi + +#DEBHELPER# diff --git a/debian/monitoring-plugins-standard.postrm.in b/debian/monitoring-plugins-standard.postrm.in new file mode 100644 index 0000000..a7ae07b --- /dev/null +++ b/debian/monitoring-plugins-standard.postrm.in @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +STD_PLUGINS="@STD_PLUGINS@" + +if [ "$1" = "purge" ]; then + if which ucf >/dev/null 2>&1; then + have_ucf="yes" + fi + for f in $STD_PLUGINS; do + rm -f /etc/nagios-plugins/config/${f}.cfg + if [ "$have_ucf" = "yes" ]; then + ucf --purge /etc/nagios-plugins/config/${f}.cfg + fi + done +fi + +#DEBHELPER# diff --git a/debian/monitoring-plugins.links b/debian/monitoring-plugins.links new file mode 100644 index 0000000..3914a50 --- /dev/null +++ b/debian/monitoring-plugins.links @@ -0,0 +1,9 @@ +usr/share/doc/monitoring-plugins-common/FAQ usr/share/doc/monitoring-plugins/FAQ +usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins/NEWS.Debian.gz +usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins/NEWS.gz +usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins/README +usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins/README.Debian.gz +usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins/REQUIREMENTS +usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins/SUPPORT +usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins/changelog.gz +usr/share/doc/monitoring-plugins-standard/README.Debian.plugins usr/share/doc/monitoring-plugins/README.Debian.plugins diff --git a/debian/patches/02_check_icmp_links b/debian/patches/02_check_icmp_links new file mode 100644 index 0000000..591683c --- /dev/null +++ b/debian/patches/02_check_icmp_links @@ -0,0 +1,30 @@ +## 02_check_icmp_links by Jan Wagner <waja@cyconet.org> +## +## DP: Create symlinks for check_icmp to provide default values for some situations + +diff -urNad nagios-plugins-1.4.14~/plugins-root/Makefile.am nagios-plugins-1.4.14/plugins-root/Makefile.am +--- nagios-plugins-1.4.14~/plugins-root/Makefile.am 2008-11-30 22:23:18.000000000 +0100 ++++ nagios-plugins-1.4.14/plugins-root/Makefile.am 2010-01-10 20:39:03.000000000 +0100 +@@ -71,7 +71,8 @@ + else \ + echo "WARNING: insufficient access; not installing setuid plugins"; \ + echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \ +- fi ++ fi ; \ ++ if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi + + # /* Author Coreutils team sub-citation */ + +diff -urNad nagios-plugins-1.4.14~/plugins-root/Makefile.in nagios-plugins-1.4.14/plugins-root/Makefile.in +--- nagios-plugins-1.4.14~/plugins-root/Makefile.in 2009-09-16 10:37:59.000000000 +0200 ++++ nagios-plugins-1.4.14/plugins-root/Makefile.in 2010-01-10 20:39:13.000000000 +0100 +@@ -1162,7 +1162,8 @@ + else \ + echo "WARNING: insufficient access; not installing setuid plugins"; \ + echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \ +- fi ++ fi ; \ ++ if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi + + clean-local: + rm -f NP-VERSION-FILE diff --git a/debian/patches/03_epn b/debian/patches/03_epn new file mode 100644 index 0000000..5ee4062 --- /dev/null +++ b/debian/patches/03_epn @@ -0,0 +1,8 @@ +--- a/plugins-scripts/check_disk_smb.pl ++++ b/plugins-scripts/check_disk_smb.pl +@@ -1,4 +1,5 @@ + #!@PERL@ -w ++# nagios: -epn + # + # + # check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port] diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..1cf9eea --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,4 @@ +02_check_icmp_links +03_epn +# commited upstream +# feature patches diff --git a/debian/pluginconfig/apt.cfg b/debian/pluginconfig/apt.cfg new file mode 100644 index 0000000..d3ceb7c --- /dev/null +++ b/debian/pluginconfig/apt.cfg @@ -0,0 +1,12 @@ +# 'check_apt' command definition +define command{ + command_name check_apt + command_line /usr/lib/nagios/plugins/check_apt + } + +# 'check_apt_distupgrade' command definition +define command{ + command_name check_apt_distupgrade + command_line /usr/lib/nagios/plugins/check_apt -d + } + diff --git a/debian/pluginconfig/breeze.cfg b/debian/pluginconfig/breeze.cfg new file mode 100644 index 0000000..2e89650 --- /dev/null +++ b/debian/pluginconfig/breeze.cfg @@ -0,0 +1,5 @@ +# 'check_breeze' command definition +define command { + command_name check_breeze + command_line /usr/lib/nagios/plugins/check_breeze -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' +} diff --git a/debian/pluginconfig/curl-http.cfg b/debian/pluginconfig/curl-http.cfg new file mode 100644 index 0000000..d3b967b --- /dev/null +++ b/debian/pluginconfig/curl-http.cfg @@ -0,0 +1,111 @@ +# 'check_curl_http' command definition +define command{ + command_name check_curl_http + command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_curl_httpname' command definition +define command{ + command_name check_curl_httpname + command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_curl_http2' command definition +define command{ + command_name check_curl_http2 + command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$' + } + +# 'check_curl_squid' command definition +define command{ + command_name check_curl_squid + command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' + } + +# 'check_curl_https' command definition +define command{ + command_name check_curl_https + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_curl_https_httpname' command definition +define command{ + command_name check_curl_https_hostname + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_curl_https_auth' command definition +define command{ + command_name check_curl_https_auth + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$' + } + +# 'check_curl_https_auth_hostname' command definition +define command{ + command_name check_curl_https_auth_hostname + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$' + } + +# 'check_curl_cups' command definition +define command{ + command_name check_curl_cups + command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 '$ARG1$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_curl_http_4' command definition +define command{ + command_name check_curl_http_4 + command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_curl_httpname_4' command definition +define command{ + command_name check_curl_httpname_4 + command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_curl_http2_4' command definition +define command{ + command_name check_curl_http2_4 + command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 '$ARG4$' + } + +# 'check_curl_squid_4' command definition +define command{ + command_name check_curl_squid_4 + command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -4 + } + +# 'check_curl_https_4' command definition +define command{ + command_name check_curl_https_4 + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_curls_https_hostname_4' command definition +define command{ + command_name check_curl_https_hostname_4 + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_curl_https_auth_4' command definition +define command{ + command_name check_curl_https_auth_4 + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$' + } + +# 'check_curl_https_auth_hostname_4' command definition +define command{ + command_name check_curl_https_auth_hostname_4 + command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$' + } + +# 'check_curl_cups_4' command definition +define command{ + command_name check_curl_cups_4 + command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$' + } diff --git a/debian/pluginconfig/dhcp.cfg b/debian/pluginconfig/dhcp.cfg new file mode 100644 index 0000000..a6c0c02 --- /dev/null +++ b/debian/pluginconfig/dhcp.cfg @@ -0,0 +1,15 @@ +# note: these plugins require root privilege. see README.Debian for +# more information on how it is recommended that you do this. + +# 'check_dhcp' command definition +define command{ + command_name check_dhcp + command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_dhcp_interface' command definition +define command{ + command_name check_dhcp_interface + command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$' '$ARG2$' + } + diff --git a/debian/pluginconfig/disk-smb.cfg b/debian/pluginconfig/disk-smb.cfg new file mode 100644 index 0000000..d3cee35 --- /dev/null +++ b/debian/pluginconfig/disk-smb.cfg @@ -0,0 +1,54 @@ +# 'check_disk_smb' command definition +define command{ + command_name check_disk_smb + command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' + } + + +# 'check_disk_smb_workgroup' command definition +define command{ + command_name check_disk_smb_workgroup + command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' + } + + +# 'check_disk_smb_host' command definition +define command{ + command_name check_disk_smb_host + command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' + } + + +# 'check_disk_smb_workgroup_host' command definition +define command{ + command_name check_disk_smb_workgroup_host + command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' + } + + +# 'check_disk_smb_user' command definition +define command{ + command_name check_disk_smb_user + command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$' -w '$ARG5$' -c '$ARG6$' + } + + +# 'check_disk_smb_workgroup_user' command definition +define command{ + command_name check_disk_smb_workgroup_user + command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$' + } + + +# 'check_disk_smb_host_user' command definition +define command{ + command_name check_disk_smb_host_user + command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$' + } + + +# 'check_disk_smb_workgroup_host_user' command definition +define command{ + command_name check_disk_smb_workgroup_host_user + command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$' + } diff --git a/debian/pluginconfig/disk.cfg b/debian/pluginconfig/disk.cfg new file mode 100644 index 0000000..3f5fcaf --- /dev/null +++ b/debian/pluginconfig/disk.cfg @@ -0,0 +1,27 @@ +# 'check_disk' command definition +define command{ + command_name check_disk + command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$' + } + +# 'check_all_disks' command definition +define command{ + command_name check_all_disks + command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e + } + +# 'ssh_disk' command definition +define command{ + command_name ssh_disk + command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C "/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'" + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'ssh_disk_4' command definition +define command{ + command_name ssh_disk_4 + command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C "/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'" -4 + } diff --git a/debian/pluginconfig/dns.cfg b/debian/pluginconfig/dns.cfg new file mode 100644 index 0000000..d2363bf --- /dev/null +++ b/debian/pluginconfig/dns.cfg @@ -0,0 +1,11 @@ +# 'check_dns' command definition +define command{ + command_name check_dns + command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s '$HOSTADDRESS$' '$ARG1$' +} + +# 'check_dig' command definition +define command{ + command_name check_dig + command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$' '$ARG2$' +} diff --git a/debian/pluginconfig/dummy.cfg b/debian/pluginconfig/dummy.cfg new file mode 100644 index 0000000..bfb7ef4 --- /dev/null +++ b/debian/pluginconfig/dummy.cfg @@ -0,0 +1,29 @@ +# return-ok definition +define command { + command_name return-ok + command_line /usr/lib/nagios/plugins/check_dummy 0 +} + +# return-warning definition +define command { + command_name return-warning + command_line /usr/lib/nagios/plugins/check_dummy 1 +} + +# return-critical definition +define command { + command_name return-critical + command_line /usr/lib/nagios/plugins/check_dummy 2 +} + +# return-unknown definition +define command { + command_name return-unknown + command_line /usr/lib/nagios/plugins/check_dummy 3 +} + +# return-numeric definition +define command { + command_name return-numeric + command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$' +} diff --git a/debian/pluginconfig/flexlm.cfg b/debian/pluginconfig/flexlm.cfg new file mode 100644 index 0000000..678f044 --- /dev/null +++ b/debian/pluginconfig/flexlm.cfg @@ -0,0 +1,6 @@ +# 'check_flexlm' command definition +define command{ + command_name check_flexlm + command_line /usr/lib/nagios/plugins/check_flexlm -F '$ARG1$' + } + diff --git a/debian/pluginconfig/fping.cfg b/debian/pluginconfig/fping.cfg new file mode 100644 index 0000000..bf3baf6 --- /dev/null +++ b/debian/pluginconfig/fping.cfg @@ -0,0 +1,5 @@ +# 'check-fast-alive' command definition +define command{ + command_name check-fast-alive + command_line /usr/lib/nagios/plugins/check_fping -H '$HOSTADDRESS$' + } diff --git a/debian/pluginconfig/ftp.cfg b/debian/pluginconfig/ftp.cfg new file mode 100644 index 0000000..79bf2fd --- /dev/null +++ b/debian/pluginconfig/ftp.cfg @@ -0,0 +1,15 @@ +# 'check_ftp' command definition +define command{ + command_name check_ftp + command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' '$ARG1$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_ftp_4' command definition +define command{ + command_name check_ftp_4 + command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' -4 '$ARG1$' + } diff --git a/debian/pluginconfig/games.cfg b/debian/pluginconfig/games.cfg new file mode 100644 index 0000000..0ada476 --- /dev/null +++ b/debian/pluginconfig/games.cfg @@ -0,0 +1,14 @@ +# 'check_quake' command definition +define command{ + command_name check_quake + command_line /usr/lib/nagios/plugins/check_game qs '$HOSTADDRESS$' + } + + +# 'check_unreal' command definition +define command{ + command_name check_unreal + command_line /usr/lib/nagios/plugins/check_game uns '$HOSTADDRESS$' -P '$ARG1$' -p 8 + } + + diff --git a/debian/pluginconfig/hppjd.cfg b/debian/pluginconfig/hppjd.cfg new file mode 100644 index 0000000..cb15b5b --- /dev/null +++ b/debian/pluginconfig/hppjd.cfg @@ -0,0 +1,6 @@ +# 'check_hpjd' command definition +define command{ + command_name check_hpjd + command_line /usr/lib/nagios/plugins/check_hpjd -H '$HOSTADDRESS$' -C public + } + diff --git a/debian/pluginconfig/http.cfg b/debian/pluginconfig/http.cfg new file mode 100644 index 0000000..16072de --- /dev/null +++ b/debian/pluginconfig/http.cfg @@ -0,0 +1,111 @@ +# 'check_http' command definition +define command{ + command_name check_http + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_http_hostname' command definition +define command{ + command_name check_httpname + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_http2' command definition +define command{ + command_name check_http2 + command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$' + } + +# 'check_squid' command definition +define command{ + command_name check_squid + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' + } + +# 'check_https' command definition +define command{ + command_name check_https + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_https_hostname' command definition +define command{ + command_name check_https_hostname + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_https_auth' command definition +define command{ + command_name check_https_auth + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$' + } + +# 'check_https_auth_hostname' command definition +define command{ + command_name check_https_auth_hostname + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$' + } + +# 'check_cups' command definition +define command{ + command_name check_cups + command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 '$ARG1$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_http_4' command definition +define command{ + command_name check_http_4 + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_http_hostname_4' command definition +define command{ + command_name check_httpname_4 + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_http2_4' command definition +define command{ + command_name check_http2_4 + command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 '$ARG4$' + } + +# 'check_squid_4' command definition +define command{ + command_name check_squid_4 + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -4 + } + +# 'check_https_4' command definition +define command{ + command_name check_https_4 + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_https_hostname_4' command definition +define command{ + command_name check_https_hostname_4 + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$' + } + +# 'check_https_auth_4' command definition +define command{ + command_name check_https_auth_4 + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$' + } + +# 'check_https_auth_hostname_4' command definition +define command{ + command_name check_https_auth_hostname_4 + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$' + } + +# 'check_cups_4' command definition +define command{ + command_name check_cups_4 + command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$' + } diff --git a/debian/pluginconfig/ifstatus.cfg b/debian/pluginconfig/ifstatus.cfg new file mode 100644 index 0000000..e3fb54a --- /dev/null +++ b/debian/pluginconfig/ifstatus.cfg @@ -0,0 +1,23 @@ +# 'check_ifstatus' command definition +define command{ + command_name check_ifstatus + command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' + } + +# 'check_ifstatus_exclude' command definition +define command{ + command_name check_ifstatus_exclude + command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' -x '$ARG2$' + } + +# 'check_ifoperstatus_ifindex' command definition +define command{ + command_name check_ifoperstatus_ifindex + command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -k '$ARG2$' + } + +# 'check_ifoperstatus_ifdescr' command definition +define command{ + command_name check_ifoperstatus_ifdescr + command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -d '$ARG2$' + } diff --git a/debian/pluginconfig/jabber.cfg b/debian/pluginconfig/jabber.cfg new file mode 100644 index 0000000..7caa29d --- /dev/null +++ b/debian/pluginconfig/jabber.cfg @@ -0,0 +1,12 @@ +# 'check_jabber_4' command definition +define command{ + command_name check_jabber_4 + command_line /usr/lib/nagios/plugins/check_jabber -4 -H $HOSTADDRESS$ '$ARG1$' + } + +# 'check_jabber' command definition +define command{ + command_name check_jabber + command_line /usr/lib/nagios/plugins/check_jabber -H $HOSTADDRESS$ '$ARG1$' + } + diff --git a/debian/pluginconfig/ldap.cfg b/debian/pluginconfig/ldap.cfg new file mode 100644 index 0000000..ae5bde3 --- /dev/null +++ b/debian/pluginconfig/ldap.cfg @@ -0,0 +1,31 @@ +# 'check_ldap' command definition +define command{ + command_name check_ldap + command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' + } + +# 'check_ldaps' command definition +# This was using 'check_ldaps' in the past which used port 389 and starttls +# mechanism on default, keeped for backward compatibility +define command{ + command_name check_ldaps + command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_ldap_4' command definition +define command{ + command_name check_ldap_4 + command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' -4 + } + +# 'check_ldaps_4' command definition +# This was using 'check_ldaps' in the past which used port 389 and starttls +# mechanism on default, keeped for backward compatibility +define command{ + command_name check_ldaps_4 + command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' -4 + } diff --git a/debian/pluginconfig/load.cfg b/debian/pluginconfig/load.cfg new file mode 100644 index 0000000..c87efde --- /dev/null +++ b/debian/pluginconfig/load.cfg @@ -0,0 +1,6 @@ +# 'check_load' command definition +define command{ + command_name check_load + command_line /usr/lib/nagios/plugins/check_load --warning='$ARG1$,$ARG2$,$ARG3$' --critical='$ARG4$,$ARG5$,$ARG6$' + } + diff --git a/debian/pluginconfig/mail.cfg b/debian/pluginconfig/mail.cfg new file mode 100644 index 0000000..1da8050 --- /dev/null +++ b/debian/pluginconfig/mail.cfg @@ -0,0 +1,77 @@ +# 'check_pop' command definition +define command { + command_name check_pop + command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' '$ARG1$' +} + + +# 'check_smtp' command definition +define command { + command_name check_smtp + command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' '$ARG1$' +} + +# 'check_ssmtp' command definition +define command { + command_name check_ssmtp + command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' '$ARG1$' +} + +# 'check_imap' command definition +define command { + command_name check_imap + command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' '$ARG1$' +} + +# 'check_spop' command definition +define command { + command_name check_spop + command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S '$ARG1$' +} + + +# 'check_simap' command definition +define command { + command_name check_simap + command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S '$ARG1$' +} + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_pop_4' command definition +define command { + command_name check_pop_4 + command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' -4 '$ARG1$' +} + +# 'check_smtp_4' command definition +define command { + command_name check_smtp_4 + command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' -4 '$ARG1$' +} + +# 'check_ssmtp_4' command definition +define command { + command_name check_ssmtp_4 + command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' -4 '$ARG1$' +} + +# 'check_imap_4' command definition +define command { + command_name check_imap_4 + command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' -4 '$ARG1$' +} + +# 'check_spop_4' command definition +define command { + command_name check_spop_4 + command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S -4 '$ARG1$' +} + +# 'check_simap_4' command definition +define command { + command_name check_simap_4 + command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S -4 '$ARG1$' +} diff --git a/debian/pluginconfig/mailq.cfg b/debian/pluginconfig/mailq.cfg new file mode 100644 index 0000000..9fb4486 --- /dev/null +++ b/debian/pluginconfig/mailq.cfg @@ -0,0 +1,24 @@ +# 'check-mailq' for sendmail +define command { + command_name check_mailq_sendmail + command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail +} + +# 'check-mailq' for postfix +define command { + command_name check_mailq_postfix + command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix +} + +# 'check-mailq' for exim +define command { + command_name check_mailq_exim + command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim +} + +# 'check-mailq' for qmail +define command { + command_name check_mailq_qmail + command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail +} + diff --git a/debian/pluginconfig/mrtg.cfg b/debian/pluginconfig/mrtg.cfg new file mode 100644 index 0000000..9a4c626 --- /dev/null +++ b/debian/pluginconfig/mrtg.cfg @@ -0,0 +1,14 @@ +# 'check_mrtg' command definition +define command{ + command_name check_mrtg + command_line /usr/lib/nagios/plugins/check_mrtg '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$' + } + + +# 'traffic_average' command definition +define command{ + command_name traffic_average + command_line /usr/lib/nagios/plugins/check_mrtgtraf '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' + } + + diff --git a/debian/pluginconfig/mysql.cfg b/debian/pluginconfig/mysql.cfg new file mode 100644 index 0000000..e8c8a65 --- /dev/null +++ b/debian/pluginconfig/mysql.cfg @@ -0,0 +1,24 @@ +# 'check_mysql' command definition +define command{ + command_name check_mysql + command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' '$ARG1$' +} + +# 'check_mysql_cmdlinecred' command definition +define command{ + command_name check_mysql_cmdlinecred + command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' '$ARG3$' +} + +# 'check_mysql_database' command definition +define command{ + command_name check_mysql_database + command_line /usr/lib/nagios/plugins/check_mysql -d '$ARG3$' -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' '$ARG3$' +} + +# 'check_mysql_slave' command definition +define command{ + command_name check_mysql_slave + command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' -S '$ARG3$' +} + diff --git a/debian/pluginconfig/netware.cfg b/debian/pluginconfig/netware.cfg new file mode 100644 index 0000000..bc5f9d7 --- /dev/null +++ b/debian/pluginconfig/netware.cfg @@ -0,0 +1,84 @@ +# 'check_netware_logins' command definition +define command{ + command_name check_netware_logins + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOGINS" -w '$ARG1$' -c '$ARG2$' + } + + +# 'check_nwstat_conns' command definition +define command{ + command_name check_nwstat_conns + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CONNS -w '$ARG1$' -c '$ARG2$' + } + + +# 'check_netware_1load' command definition +define command{ + command_name check_netware_1load + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD1" -w 70 -c 90 + } + + +# 'check_netware_5load' command definition +define command{ + command_name check_netware_5load + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD5" -w 70 -c 90 + } + + +# 'check_netware_15load' command definition +define command{ + command_name check_netware_15load + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD15" -w 70 -c 90 + } + + +# 'check_nwstat_vol_p' command definition +define command{ + command_name check_nwstat_vol_p + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VPF'$ARG1$' -w '$ARG2$' -c '$ARG3$' + } + + +# 'check_nwstat_vol_k' command definition +define command{ + command_name check_nwstat_vol_k + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VKF'$ARG1$' -w '$ARG2$' -c '$ARG3$' + } + + +# 'check_nwstat_ltch' command definition +define command{ + command_name check_nwstat_ltch + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v LTCH -w '$ARG1$' -c '$ARG2$' + } + + +# 'check_nwstat_puprb' command definition +define command{ + command_name check_nwstat_puprb + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v PUPRB -w '$ARG1$' -c '$ARG2$' + } + + +# 'check_nwstat_dsdb' command definition +define command{ + command_name check_nwstat_dsdb + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v DSDB + } + + +# 'check_netware_abend' command definition +define command{ + command_name check_netware_abend + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "ABENDS" -w 10 -c 30 + } + + +# 'check_nwstat_csprocs' command definition +define command{ + command_name check_nwstat_csprocs + command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CSPROCS -w '$ARG1$' -c '$ARG2$' + } + + diff --git a/debian/pluginconfig/news.cfg b/debian/pluginconfig/news.cfg new file mode 100644 index 0000000..065b395 --- /dev/null +++ b/debian/pluginconfig/news.cfg @@ -0,0 +1,15 @@ +# 'check_nntp' command definition +define command{ + command_name check_nntp + command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' '$ARG1$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_nntp_4' command definition +define command{ + command_name check_nntp_4 + command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' -4 '$ARG1$' + } diff --git a/debian/pluginconfig/nt.cfg b/debian/pluginconfig/nt.cfg new file mode 100644 index 0000000..c01000c --- /dev/null +++ b/debian/pluginconfig/nt.cfg @@ -0,0 +1,15 @@ +# If you are confused about this command definition, cause you was +# reading other suggestions, please have a look into +# /usr/share/doc/monitoring-plugins/README.Debian + +# 'check_nt' command definition +define command { + command_name check_nt + command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$' +} + +# 'check_nscp' command definition +define command { + command_name check_nscp + command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$' +} diff --git a/debian/pluginconfig/ntp.cfg b/debian/pluginconfig/ntp.cfg new file mode 100644 index 0000000..8668718 --- /dev/null +++ b/debian/pluginconfig/ntp.cfg @@ -0,0 +1,17 @@ +# 'check_ntp' command definition +define command{ + command_name check_ntp + command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' '$ARG1$' + } + +# 'check_ntp_ntpq' command definition +define command{ + command_name check_ntp_ntpq + command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15 '$ARG1$' + } + +# 'check_time' command definition +define command{ + command_name check_time + command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' '$ARG1$' + } diff --git a/debian/pluginconfig/pgsql.cfg b/debian/pluginconfig/pgsql.cfg new file mode 100644 index 0000000..5c7f87c --- /dev/null +++ b/debian/pluginconfig/pgsql.cfg @@ -0,0 +1,15 @@ +# 'check_pgsql' command definition +define command{ + command_name check_pgsql + command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' '$ARG1$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_pgsql_4' command definition +define command{ + command_name check_pgsql_4 + command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' -4 '$ARG1$' + } diff --git a/debian/pluginconfig/ping.cfg b/debian/pluginconfig/ping.cfg new file mode 100644 index 0000000..4d76cab --- /dev/null +++ b/debian/pluginconfig/ping.cfg @@ -0,0 +1,72 @@ +# 'check_ping' command definition +define command{ + command_name check_ping + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' + } + + +# 'check-host-alive' command definition +define command{ + command_name check-host-alive + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 + } + + +# 'check-printer-alive' command definition +define command{ + command_name check-printer-alive + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 + } + + +# 'check-switch-alive' command definition +define command{ + command_name check-switch-alive + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 + } + + +# 'check-router-alive' command definition +define command{ + command_name check-router-alive + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_ping_4' command definition +define command{ + command_name check_ping_4 + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' -4 + } + + +# 'check-host-alive_4' command definition +define command{ + command_name check-host-alive_4 + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 + } + + +# 'check-printer-alive_4' command definition +define command{ + command_name check-printer-alive_4 + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 + } + + +# 'check-switch-alive_4' command definition +define command{ + command_name check-switch-alive_4 + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 + } + + +# 'check-router-alive_4' command definition +define command{ + command_name check-router-alive_4 + command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 + } + diff --git a/debian/pluginconfig/procs.cfg b/debian/pluginconfig/procs.cfg new file mode 100644 index 0000000..47158e4 --- /dev/null +++ b/debian/pluginconfig/procs.cfg @@ -0,0 +1,20 @@ +# 'check_procs' command definition +define command{ + command_name check_procs + command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' + } + + +# 'check_procs_zombie' command definition +define command{ + command_name check_procs_zombie + command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z + } + + +# 'check_procs_httpd' command definition +define command{ + command_name check_procs_httpd + command_line /usr/lib/nagios/plugins/check_procs -w 5:'$ARG1$' -c 1:'$ARG2$' -C httpd + } + diff --git a/debian/pluginconfig/radius.cfg b/debian/pluginconfig/radius.cfg new file mode 100644 index 0000000..92c3679 --- /dev/null +++ b/debian/pluginconfig/radius.cfg @@ -0,0 +1,6 @@ +# 'check_radius' command definition +define command{ + command_name check_radius + command_line /usr/lib/nagios/plugins/check_radius -F /etc/radcli/radiusclient.conf -H '$HOSTADDRESS$' -P '$ARG4$' -t '$ARG3$' -u '$ARG1$' -p '$ARG2$' + } + diff --git a/debian/pluginconfig/real.cfg b/debian/pluginconfig/real.cfg new file mode 100644 index 0000000..3afb59c --- /dev/null +++ b/debian/pluginconfig/real.cfg @@ -0,0 +1,13 @@ +# 'check_real_url' command definition +define command{ + command_name check_real_url + command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 -u '$ARG4$' + } + + +# 'check_real' command definition +define command{ + command_name check_real + command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 + } + diff --git a/debian/pluginconfig/rpc-nfs.cfg b/debian/pluginconfig/rpc-nfs.cfg new file mode 100644 index 0000000..0a551f4 --- /dev/null +++ b/debian/pluginconfig/rpc-nfs.cfg @@ -0,0 +1,14 @@ + +# 'check-rpc' command definition +define command{ + command_name check-rpc + command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C '$ARG1$' + } + + +# 'check-nfs' command definition +define command{ + command_name check-nfs + command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C nfs -c2,3 + } + diff --git a/debian/pluginconfig/snmp.cfg b/debian/pluginconfig/snmp.cfg new file mode 100644 index 0000000..21442ed --- /dev/null +++ b/debian/pluginconfig/snmp.cfg @@ -0,0 +1,132 @@ +# 'snmp_load' command definition +define command{ + command_name snmp_load + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10.1.5.3 -w :'$ARG2$',:'$ARG3$',:'$ARG4$' -c :'$ARG5$',:'$ARG6$',:'$ARG7$' -l load + } + + +# 'snmp_cpustats' command definition +define command{ + command_name snmp_cpustats + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0 -l 'CPU usage (user system idle)' -u '%' + } + + +# 'snmp_procname' command definition +define command{ + command_name snmp_procname + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.2.1.5.'$ARG2$' -w '$ARG3$':'$ARG4$' -c '$ARG5$':'$ARG6$' + } + + +# 'snmp_disk' command definition +define command{ + command_name snmp_disk + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.9.1.7.'$ARG2$',.1.3.6.1.4.1.2021.9.1.9.'$ARG2$' -w '$ARG3$':,:'$ARG4$' -c '$ARG5$':,:'$ARG6$' -u 'kB free (','% used)' -l 'disk space' + } + + +# 'snmp_mem' command definition +define command{ + command_name snmp_mem + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.6.0,.1.3.6.1.4.1.2021.4.5.0 -w '$ARG2$': -c '$ARG3$': + } + + +# 'snmp_swap' command definition +define command{ + command_name snmp_swap + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w '$ARG2$': -c '$ARG3$': + } + + +# 'snmp_procs' command definition +define command{ + command_name snmp_procs + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemProcesses -w :'$ARG2$' -c :'$ARG3$' -l processes + } + + +# 'snmp_users' command definition +define command{ + command_name snmp_users + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemNumUsers.0 -w :'$ARG2$' -c :'$ARG3$' -l users + } + + +# 'snmp_mem2' command definition +define command{ + command_name snmp_mem2 + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' + } + + +# 'snmp_swap2' command definition +define command{ + command_name snmp_swap2 + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' + } + + +# 'snmp_mem3' command definition +define command{ + command_name snmp_mem3 + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' + } + + +# 'snmp_swap3' command definition +define command{ + command_name snmp_swap3 + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' + } + + +# 'snmp_disk2' command definition +define command{ + command_name snmp_disk2 + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$' -w '$ARG3$' -c '$ARG4$' + } + + +# 'snmp_tcpopen' command definition +define command{ + command_name snmp_tcpopen + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpCurrEstab.0 -w '$ARG2$' -c '$ARG3$' + } + + +# 'snmp_tcpstats' command definition +define command{ + command_name snmp_tcpstats + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpActiveOpens.0,tcp.tcpPassiveOpens.0,tcp.tcpInSegs.0,tcp.tcpOutSegs.0,tcp.tcpRetransSegs.0 -l 'TCP stats' + } + + +# 'check_netapp_uptime' command definition +define command{ + command_name check_netapp_uptime + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is" + } + + +# 'check_netapp_cpuload' command definition +define command{ + command_name check_netapp_cpuload + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD " + } + + +# 'check_netapp_numdisks' command definition +define command{ + command_name check_netapp_numdisks + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks','Active','Spare','Failed' -l "" + } + + +# 'check_compaq_thermalCondition' command definition +define command{ + command_name check_compaq_thermalCondition + command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.232.6.2.1.0,.1.3.6.1.4.1.232.6.2.2.0,.1.3.6.1.4.1.232.6.2.3.0,.1.3.6.1.4.1.232.6.2.4.0 -u 'ThermalCondition','ThermalTemp','ThermalSystem','ThermalCPUFan' -w 2:2,2:2,2:2,2:2 -c 1:2,1:2,1:2,1:2 -l "Thermal status " + } + diff --git a/debian/pluginconfig/ssh.cfg b/debian/pluginconfig/ssh.cfg new file mode 100644 index 0000000..29a6d17 --- /dev/null +++ b/debian/pluginconfig/ssh.cfg @@ -0,0 +1,27 @@ +# 'check_ssh' command definition +define command{ + command_name check_ssh + command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$' + } + +# 'check_ssh_port' command definition +define command{ + command_name check_ssh_port + command_line /usr/lib/nagios/plugins/check_ssh -p '$ARG1$' '$HOSTADDRESS$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_ssh_4' command definition +define command{ + command_name check_ssh_4 + command_line /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$' + } + +# 'check_ssh_port_4' command definition +define command{ + command_name check_ssh_port_4 + command_line /usr/lib/nagios/plugins/check_ssh -4 -p '$ARG1$' '$HOSTADDRESS$' + } diff --git a/debian/pluginconfig/tcp_udp.cfg b/debian/pluginconfig/tcp_udp.cfg new file mode 100644 index 0000000..140e84c --- /dev/null +++ b/debian/pluginconfig/tcp_udp.cfg @@ -0,0 +1,27 @@ +# 'check_tcp' command definition +define command{ + command_name check_tcp + command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$' + } + +# 'check_udp' command definition +define command{ + command_name check_udp + command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_tcp_4' command definition +define command{ + command_name check_tcp_4 + command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$' + } + +# 'check_udp_4' command definition +define command{ + command_name check_udp_4 + command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$' + } diff --git a/debian/pluginconfig/telnet.cfg b/debian/pluginconfig/telnet.cfg new file mode 100644 index 0000000..a87f842 --- /dev/null +++ b/debian/pluginconfig/telnet.cfg @@ -0,0 +1,15 @@ +# 'check_telnet' command definition +define command{ + command_name check_telnet + command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 '$ARG1$' + } + +#### +# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems +#### + +# 'check_telnet_4' command definition +define command{ + command_name check_telnet_4 + command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 -4 '$ARG1$' + } diff --git a/debian/pluginconfig/users.cfg b/debian/pluginconfig/users.cfg new file mode 100644 index 0000000..614a622 --- /dev/null +++ b/debian/pluginconfig/users.cfg @@ -0,0 +1,6 @@ +# 'check_users' command definition +define command{ + command_name check_users + command_line /usr/lib/nagios/plugins/check_users -w '$ARG1$' -c '$ARG2$' + } + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2da585c --- /dev/null +++ b/debian/rules @@ -0,0 +1,233 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# for hardening +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +PACKAGE = monitoring-plugins + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +include /usr/share/dpkg/architecture.mk + +DEBIANDIR=$(CURDIR)/debian +NP_LIBEXEC:=/usr/lib/nagios/plugins +NP_COMMON_DIR:=$(DEBIANDIR)/monitoring-plugins-common +NP_BASIC_DIR:=$(DEBIANDIR)/monitoring-plugins-basic +NP_BASIC_TEMPLATES:=$(NP_BASIC_DIR)/usr/share/monitoring-plugins/templates-basic +NP_STD_DIR:=$(DEBIANDIR)/monitoring-plugins-standard +NP_STD_TEMPLATES:=$(NP_STD_DIR)/usr/share/monitoring-plugins/templates-standard + +std_plugins:=check_breeze check_ifoperstatus check_hpjd check_ifstatus \ + check_rpc check_snmp check_wave check_fping check_game \ + check_radius check_mysql check_mysql_query check_pgsql \ + check_disk_smb check_ldap check_ldaps \ + check_mailq check_curl \ + check_dns check_dig check_flexlm check_oracle \ + check_dbi + +common_files:=negate urlize utils.pm utils.sh + +basic_plugin_cfgs:=apt dhcp disk dummy ftp http load mail news ntp ping procs \ + real ssh tcp_udp telnet users +std_plugin_cfgs:=breeze curl-http disk-smb dns flexlm fping games hppjd ifstatus ldap \ + mailq mrtg mysql netware nt pgsql radius rpc-nfs snmp + +PATH = /bin:/sbin:/usr/bin:/usr/sbin + + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +ifeq ($(DEB_HOST_ARCH_OS),linux) +PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -4 -n -U -w %d -c %d %s" \ + --with-ping6-command="/bin/ping -6 -n -U -w %d -c %d %s" +else +PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -w %d -c %d %s" \ + --with-ping6-command="/bin/ping6 -n -w %d -c %d %s" +endif + + +config.status: configure + export PATH=$(PATH) + dh_testdir + + # if /proc is not mounted, check_nagios and check_procs are + # silently omitted from build. + @if ! [ -d /proc/$$$$ ]; then \ + echo "monitoring-plugins needs a mounted /proc to correctly build"; \ + exit 1; \ + fi + + ln -sf /usr/share/misc/config.sub build-aux + ln -sf /usr/share/misc/config.guess build-aux + rm -f config.cache + + # Add here commands to configure the package. + # Append 'All warnings', 'Immediate binding' and dpkg-buildflags flags + CFLAGS="$$(DEB_CFLAGS_MAINT_APPEND='-Wall -Wl,-z,now' dpkg-buildflags --get CFLAGS)" \ + PATH_TO_APTGET=/usr/bin/apt-get \ + PGINCLUDE="-I`pg_config --includedir`" PGLIBS="-lpq -lcrypt" \ + ./configure \ + --disable-maintainer-mode \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=${NP_LIBEXEC} \ + --with-perl=/usr/bin/perl \ + --with-openssl=/usr \ + --with-pgsql=/usr \ + --with-mysql=/usr \ + --with-proc-loadavg=/proc/loadavg \ + --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime comm args'" \ + --with-ps-format="%s %d %d %d %d %d %f %s %s %n" \ + --with-ps-cols=10 \ + --with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos" \ + $(PING_CONFIGURE_ARGS) \ + --with-nslookup-command="/usr/bin/nslookup -sil" \ + --with-uptime-command="/usr/bin/uptime" \ + --with-rpcinfo-command="/usr/sbin/rpcinfo" \ + --with-smbclient-command="/usr/bin/smbclient" \ + --with-snmpget-command="/usr/bin/snmpget" \ + --with-snmpgetnext-command="/usr/bin/snmpgetnext" \ + --with-qstat-command="/usr/bin/quakestat" \ + --with-fping-command="/usr/bin/fping" \ + --with-fping6-command="/usr/bin/fping6" \ + --with-ssh-command="/usr/bin/ssh" \ + --with-sudo-command="/usr/bin/sudo" \ + --with-mailq-command="/usr/bin/mailq" \ + --with-proc-meminfo="/proc/meminfo" \ + --with-dig-command="/usr/bin/dig" \ + --with-apt-get-command="/usr/bin/apt-get" \ + --enable-extra-opts \ + --disable-rpath + + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +clean: really-clean + +really-clean: + dh_testdir + dh_testroot + rm -f build-stamp debian/README.Debian.plugins debian/monitoring-plugins-standard.substvars.in + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \; + -rm -f platform.h auto-include.h + find -type d -name build -print0 | xargs -0 -r rm -rf \; + find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \; + -rm -f $(DEBIANDIR)/monitoring-plugins-basic.postrm $(DEBIANDIR)/monitoring-plugins-standard.postrm + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/monitoring-plugins. + $(MAKE) install DESTDIR=${NP_BASIC_DIR} + $(MAKE) install-root DESTDIR=${NP_BASIC_DIR} + chmod 644 ${NP_BASIC_DIR}/usr/lib/nagios/plugins/utils.pm + # split up basic vs. standard plugins + for p in ${std_plugins}; do \ + mv ${NP_BASIC_DIR}/${NP_LIBEXEC}/$$p ${NP_STD_DIR}/${NP_LIBEXEC}; \ + done + # slit out common files + for p in ${common_files}; do \ + mv ${NP_BASIC_DIR}/${NP_LIBEXEC}/$$p ${NP_COMMON_DIR}/${NP_LIBEXEC}; \ + done + # remove check_uptime for now (conflicting with check_uptime from n-p-c) + rm ${NP_BASIC_DIR}/${NP_LIBEXEC}/check_uptime + # now do the same for their configs, copying them into seperate + # "template" directories outside of /usr/share/doc for ucf to use. + for c in ${basic_plugin_cfgs}; do \ + cp $(DEBIANDIR)/pluginconfig/$${c}.cfg ${NP_BASIC_TEMPLATES}; \ + done + for c in ${std_plugin_cfgs}; do \ + cp $(DEBIANDIR)/pluginconfig/$${c}.cfg ${NP_STD_TEMPLATES}; \ + done + # dynamically create the postrm scripts using a template, so that we + # don't have to define the same list of plugin configs over and over. + sed -e 's/@BASIC_PLUGINS@/${basic_plugin_cfgs}/' \ + < $(DEBIANDIR)/monitoring-plugins-basic.postrm.in \ + > $(DEBIANDIR)/monitoring-plugins-basic.postrm + sed -e 's/@STD_PLUGINS@/${std_plugin_cfgs}/' \ + < $(DEBIANDIR)/monitoring-plugins-standard.postrm.in \ + > $(DEBIANDIR)/monitoring-plugins-standard.postrm + # copy our dpkg-sourced functions etc into place + mkdir -p ${NP_COMMON_DIR}/usr/share/monitoring-plugins/dpkg + install -t ${NP_COMMON_DIR}/usr/share/monitoring-plugins/dpkg \ + $(DEBIANDIR)/functions + # remove /usr/include from monitoring-plugins-basic (in case its empty and exists) + [ ! -d ${NP_BASIC_DIR}/usr/include ] || rmdir ${NP_BASIC_DIR}/usr/include + # generate debian/README.Debian.plugins + perl ./debian/bin/gen_plugin_deps.pl + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i + dh_link -i + dh_installexamples -i + dh_installman -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -p monitoring-plugins-basic -a ChangeLog + dh_installchangelogs -Nmonitoring-plugins-basic + dh_installdocs -a + dh_link -a + dh_installexamples -a + dh_installman -a + dh_strip -a + dh_compress -a + dh_fixperms -a -X utils.pm + dh_installdeb -a + dh_shlibdeps -a -Nmonitoring-plugins-standard + dpkg-shlibdeps -Tdebian/monitoring-plugins-standard.substvars \ + ${NP_STD_DIR}/${NP_LIBEXEC}/check_dns + dpkg-shlibdeps -Tdebian/monitoring-plugins-standard.substvars.in \ + -dSuggests ${NP_STD_DIR}/${NP_LIBEXEC}/check_* + grep shlibs:Suggests debian/monitoring-plugins-standard.substvars.in \ + | sed -e 's/shlibs:Suggests/shlibs:Recommends/' \ + >> debian/monitoring-plugins-standard.substvars + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..e84d385 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = '^\.github' diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..a11336b --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Name: monitoring-plugins +Bug-Database: https://github.com/monitoring-plugins/monitoring-plugins/issues +Bug-Submit: https://github.com/monitoring-plugins/monitoring-plugins/issues/new +Repository: https://github.com/monitoring-plugins/monitoring-plugins.git +Repository-Browse: https://github.com/monitoring-plugins/monitoring-plugins diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..534f948 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +https://www.monitoring-plugins.org/download/.*-plugins-(\d+\.[\d\.a-z]+)\.tar\.gz \ + debian debian/bin/repack.sh |