[Pkg-nagios-devel] Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

Soren Stoutner sorens at h3solution.com
Mon May 11 19:21:43 UTC 2009


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


The command_line in the nt.cfg that ships with the package reads:

command_line    /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$'

It should read:

command_line    /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v $ARG1$ $ARG2$

The port (-p) needs to be explicitely stated or the commands will fail.  The second argument need to be listed ($ARG2$) or checks with two sets of 
arguments will fail (like MEMUSE).  The arguments can't be enclosed in ' or some checks with longs argument lists will fail (for example, 
USEDDISKSPACE).

This follows the instructions given in the online documentation at http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages nagios-plugins-standard depends on:
ii  bind9-host [host]      1:9.5.1.dfsg.P2-1 Version of 'host' bundled with BIN
ii  dnsutils               1:9.5.1.dfsg.P2-1 Clients provided with BIND
ii  fping                  2.4b2-to-ipv6-16  sends ICMP ECHO_REQUEST packets to
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libldap-2.4-2          2.4.11-1          OpenLDAP libraries
ii  libmysqlclient15off    5.0.51a-24        MySQL database client library
ii  libnet-snmp-perl       5.2.0-1           Script SNMP connections
ii  libpq5                 8.3.7-1           PostgreSQL C client library
ii  libradiusclient-ng2    0.5.6-1           Enhanced RADIUS client library
ii  nagios-plugins-basic   1.4.12-5          Plugins for the nagios network mon
ii  qstat                  2.11-1            Command-line tool for querying qua
ii  radiusclient1          0.3.2-11.1        /bin/login replacement which uses 
ii  smbclient              2:3.3.3-1         command-line SMB/CIFS clients for 
ii  snmp                   5.4.1~dfsg-12     SNMP (Simple Network Management Pr
ii  ucf                    3.0018            Update Configuration File: preserv

nagios-plugins-standard recommends no packages.

Versions of packages nagios-plugins-standard suggests:
ii  nagios3                       3.0.6-3    A host/service/network monitoring 
ii  whois                         4.7.33     an intelligent whois client

-- no debconf information





More information about the Pkg-nagios-devel mailing list