[Pkg-nagios-devel] Bug#351847: nagios-plugins: check_imap / check_simap help is incorrect

Chris Adams cadams at salk.edu
Tue Feb 7 21:54:44 UTC 2006


Package: nagios-plugins
Version: 1.4-6
Severity: normal

check_imap and check_simap will print usage options with --help which
include the following:

 -w, --warning=DOUBLE
    Response time to result in warning status (seconds)
 -c, --critical=DOUBLE
    Response time to result in critical status (seconds)

If you actually try to use the long options it will print an error:
/usr/lib/nagios/plugins/check_imap: option `--warning=1' is ambiguous

If you attempt to use a floating-point number you will receive the following error:
check_imap: Warning threshold must be a positive integer

While correcting the help would be the fastest way to correct this I would
strongly recommend correcting the type if possible since the average response
time for our services is around .05 seconds and I'd like to have a record if it
goes significantly higher.

-- System Information:
Debian Release: 3.1
Architecture: i386 (x86_64)
Kernel: Linux 2.6.8-11-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-plugins depends on:
ii  bind9-host [host 1:9.2.4-1               Version of 'host' bundled with BIN
ii  dnsutils         1:9.2.4-1               Clients provided with BIND
ii  fping            2.4b2-to-ipv6-10        sends ICMP ECHO_REQUEST packets to
ii  iputils-ping     3:20020927-2            Tools to test the reachability of 
ii  libc6            2.3.2.ds1-22            GNU C Library: Shared libraries an
ii  libldap2         2.1.30-8                OpenLDAP libraries
ii  libmysqlclient12 4.0.24-10sarge1         mysql database client library
ii  libnet-snmp-perl 5.0.1-1                 Script SNMP connections
ii  libpq3           7.4.7-6sarge1           PostgreSQL C client library
ii  libssl0.9.7      0.9.7e-3sarge1          SSL shared libraries
ii  ntp              1:4.2.0a+stable-2sarge1 Network Time Protocol: network uti
ii  ntp-simple       1:4.2.0a+stable-2sarge1 Network Time Protocol: daemon for 
ii  ntpdate          1:4.2.0a+stable-2sarge1 The ntpdate client for setting sys
ii  procps           1:3.2.1-2               The /proc file system utilities
ii  qstat            2.8-1                   Command-line tool for querying qua
ii  radiusclient1    0.3.2-8                 /bin/login replacement which uses 
ii  smbclient        3.0.14a-3sarge1         a LanManager-like simple client fo
ii  snmp             5.1.2-6.2               NET SNMP (Simple Network Managemen

-- no debconf information




More information about the Pkg-nagios-devel mailing list