--- nagios-plugins-1.4.16.orig/debian/control +++ nagios-plugins-1.4.16/debian/control @@ -0,0 +1,108 @@ +Source: nagios-plugins +Section: net +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Nagios Maintainer Group +Uploaders: Jan Wagner , Alexander Wirt +Build-Depends: debhelper (>= 5), dpatch (>= 2.0.9), perl, autotools-dev, libldap2-dev, libpq-dev, libmysqlclient-dev | libmysqlclient16-dev | libmysqlclient15-dev, libradius1-dev, libkrb5-dev, libnet-snmp-perl, procps, mawk | awk, hardening-wrapper +Homepage: http://nagiosplug.sourceforge.net +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-nagios/nagios-plugins/ +Vcs-Svn: svn://svn.debian.org/pkg-nagios/nagios-plugins/trunk/ +Standards-Version: 3.9.3 + +Package: nagios-plugins +Architecture: all +Depends: ${misc:Depends}, nagios-plugins-basic, nagios-plugins-standard +Suggests: nagios3 | icinga +Description: Plugins for nagios compatible monitoring systems (metapackage) + Plugins for nagios compatible monitoring systems like Nagios and Icinga. + . + This metapackage will install the entire suite of plugins for nagios. + If you are installing nagios plugins on a remote "satellite" server + (using nagios-nrpe-server or nsca), you may be interested in the + nagios-plugins-basic package. + +Package: nagios-plugins-common +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ucf +Replaces: nagios-plugins-basic (<= 1.4.15-5) +Suggests: nagios3 | icinga +Description: Common files for plugins for nagios compatible monitoring + Common files for plugins for nagios compatible monitoring systems like Nagios + and Icinga. + . + This package contains common files which maybe needed for plugins. + +Package: nagios-plugins-basic +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, procps, iputils-ping [linux-any], inetutils-ping [kfreebsd-any hurd-any], ucf +Pre-Depends: nagios-plugins-common (>= 1.4.15-6) +Conflicts: nagios-plugins (<= 1.4.2-3), nagios-plugins-extra (<= 1.3.1.0) +Replaces: nagios-plugins, nagios-plugins-standard, nagios-plugins-extra (<= 1.3.1.0) +Suggests: nagios3 | icinga +Description: Plugins for nagios compatible monitoring systems + Plugins for nagios compatible monitoring systems like Nagios 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: nagios-plugins-standard +Architecture: any +Conflicts: nagios-plugins (<= 1.4.2-3) +Replaces: nagios-plugins +Depends: ${shlibs:Depends}, ${misc:Depends}, ${dist:Depends}, ucf, nagios-plugins-basic (>= 1.4.5-2) +Recommends: ${shlibs:Recommends}, snmp, libnet-snmp-perl, dnsutils, bind9-host | host, smbclient, whois +Suggests: nagios3 | icinga, postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light +Description: Plugins for nagios compatible monitoring systems + Plugins for nagios compatible monitoring systems like Nagios and Icinga. It + contains the following plugins: + . + check_bgpstate, check_breeze, check_dig, check_disk_smb, + check_dns, check_flexlm, check_fping, check_game, + check_hpjd, check_ifoperstatus, check_ifstatus, check_ldap, + check_ldaps, check_linux_raid, 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 nagios host. Some scripts needs more packages installed + to work, which is implemented as recommands. + +Package: nagios-plugins-extra +Architecture: any +Conflicts: nagios-plugins (<= 1.4.2-3) +Replaces: nagios-plugins, nagios-plugins-standard ( <= 1.4.8-2) +Depends: ${shlibs:Depends}, ${misc:Depends}, fping, qstat, ucf, nagios-plugins-basic (>= 1.4.5-2) +Recommends: nagios-plugins-contrib +Suggests: nagios2 | nagios-text | nagios +Description: Plugins for the nagios network monitoring and manegement system. + Nagios is a host/service/network monitoring and management system. It has + the following features: + . + o Monitoring of network services (via TCP port, SMTP, POP3, HTTP, NNTP, + PING, etc.) + o Plugin interface to allow for user-developed service checks + o Contact notifications when problems occur and get resolved (via email, + pager, or user-defined method) + o Ability to define event handlers to be run during service or host events + (for proactive problem resolution) + o Web output (current status, notifications, history, log file, etc.) + . + This package provides the suite of plugins that provide extra functionality + to be useful on a central nagios host. --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-standard.postrm.in +++ nagios-plugins-1.4.16/debian/nagios-plugins-standard.postrm.in @@ -0,0 +1,17 @@ +#!/bin/sh -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# --- nagios-plugins-1.4.16.orig/debian/dirs +++ nagios-plugins-1.4.16/debian/dirs @@ -0,0 +1 @@ +etc/nagios-plugins/config --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-basic.links +++ nagios-plugins-1.4.16/debian/nagios-plugins-basic.links @@ -0,0 +1,10 @@ +usr/share/doc/nagios-plugins-common/NEWS.Debian.gz usr/share/doc/nagios-plugins-basic/NEWS.Debian.gz +usr/share/doc/nagios-plugins-common/README.Debian.gz usr/share/doc/nagios-plugins-basic/README.Debian.gz +usr/share/doc/nagios-plugins-common/changelog.gz usr/share/doc/nagios-plugins-basic/changelog.gz +usr/share/doc/nagios-plugins-common/examples usr/share/doc/nagios-plugins-basic/examples +usr/share/doc/nagios-plugins-common/FAQ usr/share/doc/nagios-plugins-basic/FAQ +usr/share/doc/nagios-plugins-common/NEWS.gz usr/share/doc/nagios-plugins-basic/NEWS.gz +usr/share/doc/nagios-plugins-common/README usr/share/doc/nagios-plugins-basic/README +usr/share/doc/nagios-plugins-common/LEGAL usr/share/doc/nagios-plugins-basic/LEGAL +usr/share/doc/nagios-plugins-common/REQUIREMENTS usr/share/doc/nagios-plugins-basic/REQUIREMENTS +usr/share/doc/nagios-plugins-common/SUPPORT usr/share/doc/nagios-plugins-basic/SUPPORT --- nagios-plugins-1.4.16.orig/debian/nagios-plugins.links +++ nagios-plugins-1.4.16/debian/nagios-plugins.links @@ -0,0 +1,11 @@ +usr/share/doc/nagios-plugins-common/NEWS.Debian.gz usr/share/doc/nagios-plugins/NEWS.Debian.gz +usr/share/doc/nagios-plugins-common/README.Debian.gz usr/share/doc/nagios-plugins/README.Debian.gz +usr/share/doc/nagios-plugins-standard/README.Debian.plugins usr/share/doc/nagios-plugins/README.Debian.plugins +usr/share/doc/nagios-plugins-common/changelog.gz usr/share/doc/nagios-plugins/changelog.gz +usr/share/doc/nagios-plugins-common/examples usr/share/doc/nagios-plugins/examples +usr/share/doc/nagios-plugins-common/FAQ usr/share/doc/nagios-plugins/FAQ +usr/share/doc/nagios-plugins-common/NEWS.gz usr/share/doc/nagios-plugins/NEWS.gz +usr/share/doc/nagios-plugins-common/README usr/share/doc/nagios-plugins/README +usr/share/doc/nagios-plugins-common/LEGAL usr/share/doc/nagios-plugins/LEGAL +usr/share/doc/nagios-plugins-common/REQUIREMENTS usr/share/doc/nagios-plugins/REQUIREMENTS +usr/share/doc/nagios-plugins-common/SUPPORT usr/share/doc/nagios-plugins/SUPPORT --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-common.dirs +++ nagios-plugins-1.4.16/debian/nagios-plugins-common.dirs @@ -0,0 +1 @@ +usr/lib/nagios/plugins \ No newline at end of file --- nagios-plugins-1.4.16.orig/debian/watch +++ nagios-plugins-1.4.16/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/nagiosplug/nagios-plugins-(\d+\.[\d\.a-z]+)\.tar\.gz --- nagios-plugins-1.4.16.orig/debian/NEWS.Debian +++ nagios-plugins-1.4.16/debian/NEWS.Debian @@ -0,0 +1,63 @@ +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 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 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 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 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 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 Thu, 11 Jan 2007 14:56:47 +0100 --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-standard.postinst +++ nagios-plugins-1.4.16/debian/nagios-plugins-standard.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +. /usr/share/nagios-plugins/dpkg/functions +templdir=/usr/share/nagios-plugins/templates-standard + +if [ "$1" = "configure" ]; then + register_cfgs $2 +fi + +#DEBHELPER# --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-common.examples +++ nagios-plugins-1.4.16/debian/nagios-plugins-common.examples @@ -0,0 +1 @@ +command.cfg --- nagios-plugins-1.4.16.orig/debian/README.source +++ nagios-plugins-1.4.16/debian/README.source @@ -0,0 +1,3 @@ +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. --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-standard.links +++ nagios-plugins-1.4.16/debian/nagios-plugins-standard.links @@ -0,0 +1,10 @@ +usr/share/doc/nagios-plugins-common/NEWS.Debian.gz usr/share/doc/nagios-plugins-standard/NEWS.Debian.gz +usr/share/doc/nagios-plugins-common/README.Debian.gz usr/share/doc/nagios-plugins-standard/README.Debian.gz +usr/share/doc/nagios-plugins-common/changelog.gz usr/share/doc/nagios-plugins-standard/changelog.gz +usr/share/doc/nagios-plugins-common/examples usr/share/doc/nagios-plugins-standard/examples +usr/share/doc/nagios-plugins-common/FAQ usr/share/doc/nagios-plugins-standard/FAQ +usr/share/doc/nagios-plugins-common/NEWS.gz usr/share/doc/nagios-plugins-standard/NEWS.gz +usr/share/doc/nagios-plugins-common/README usr/share/doc/nagios-plugins-standard/README +usr/share/doc/nagios-plugins-common/LEGAL usr/share/doc/nagios-plugins-standard/LEGAL +usr/share/doc/nagios-plugins-common/REQUIREMENTS usr/share/doc/nagios-plugins-standard/REQUIREMENTS +usr/share/doc/nagios-plugins-common/SUPPORT usr/share/doc/nagios-plugins-standard/SUPPORT --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-basic.postinst +++ nagios-plugins-1.4.16/debian/nagios-plugins-basic.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +templdir=/usr/share/nagios-plugins/templates-basic +. /usr/share/nagios-plugins/dpkg/functions + +if [ "$1" = "configure" ]; then + register_cfgs $2 +fi + +#DEBHELPER# --- nagios-plugins-1.4.16.orig/debian/rules +++ nagios-plugins-1.4.16/debian/rules @@ -0,0 +1,252 @@ +#!/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 + +# enable hardnening +export DEB_BUILD_HARDENING=1 + +PACKAGE = nagios-plugins + +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +CFLAGS = -Wall -g + +DEBIANDIR=$(CURDIR)/debian +NP_LIBEXEC:=/usr/lib/nagios/plugins +NP_COMMON_DIR:=$(DEBIANDIR)/nagios-plugins-common +NP_BASIC_DIR:=$(DEBIANDIR)/nagios-plugins-basic +NP_BASIC_TEMPLATES:=$(NP_BASIC_DIR)/usr/share/nagios-plugins/templates-basic +NP_STD_DIR:=$(DEBIANDIR)/nagios-plugins-standard +NP_STD_TEMPLATES:=$(NP_STD_DIR)/usr/share/nagios-plugins/templates-standard +NP_EXTRAS_DIR:=$(DEBIANDIR)/nagios-plugins-extra +NP_EXTRA_TEMPLATES:=$(NP_STD_DIR)/usr/share/nagios-plugins/templates-extras + +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) + DEPSUBSTVARS = -Vdist:Depends="rpcbind" + RPCINFO_CONFIGURE_ARGS = /usr/sbin/rpcinfo +else + DEPSUBSTVARS = -Vdist:Depends="" + RPCINFO_CONFIGURE_ARGS = /usr/bin/rpcinfo +endif + +std_plugins:=check_breeze check_ifoperstatus check_hpjd check_ifstatus \ + check_rpc check_snmp check_wave \ + check_radius check_mysql check_mysql_query check_pgsql \ + check_disk_smb check_ldap check_ldaps \ + check_mailq \ + check_dns check_dig check_flexlm check_oracle + +extra_plugins:=check_fping check_game + +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 disk-smb dns flexlm fping games hppjd ifstatus ldap \ + mailq mrtg mysql netware nt pgsql radius rpc-nfs snmp +extra_plugins_cfgs:=fping games + +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 -n -U -w %d -c %d %s" \ + --with-ping6-command="/bin/ping6 -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/1 ]; then \ + echo "nagios-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. + PGINCLUDE="-I`pg_config --includedir`" PGLIBS="-lpq -lcrypt" \ + CFLAGS="$(CFLAGS)" \ + ./configure \ + --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=${RPCINFO_CONFIGURE_ARGS} \ + --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-ssh-command="/usr/bin/ssh" \ + --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" \ + --disable-rpath + + +build: build-arch build-indep +build-arch: patch-stamp build-stamp +build-indep: patch-stamp build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +clean: really-clean unpatch + +really-clean: + dh_testdir + dh_testroot + rm -f build-stamp debian/README.Debian.plugins debian/nagios-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)/nagios-plugins-basic.postrm $(DEBIANDIR)/nagios-plugins-standard.postrm $(DEBIANDIR)/nagios-plugins-extras.postrm + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/nagios-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 vs extras 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 + for p in ${extra_plugins}; do \ + mv ${NP_BASIC_DIR}/${NP_LIBEXEC}/$$p ${NP_EXTRAS_DIR}/${NP_LIBEXEC}; \ + done + # 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 + for c in ${extra_plugins_cfgs}; do \ + cp $(DEBIANDIR)/pluginconfig/$${c}.cfg ${NP_EXTRA_TEMPLATES}; \ + done + + # install check_bgpstate from contrib + #install -m 755 contrib/check_bgpstate.pl ${NP_STD_DIR}/${NP_LIBEXEC}/check_bgpstate + #install -m 755 contrib/check_linux_raid.pl ${NP_STD_DIR}/${NP_LIBEXEC}/check_linux_raid + # 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)/nagios-plugins-basic.postrm.in \ + > $(DEBIANDIR)/nagios-plugins-basic.postrm + sed -e 's/@STD_PLUGINS@/${std_plugin_cfgs}/' \ + < $(DEBIANDIR)/nagios-plugins-standard.postrm.in \ + > $(DEBIANDIR)/nagios-plugins-standard.postrm + # copy our dpkg-sourced functions etc into place + mkdir -p ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg + install -t ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg \ + $(DEBIANDIR)/functions + # remove /usr/include from nagios-plugins-nasic (in case its empty) + 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 -s + dh_testroot -s + dh_installchangelogs -p nagios-plugins-basic -s ChangeLog + dh_installchangelogs -Nnagios-plugins-basic + dh_installdocs -s + dh_link -s + dh_installexamples -s + dh_installman -s + dh_strip -s + dh_compress -s + dh_fixperms -s -X utils.pm + dh_installdeb -s + dh_shlibdeps -s -Nnagios-plugins-standard + dpkg-shlibdeps -Tdebian/nagios-plugins-standard.substvars \ + ${NP_STD_DIR}/${NP_LIBEXEC}/check_dns + dpkg-shlibdeps -Tdebian/nagios-plugins-standard.substvars.in \ + -dSuggests ${NP_STD_DIR}/${NP_LIBEXEC}/check_* + grep shlibs:Suggests debian/nagios-plugins-standard.substvars.in \ + | sed -e 's/shlibs:Suggests/shlibs:Recommends/' \ + >> debian/nagios-plugins-standard.substvars + dh_gencontrol -s -- $(DEPSUBSTVARS) + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- nagios-plugins-1.4.16.orig/debian/changelog +++ nagios-plugins-1.4.16/debian/changelog @@ -0,0 +1,1379 @@ +nagios-plugins (1.4.16-1ubuntu2) raring; urgency=low + + * Recommend nagios-plugins-contrib in the universe package (-extras). + + -- Dmitrijs Ledkovs Fri, 18 Jan 2013 09:35:25 +0000 + +nagios-plugins (1.4.16-1ubuntu1) raring; urgency=low + + [ Dmitrijs Ledkovs ] + * Merge from debian unstable. Remaining changes: + - debian/control: + + build with libradius1-dev to avoid pushing radiusclient-ng to main. + + Do not recommend qstat and fping in nagios-plugins-standard to avoid + promotion to main. + - debian/control, debian/rules, debian/nagios-plugins-extra.dirs + + add package nagios-plugins-extra + + [ Robie Basak ] + * Fix FTBFS: do not assume that gets is defined (LP: #1097848). + + [ Jan Wagner ] + * Define the path for rpcinfo on ubuntu to /usr/sbin and depended on rpcbind + (LP: #1086151). + + -- Dmitrijs Ledkovs Thu, 17 Jan 2013 21:10:24 +0000 + +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 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 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 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 Fri, 18 May 2012 11:41:17 +0200 + +nagios-plugins (1.4.15-5ubuntu4) quantal; urgency=low + + * Rebuild for new armel compiler default of ARMv5t. + + -- Colin Watson Mon, 08 Oct 2012 08:34:15 +0100 + +nagios-plugins (1.4.15-5ubuntu3) precise; urgency=low + + * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. + + -- Adam Conrad Fri, 02 Dec 2011 17:32:38 -0700 + +nagios-plugins (1.4.15-5ubuntu2) precise; urgency=low + + * Rebuild for libmysqlclient transition + + -- Clint Byrum Wed, 23 Nov 2011 23:58:13 -0800 + +nagios-plugins (1.4.15-5ubuntu1) precise; urgency=low + + * Merge from debian unstable. Remaining changes: + - debian/control: + + build with libradius1-dev to avoid pushing radiusclient-ng to main. + + Do not recommend qstat and fping in nagios-plugins-standard to avoid + promotion to main. + - debian/control, debian/rules, debian/nagios-plugins-extra.dirs + + add package nagios-plugins-extra + * Dropped changes: + - hardening options: now included in debian + - Build with libmysqlclient-dev only: the libmysqlclient-dev option will + be satisfied and it will be selected during build. + - debian/pluginconfig/nt.cfg: revert to debian version + It is not clear what the issue was in bug 595528. See bug + for more info. + - The merge reported the following files had changed, but those + differences seem to have been accidental. Chose the debian versions: + po/de.po, po/fr.po, po/nagios-plugins.pot + + -- Scott Moser Fri, 28 Oct 2011 13:57:15 -0400 + +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 Wed, 07 Sep 2011 12:23:56 +0200 + +nagios-plugins (1.4.15-4ubuntu2) oneiric; urgency=low + + * re-enable hardened builds (LP: #837085) + + -- Scott Moser Tue, 06 Sep 2011 16:08:53 -0400 + +nagios-plugins (1.4.15-4ubuntu1) oneiric; urgency=low + + * Merge from debian unstable (LP: #789347). Remaining changes: + - debian/control: keep on building with libradius1-dev to avoid pushing radiusclient-ng + to main. + - Don't depend on nagios-plugins-extra, we dont need qstat and fping in main. + - debian/{control,rules}: add an enable hardened build for PIE. + (Debian bug 542728). + - Build with libmysqlclient-dev only. + - debian/pluginconfig/nt.cfg: Fix syntax error. + + -- Scott Moser Fri, 27 May 2011 17:03:17 -0400 + +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 Wed, 18 May 2011 16:31:35 +0200 + +nagios-plugins (1.4.15-3ubuntu1) natty; urgency=low + + * Merge from debian unstable. Remaining changes: + - debian/control: keep on building with libradius1-dev to avoid pushing radiusclient-ng + to main. + - Don't depend on nagios-plugins-extra, we dont need qstat and fping in main. + - debian/{control,rules}: add an enable hardened build for PIE. + (Debian bug 542728). + - Build with libmysqlclient-dev only. + - debian/pluginconfig/nt.cfg: Fix syntax error. (LP: #595528) + + -- Chuck Short Fri, 24 Dec 2010 06:13:15 +0000 + +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 Wed, 22 Dec 2010 00:43:02 +0100 + +nagios-plugins (1.4.15-2ubuntu1) natty; urgency=low + + * Merge from debian unstable. Remaining changes: + - debian/control: keep on building with libradius1-dev to avoid pusing radiusclient-ng + to main. + - Don't depend on nagios-plugins-extra, we dont need qstat and fping in main. + - debian/{control,rules}: add an enable hardened build for PIE. + (Debian bug 542728). + - Build with libmysqlclient-dev only. + - debian/pluginconfig/nt.cfg: Fix syntax error. (LP: #595528) + + -- Chuck Short Mon, 27 Sep 2010 00:49:25 +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 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 Sat, 31 Jul 2010 10:34:04 +0200 + +nagios-plugins (1.4.14-5ubuntu3) maverick; urgency=low + + * debian/control: add missed hardening-wrapper to build-depends. + + -- Kees Cook Mon, 30 Aug 2010 10:42:45 -0700 + +nagios-plugins (1.4.14-5ubuntu2) maverick; urgency=low + + * debian/pluginconfig/nt.cfg: Fix syntax error. (LP: #595528) + + -- Chuck Short Mon, 21 Jun 2010 08:58:28 -0400 + +nagios-plugins (1.4.14-5ubuntu1) maverick; urgency=low + + * Merge from debian unstable. Remaining changes: + - debian/control: keep on building with libradius1-dev to avoid pusing radiusclient-ng + to main. + - Don't depend on nagios-plugins-extra, we dont need qstat and fping in main. + - debian/{control,rules}: add an enable hardened build for PIE. + (Debian bug 542728). + - Build with libmysqlclient-dev only. + + -- Chuck Short Mon, 10 May 2010 15:02:18 +0100 + +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 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 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 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 Mon, 15 Mar 2010 22:41:29 +0100 + +nagios-plugins (1.4.14-1ubuntu1) lucid; urgency=low + + * Merge from debian testing. Remaining changes: + - debian/control: keep on building with libradius1-dev to avoid pushing + radiusclient-ng to main. + - Don't depend on nagios-plugins-extra, we dont need qset and fping in + main. + - debian/{control,rules}: add and enable hardened build for PIE + (Debian bug 542728). + + -- Chuck Short Mon, 01 Feb 2010 00:24:19 +0000 + +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 depencies + - Fix two spelling errors in README.Debian + + -- Jan Wagner Sat, 23 Jan 2010 01:07:49 +0100 + +nagios-plugins (1.4.13+git200906171200-1ubuntu3) karmic; urgency=low + + * debian/{control,rules}: add and enable hardened build for PIE + (Debian bug 542728). + + -- Kees Cook Thu, 20 Aug 2009 17:54:50 -0700 + +nagios-plugins (1.4.13+git200906171200-1ubuntu2) karmic; urgency=low + + * debian/control: Change build dependencies to MySQL 5.1. + + -- Mathias Gug Tue, 18 Aug 2009 18:01:00 -0400 + +nagios-plugins (1.4.13+git200906171200-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: LP: #397312 + - debian/control: keep on building with libradius1-dev to avoid pushing + radiusclient-ng to main + - Don't depend on nagios-plugins-extra, we dont need qstat and fping + in main. + * Fix LP: #382146 + + -- Bhavani Shankar Thu, 09 Jul 2009 12:41:10 +0530 + +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 Mon, 06 Jul 2009 20:21:42 +0200 + +nagios-plugins (1.4.12-5ubuntu1) karmic; urgency=low + + [ Andreas Olsson ] + * Merge from debian unstable (LP: #376459), remaining changes: + - Keeping 99_check_ntp_segfaults.dpatch: Fix for check_ntp and check_ntp_peer + segfaults (LP: #291265 + - debian/control: keep on building with libradius1-dev to avoid pushing + radiusclient-ng to main + - Don't depend on nagios-plugins-extra, we dont need qstat and fping in main. + - Updated translations in po/ + * Adding XSBC-Original-Maintainer to debian/control + + -- Mathias Gug Thu, 14 May 2009 13:15:53 -0400 + +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 Fri, 30 Jan 2009 22:50:35 +0100 + +nagios-plugins (1.4.12-4ubuntu2) jaunty; urgency=low + + * Added 99_check_ntp_segfaults.dpatch: Fix for check_ntp and check_ntp_peer + segfaults (LP: #291265) + + -- Thierry Carrez Wed, 19 Nov 2008 16:44:27 +0000 + +nagios-plugins (1.4.12-4ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - Don't depend on nagios-plugins-extra, we dont need qstat and fping in main. + - Dropped debian/patches/99_check_http_segfault.dpatch (included upstream) + - debian/control: keep on building with libradius1-dev to avoid pushing radiusclient-ng + to main. + + -- Chuck Short Wed, 05 Nov 2008 02:58:16 +0000 + +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 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 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 + for helping out here (Closes: #488820) + + -- Jan Wagner 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 + 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 + for providing it (Closes: #478906) + * add 34_fix_smbclient_check_disk_smb.dpatch which fixes usage of smbclient, + thanks Stephane Chazelas 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 for providing it (Closes: #460097) + * add 36_check_ldap_empty_base.dpatch which allows empty ldap base, thanks + to Stephane Chazelas 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 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 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 + 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 Tue, 17 Jun 2008 23:18:32 +0200 + +nagios-plugins (1.4.11-2ubuntu2) intrepid; urgency=low + + * Dont depend on nagios-plugins-extras, we dont need qstat and fping in main. + + -- Chuck Short Fri, 17 Oct 2008 09:56:40 -0400 + +nagios-plugins (1.4.11-2ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/patches/99_check_http_segfault.dpatch: Fix segfaulting when + using check_http -a -x (LP: #201054) + + -- Chuck Short Mon, 26 May 2008 12:09:21 -0500 + +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 + for reminding (Closes: #429977) + + -- Jan Wagner Thu, 06 Mar 2008 22:07:31 +0100 + +nagios-plugins (1.4.11-1ubuntu5) hardy; urgency=low + + * debian/control. + - Fix conflicts from dapper -> hardy (LP: #71292) + + -- Chuck Short Wed, 16 Apr 2008 11:42:52 -0400 + +nagios-plugins (1.4.11-1ubuntu4) hardy; urgency=low + + * Removed check_game and check_fping from nagios-plugins-standard and + place them in nagios-plugins-extra. plugins that we don't want to support + in main. This was done for the nagios-plugins MIR. + + -- Chuck Short Tue, 15 Apr 2008 10:19:59 -0400 + +nagios-plugins (1.4.11-1ubuntu3) hardy; urgency=low + + * debian/patches/99_check_http_segfault.dpatch. + - Fix segfaulting when check_http -a x. (LP: #201054) + + -- Chuck Short Mon, 14 Apr 2008 12:47:52 -0400 + +nagios-plugins (1.4.11-1ubuntu2) hardy; urgency=low + + * Replace nagios-plugins-extras. (LP: #212632) + + -- Chuck Short Tue, 08 Apr 2008 15:49:20 -0400 + +nagios-plugins (1.4.11-1ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Remove build-dep on libsnmp*-dev + + -- Stephan Hermann Thu, 31 Jan 2008 20:21:56 +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 Sat, 26 Jan 2008 15:04:00 +0100 + +nagios-plugins (1.4.10-1ubuntu2) hardy; urgency=low + + * Rebuild against libldap2.4-2 + + -- Emmet Hikory Thu, 24 Jan 2008 22:02:40 +0900 + +nagios-plugins (1.4.10-1ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Remove build-dep on libsnmp*-dev + - debian/control: Set Ubuntu MOTU as maintainer + + -- Luca Falavigna Fri, 07 Dec 2007 09:47:04 +0000 + +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 Fri, 07 Dec 2007 00:55:42 +0100 + +nagios-plugins (1.4.8-2.2ubuntu1) hardy; urgency=low + + * Merge from Debian unstable (LP: #158859). Remaining Ubuntu changes: + - Add 50_misc_typos.dpatch + - Remove build-dep on libsnmp*-dev + - debian/control: Set Ubuntu MOTU as maintainer + + -- Luca Falavigna Sun, 28 Oct 2007 22:32:23 +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 Sun, 28 Oct 2007 16:15:54 +0100 + +nagios-plugins (1.4.8-2.1ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable, remaining Ubuntu changes: + - Add 50_misc_typos.dpatch + - Remove build-dep on libsnmp*-dev + - debian/control: Set Ubuntu MOTU as maintainer + + -- Luca Falavigna Sun, 14 Oct 2007 15:41:14 +0200 + +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 Sun, 14 Oct 2007 10:36:01 +0000 + +nagios-plugins (1.4.8-2ubuntu2) gutsy; urgency=low + + * Remove build-dep on libsnmp*-dev + + -- Andy Price Wed, 20 Jun 2007 06:44:12 +0100 + +nagios-plugins (1.4.8-2ubuntu1) gutsy; urgency=low + + * Added 50_misc_typos.dpatch based on Malcolm Parsons' patch + (Fixes LP: #64595) + * debian/control: Set Ubuntu MOTU as maintainer + + -- Andy Price Sun, 17 Jun 2007 17:33:47 +0100 + +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 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 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 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 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 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 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 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 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 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 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 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 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 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" : + * 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 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 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 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 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 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 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 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 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 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 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_ 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 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 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 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 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 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" 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Sun, 1 Feb 2004 10:32:04 +0100 + --- nagios-plugins-1.4.16.orig/debian/functions +++ nagios-plugins-1.4.16/debian/functions @@ -0,0 +1,16 @@ +# 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 + ( + cd $templdir + for f in *cfg; do + dest=${npconfdir}/$f + ucf $f $dest + done + ); +} + --- nagios-plugins-1.4.16.orig/debian/README.Debian +++ nagios-plugins-1.4.16/debian/README.Debian @@ -0,0 +1,86 @@ +================================================================================ +nagios-plugins for Debian +================================================================================ + +below is a collection of various bits of information that might be +helpful to users of nagios-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/nagios-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://nagios.sourceforge.net/docs/3_0/plugins.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 nagios-plugins (for +example if you're installing nrpe or nsca on a remote host), try the +nagios-plugins-basic package. + +================================================================================ +plugins needing root privilege +================================================================================ + +the check_dhcp, check_icmp and maybe others plugins require root privileges 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. there are two recommended ways +about overriding this 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. --- nagios-plugins-1.4.16.orig/debian/README.Debian.plugins.in +++ nagios-plugins-1.4.16/debian/README.Debian.plugins.in @@ -0,0 +1,57 @@ +nagios-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 "nagios-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 + +check_oracle: + * procps + +check_wave: + * snmp + +@PLUGIN_DEPS@ --- nagios-plugins-1.4.16.orig/debian/compat +++ nagios-plugins-1.4.16/debian/compat @@ -0,0 +1 @@ +5 --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-basic.dirs +++ nagios-plugins-1.4.16/debian/nagios-plugins-basic.dirs @@ -0,0 +1,3 @@ +usr/lib/nagios/plugins +etc/nagios-plugins/config +usr/share/nagios-plugins/templates-basic --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-standard.dirs +++ nagios-plugins-1.4.16/debian/nagios-plugins-standard.dirs @@ -0,0 +1,3 @@ +usr/lib/nagios/plugins +etc/nagios-plugins/config +usr/share/nagios-plugins/templates-standard --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-basic.postrm.in +++ nagios-plugins-1.4.16/debian/nagios-plugins-basic.postrm.in @@ -0,0 +1,17 @@ +#!/bin/sh -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# --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-common.docs +++ nagios-plugins-1.4.16/debian/nagios-plugins-common.docs @@ -0,0 +1,8 @@ +FAQ +NEWS +README +LEGAL +REQUIREMENTS +SUPPORT +debian/NEWS.Debian +debian/README.Debian --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-extra.dirs +++ nagios-plugins-1.4.16/debian/nagios-plugins-extra.dirs @@ -0,0 +1,3 @@ +usr/lib/nagios/plugins +etc/nagios-plugins/config +usr/share/nagios-plugins/templates-standard --- nagios-plugins-1.4.16.orig/debian/nagios-plugins-standard.docs +++ nagios-plugins-1.4.16/debian/nagios-plugins-standard.docs @@ -0,0 +1 @@ +debian/README.Debian.plugins --- nagios-plugins-1.4.16.orig/debian/copyright +++ nagios-plugins-1.4.16/debian/copyright @@ -0,0 +1,279 @@ +This package was debianized by Guido Trotter on +Sun, 1 Feb 2004 10:05:51 +0100. + +It was downloaded from http://nagiosplug.sourceforge.net/ + +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, 2009 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 . + + 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: + + This software is released under the GNU Public License with the additional + exemption that compiling, linking and/or using OpenSSL is allowed. + +Files with different Licenses: + + build-aux/config.guess + build-aux/config.sub + build-aux/ltmain.sh + contrib/check_cpqarray.c + contrib/check_linux_raid.pl + contrib/check_traceroute-pure_perl.pl + contrib/check_cluster2.c + contrib/check_snmp_printer.pl + contrib/check_http-with-client-certificate.c + contrib/check_cluster.c + 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/open-safer.c + gl/pipe-safer.c + gl/printf-* + gl/ref-* + gl/reg* + 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/strdup.c + 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/unistd-* + gl/v* + gl/wchar.in.h + gl/wctype.in.h + gl/xalloc* + 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. + + Makefile.in + gl/Makefile.in + lib/Makefile.in + lib/tests/Makefile.in + perlmods/Makefile + perlmods/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/open.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'. + --- nagios-plugins-1.4.16.orig/debian/bin/gen_plugin_deps.pl +++ nagios-plugins-1.4.16/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 + +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/nagios-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 : + --- nagios-plugins-1.4.16.orig/debian/patches/17_fix_gets_undefined_in_iso_c11.dpatch +++ nagios-plugins-1.4.16/debian/patches/17_fix_gets_undefined_in_iso_c11.dpatch @@ -0,0 +1,34 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 17_fix_gets_undefined_in_iso_c11.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## +## DP: Do not assume that gets is defined. gets got dropped in ISO C11, +## DP: but the embedded old version of gnulib assumes it is defined. Since Ubuntu +## DP: now does not define gets, it is safe to disable this warning, which fixes the +## DP: FTBFS. +## DP: +## DP: Author: Robie Basak +## DP: Bug: http://sourceforge.net/support/tracker.php?aid=3600122 +## DP: Bug-Ubuntu: https://launchpad.net/bugs/1097848 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' nagios-plugins-1.4.15~/gl/stdio.in.h nagios-plugins-1.4.15/gl/stdio.in.h +--- nagios-plugins-1.4.15~/gl/stdio.in.h 2010-07-27 20:47:15.000000000 +0000 ++++ nagios-plugins-1.4.15/gl/stdio.in.h 2013-01-09 17:17:13.112864259 +0000 +@@ -141,7 +141,14 @@ + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + #undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++ ++/* gets is no longer defined in ISO C11. This has been updated in upstream ++ * gnulib: ++ * http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=66712c23388e93e5c518ebc8515140fa0c807348 ++ * Since Ubuntu now does not define gets, it is safe to disable this warning. ++ * https://launchpad.net/bugs/1097848 ++ * _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++ */ + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ --- nagios-plugins-1.4.16.orig/debian/patches/00list +++ nagios-plugins-1.4.16/debian/patches/00list @@ -0,0 +1,3 @@ +02_check_icmp_links.dpatch +# commited upstream +17_fix_gets_undefined_in_iso_c11.dpatch --- nagios-plugins-1.4.16.orig/debian/patches/02_check_icmp_links.dpatch +++ nagios-plugins-1.4.16/debian/patches/02_check_icmp_links.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_check_icmp_links.dpatch by Jan Wagner +## +## DP: Create symlinks for check_icmp to provide default values for some situations + +@DPATCH@ +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 --- nagios-plugins-1.4.16.orig/debian/pluginconfig/disk-smb.cfg +++ nagios-plugins-1.4.16/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$' + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/dns.cfg +++ nagios-plugins-1.4.16/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$' +} + +# 'check_dig' command definition +define command{ + command_name check_dig + command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$' +} --- nagios-plugins-1.4.16.orig/debian/pluginconfig/mrtg.cfg +++ nagios-plugins-1.4.16/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$' + } + + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/ldap.cfg +++ nagios-plugins-1.4.16/debian/pluginconfig/ldap.cfg @@ -0,0 +1,27 @@ +# '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 +define command{ + command_name check_ldaps + command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -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 +define command{ + command_name check_ldaps_4 + command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' -4 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/breeze.cfg +++ nagios-plugins-1.4.16/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$' +} --- nagios-plugins-1.4.16.orig/debian/pluginconfig/ftp.cfg +++ nagios-plugins-1.4.16/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$' + } + +#### +# 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 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/flexlm.cfg +++ nagios-plugins-1.4.16/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$' + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/ping.cfg +++ nagios-plugins-1.4.16/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 + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/jabber.cfg +++ nagios-plugins-1.4.16/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$' + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/load.cfg +++ nagios-plugins-1.4.16/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$' + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/radius.cfg +++ nagios-plugins-1.4.16/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/radiusclient/radiusclient.conf -H '$HOSTADDRESS$' -P '$ARG4$' -t '$ARG3$' -u '$ARG1$' -p '$ARG2$' + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/pgsql.cfg +++ nagios-plugins-1.4.16/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$' + } + +#### +# 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 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/telnet.cfg +++ nagios-plugins-1.4.16/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 + } + +#### +# 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 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/apt.cfg +++ nagios-plugins-1.4.16/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 + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/mail.cfg +++ nagios-plugins-1.4.16/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$' +} + + +# 'check_smtp' command definition +define command { + command_name check_smtp + command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' +} + +# 'check_ssmtp' command definition +define command { + command_name check_ssmtp + command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' +} + +# 'check_imap' command definition +define command { + command_name check_imap + command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' +} + +# 'check_spop' command definition +define command { + command_name check_spop + command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S +} + + +# 'check_simap' command definition +define command { + command_name check_simap + command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S +} + +#### +# 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 +} + +# 'check_smtp_4' command definition +define command { + command_name check_smtp_4 + command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' -4 +} + +# 'check_ssmtp_4' command definition +define command { + command_name check_ssmtp_4 + command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' -4 +} + +# 'check_imap_4' command definition +define command { + command_name check_imap_4 + command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' -4 +} + +# '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 +} + +# '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 +} --- nagios-plugins-1.4.16.orig/debian/pluginconfig/nt.cfg +++ nagios-plugins-1.4.16/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/nagios-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$' +} --- nagios-plugins-1.4.16.orig/debian/pluginconfig/mysql.cfg +++ nagios-plugins-1.4.16/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$' +} + +# '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$' +} + +# '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$' +} + +# '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 +} + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/procs.cfg +++ nagios-plugins-1.4.16/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 + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/dhcp.cfg +++ nagios-plugins-1.4.16/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$' + } + +# 'check_dhcp_interface' command definition +define command{ + command_name check_dhcp_interface + command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$' + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/news.cfg +++ nagios-plugins-1.4.16/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$' + } + +#### +# 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 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/hppjd.cfg +++ nagios-plugins-1.4.16/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 + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/tcp_udp.cfg +++ nagios-plugins-1.4.16/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$' + } + +# 'check_udp' command definition +define command{ + command_name check_udp + command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' + } + +#### +# 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 + } + +# '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 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/users.cfg +++ nagios-plugins-1.4.16/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$' + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/snmp.cfg +++ nagios-plugins-1.4.16/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 -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 " + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/netware.cfg +++ nagios-plugins-1.4.16/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$' + } + + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/fping.cfg +++ nagios-plugins-1.4.16/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$' + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/ifstatus.cfg +++ nagios-plugins-1.4.16/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$' + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/ssh.cfg +++ nagios-plugins-1.4.16/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$' + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/mailq.cfg +++ nagios-plugins-1.4.16/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 +} + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/http.cfg +++ nagios-plugins-1.4.16/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$' + } + +# 'check_http_hostname' command definition +define command{ + command_name check_httpname + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' + } + +# '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$' + } + +# 'check_squid' command definition +define command{ + command_name check_squid + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' + } + +# 'check_https' command definition +define command{ + command_name check_https + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' + } + +# '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$' + } + +# '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$' + } + +# '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$' + } + +# 'check_cups' command definition +define command{ + command_name check_cups + command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 + } + +#### +# 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 + } + +# '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 + } + +# '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 + } + +# '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$' -e 'HTTP/1.0 200 OK' -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 + } + +# '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 + } + +# '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 + } + +# '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 + } + +# '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 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/rpc-nfs.cfg +++ nagios-plugins-1.4.16/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 + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/ntp.cfg +++ nagios-plugins-1.4.16/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$' + } + +# '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 + } + +# 'check_time' command definition +define command{ + command_name check_time + command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/dummy.cfg +++ nagios-plugins-1.4.16/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$' +} --- nagios-plugins-1.4.16.orig/debian/pluginconfig/real.cfg +++ nagios-plugins-1.4.16/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 + } + --- nagios-plugins-1.4.16.orig/debian/pluginconfig/disk.cfg +++ nagios-plugins-1.4.16/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 + } --- nagios-plugins-1.4.16.orig/debian/pluginconfig/games.cfg +++ nagios-plugins-1.4.16/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 + } + + --- nagios-plugins-1.4.16.orig/debian/source/format +++ nagios-plugins-1.4.16/debian/source/format @@ -0,0 +1 @@ +1.0