[Pkg-nagios-devel] Bug#608714: nagios-plugins: smtp plugin gives incomplete debugging output

Marc Haber mh+debian-bugs at zugschlus.de
Sun Jan 2 22:39:00 UTC 2011


Package: nagios-plugins
Severity: normal

$ /usr/lib/nagios/plugins/check_smtp --verbose -H ivanova.notwork.de 
HELOCMD: HELO scyh00167
220 ivanova.notwork.de ESMTP Exim 4.72 Sun, 02 Jan 2011 23:37:22 +0100
sent QUIT
received 221 ivanova.notwork.de closing connection

SMTP OK - 0.074 sec. response time, 221 ivanova.notwork.de closing
connection
|time=0.074478s;;;0.000000


This debugging output either suggests that no HELO is sent at all, or
HELO is sent without waiting for the initial 220 prompt.

Using strace or wireshark reveals that the plugin is actually talking
proper SMTP on the wire while giving incomplete debug output while
printing extra information that is not part of the actual SMTP dialog.

Greetings
Marc

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.36.2-zgsrv20080 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-nagios-devel mailing list