[Pkg-nagios-devel] Bug#525307: check_smtp: invalid option -- n

Vladislav Kurz vladki at mzk.cz
Thu Apr 23 15:05:19 UTC 2009

Package: nagios-plugins-basic
Version: 1.4.12-5
Severity: normal


check_smtp plugin does not implement option -n

 -n, nocommand
    Suppress SMTP command

I monitor a SMTP server that refuses the connection immediately,
without waiting for HELO. Before upgrade to lenny I used this command:

/usr/lib/nagios/plugins/check_smtp -H novell.vkol.cz -e 520

and it was OK.
Now I get error: recv() failed
and status is WARNING. I thought -n would help to get rid of this recv() errror,
but it seems broken.

Vladislav Kurz

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios-plugins-basic depends on:
ii  iputils-ping            3:20071127-1     Tools to test the reachability of 
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libssl0.9.8             0.9.8g-15+lenny1 SSL shared libraries
ii  procps                  1:3.2.7-11       /proc file system utilities
ii  ucf                     3.0016           Update Configuration File: preserv

nagios-plugins-basic recommends no packages.

Versions of packages nagios-plugins-basic suggests:
pn  nagios3                       <none>     (no description available)

-- no debconf information

More information about the Pkg-nagios-devel mailing list