[Pkg-nagios-devel] Bug#309967: marked as done (nagios-plugins: mail.cfg produces an error message in mail-log)

Debian Bug Tracking System owner at bugs.debian.org
Sun Oct 9 14:48:32 UTC 2005


Your message dated Sun, 9 Oct 2005 10:44:48 -0400
with message-id <20051009144448.GA21469 at seanius.net>
and subject line fixed in latest version
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 May 2005 20:00:54 +0000
>From f.a.g.luteijn at knoware.nl Fri May 20 13:00:54 2005
Return-path: <f.a.g.luteijn at knoware.nl>
Received: from 29-10.bbned.dsl.internl.net (firewall.fluteijn.knoware.nl) [82.215.10.29] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DZDfo-0004vd-00; Fri, 20 May 2005 13:00:44 -0700
Received: from printserver.fluteijn.knoware.nl (printserver.fluteijn.knoware.nl [192.168.2.2])
	by firewall.fluteijn.knoware.nl (8.12.3/8.12.3/Debian-7.1) with ESMTP id j4KK0eXJ016712
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK);
	Fri, 20 May 2005 22:00:41 +0200
Received: from printserver.fluteijn.knoware.nl (smmsp at localhost [127.0.0.1])
	by printserver.fluteijn.knoware.nl (8.12.3/8.12.3/Debian-7.1) with ESMTP id j4KK0cQ0031118
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK);
	Fri, 20 May 2005 22:00:39 +0200
Received: (from root at localhost)
	by printserver.fluteijn.knoware.nl (8.12.3/8.12.3/Debian-7.1) id j4KK0bX9031116;
	Fri, 20 May 2005 22:00:37 +0200
Message-Id: <200505202000.j4KK0bX9031116 at printserver.fluteijn.knoware.nl>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "F.A.G. Luteijn" <f.a.g.luteijn at knoware.nl>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: nagios-plugins: mail.cfg produces an error message in mail-log
X-Mailer: reportbug 2.63
Date: Fri, 20 May 2005 22:00:37 +0200
X-BadReturnPath: root at fluteijn.knoware.nl rewritten as f.a.g.luteijn at knoware.nl
  using "From" header
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: nagios-plugins
Version: 1.4-3
Severity: minor
Tags: patch

The command check_smtp produces a line in my mail-log:
May  8 06:49:00 firewall sm-mta[15533]: j484n0ll015533:
nagios at printserver.fluteijn.knoware.nl [192.168.2.2] did not issue
MAIL/EXPN/VRFY/ETRN during connection to MTA

It can be solved with the following patch:

diff -rcN /etc/nagios-plugins/config.orig/mail.cfg /etc/nagios-plugins/config/mail.cfg
*** /etc/nagios-plugins/config.orig/mail.cfg    Mon Mar  7 05:33:30 2005
--- /etc/nagios-plugins/config/mail.cfg Tue May 10 01:43:12 2005
***************
*** 8,14 ****
  # 'check_smtp' command definition
  define command {
        command_name    check_smtp
!       command_line    /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$
  }
  
  # 'check_imap' command definition
--- 8,14 ----
  # 'check_smtp' command definition
  define command {
        command_name    check_smtp
!       command_line    /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$ -C MAIL
  }
  
  # 'check_imap' command definition

-- System Information:
Debian Release: 3.0
Architecture: i386 (i586)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C

Versions of packages nagios-plugins depends on:
ii  bind9-host [host]      1:9.2.1-2.woody.2 Version of 'host' bundled with BIN
ii  dnsutils               1:9.2.1-2.woody.2 Clients provided with BIND
ii  fping                  2.4b2-to-ipv6-4   Send ICMP ECHO_REQUEST packets to 
ii  iputils-ping [ping]    3:20020124-3      The ping utility from iputils
ii  libc6                  2.3.2.ds1-21      GNU C Library: Shared libraries an
ii  libldap2               2.1.23-1          OpenLDAP libraries
ii  libmysqlclient12       4.0.21-7          mysql database client library
ii  libnet-snmp-perl       3.6-7             Script SNMP connections
ii  libpq3                 7.4.5-3           Shared library libpq.so.3 for Post
ii  libssl0.9.7            0.9.7d-5          SSL shared libraries
ii  ntp                    1:4.1.0-8         Daemon and utilities for full NTP 
ii  ntp-simple             1:4.1.0-8         NTP v4 daemon for simple systems.
ii  ntpdate                1:4.1.0-8         The ntpdate client for setting sys
ii  procps                 1:2.0.7-8.woody1  The /proc file system utilities.
ii  qstat                  2.4e-1            Command-line tool for querying qua
ii  radiusclient1          0.3.1-12.1        /bin/login replacement which uses 
ii  smbclient              2.2.3a-15         A LanManager like simple client fo
ii  snmp                   4.2.3-2           NET SNMP (Simple Network Managemen

-- no debconf information

---------------------------------------
Received: (at 309967-close) by bugs.debian.org; 9 Oct 2005 14:45:22 +0000
>From seanius at seanius.net Sun Oct 09 07:45:22 2005
Return-path: <seanius at seanius.net>
Received: from dsl092-235-113.phl1.dsl.speakeasy.net (sativa.seanius.net) [66.92.235.113] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EOcQU-0001w8-00; Sun, 09 Oct 2005 07:45:22 -0700
Received: by sativa.seanius.net (Postfix, from userid 1000)
	id 24E5515834; Sun,  9 Oct 2005 10:44:48 -0400 (EDT)
Date: Sun, 9 Oct 2005 10:44:48 -0400
From: sean finney <seanius at debian.org>
To: 309967-close at bugs.debian.org
Subject: fixed in latest version
Message-ID: <20051009144448.GA21469 at seanius.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: 309967-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02


--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

the latest version of nagios-plugins/check_mail now defaults to
sending a MAIL command if no command is specified.


thanks
	sean
--=20

--7AUc2qLy4jB3hD7Z
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDSSzgynjLPm522B0RAlmkAJ4zuH0KdP//QBj+K5OPHLxAG7IexgCfcuyr
LxuuPzfwW0e7vdKn+JJvBic=
=f901
-----END PGP SIGNATURE-----

--7AUc2qLy4jB3hD7Z--



More information about the Pkg-nagios-devel mailing list