Your message dated Sat, 19 Feb 2005 15:47:17 -0500 with message-id <[EMAIL PROTECTED]> and subject line Bug#296003: fixed in nagios-plugins 1.4-2 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; 19 Feb 2005 16:34:13 +0000 >From [EMAIL PROTECTED] Sat Feb 19 08:34:13 2005 Return-path: <[EMAIL PROTECTED]> Received: from mail.lobefin.net [216.158.52.98] (Debian-exim) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1D2XYa-0002Pb-00; Sat, 19 Feb 2005 08:34:12 -0800 Received: from lobefin.net ([216.158.52.108] helo=gashuffer.lobefin.net) by mail.lobefin.net with asmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1D2XYL-0006Z6-Lf; Sat, 19 Feb 2005 11:33:57 -0500 Received: from steve by gashuffer.lobefin.net with local (Exim 4.44) id 1D2XYL-0003D4-62; Sat, 19 Feb 2005 11:33:57 -0500 Date: Sat, 19 Feb 2005 11:33:57 -0500 From: Stephen Gran <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: nagios-plugins: check_proc uses bad ps syntax Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline X-Reportbug-Version: 3.8 X-Editor: VIM - Vi IMproved 6.3 X-OS: Linux gashuffer 2.6.10-1-686-smp i686 X-Uptime: 20 days X-Latin: Hodie undecimo Kalendas Martias MMDCCLVIII ab urbe condita est X-Date: Today is Setting Orange, the 50th day of Chaos in the YOLD 3171 X-DDate: Only 2431191 Shopping Days Left Before X-Day. Hail Eris! X-Motto: debian/rules User-Agent: Mutt/1.5.6+20040907i X-Authenticated-Sender: steve X-Scanned-By: ClamAV at mail.lobefin.net Delivered-To: [EMAIL PROTECTED] 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: --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: nagios-plugins Version: 1.4-1 Severity: normal I see in my monitoring: localhost Total Processes WARNING 02-19-2005 11:13:39 0d 11h 48m 16s = 4/4 System call sent warnings to stderr=20 (sorry for the long line, that's cut-n-pasted from the web interface) This is because check_procs invokes ps as /bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args' This results in: steve:~$ /bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args' | head Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.h= tml STAT UID PPID VSZ RSS %CPU COMMAND COMMAND =2E.. The Warning line is printed to stderr, resulting in the warn message in the monitor. =20 A note in REQUIREMENTS says: If you have procps 3.1.15, you will need to run configure and then change the PS_COMMAND in config.h to remove the "-" from the ps command Presumably this is also an issue with procps 3.2.5. Since this is difficult to do in an autobuilt environment, I would suggest it's probably easier to patch configure.in, where the ps invocations are defined. Perhaps patching each line to send stderr to stdout, and then pipe to head -n1 to catch errors in the invocation? e.g.,=20 ps -axwo 'stat uid ppid vsz rss pcpu comm args' 2>&1 | head -n 1 |\ egrep .= =2E. (although 2>&1 may be a bashism, I forget) If you like, I will work out a patch for this, but as I don't remember seeing the problem before, I assume you had a fix that just didn't get forward ported or something. Please let me know if I can be of assistance, and thanks, -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686-smp Locale: LANG=3DC, LC_CTYPE=3Den_US.ISO-8859-15 (charmap=3DISO-8859-15) (ign= ored: LC_ALL set to en_US.ISO-8859-15) 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 packet= s to ii iputils-ping [ping] 3:20020927-2 Tools to test the reachability= of=20 ii libc6 2.3.2.ds1-20 GNU C Library: Shared librarie= s an ii libldap2 2.1.30-3 OpenLDAP libraries ii libmysqlclient12 4.0.23-7 mysql database client library ii libnet-snmp-perl 5.0.1-1 Script SNMP connections ii libpq3 7.4.7-2 PostgreSQL C client library ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii ntp 1:4.2.0a+stable-2 Network Time Protocol: network= uti ii ntp-simple 1:4.2.0a+stable-2 Network Time Protocol: daemon = for=20 ii ntpdate 1:4.2.0a+stable-2 The ntpdate client for setting= sys ii procps 1:3.2.5-1 /proc file system utilities ii qstat 2.7-1 Command-line tool for querying= qua ii radiusclient1 0.3.2-8 /bin/login replacement which u= ses=20 ii smbclient 3.0.10-1 a LanManager-like simple clien= t fo ii snmp 5.1.2-6 NET SNMP (Simple Network Manag= emen -- no debconf information --=20 ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCF2p0SYIMHOpZA44RAmx6AJsEB6YHwn+Wqbk4SJyEClUgoRjAgwCeMewK V4W7+OdsOQn4Lto37QGK0bQ= =QKtV -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- --------------------------------------- Received: (at 296003-close) by bugs.debian.org; 19 Feb 2005 20:53:07 +0000 >From [EMAIL PROTECTED] Sat Feb 19 12:53:07 2005 Return-path: <[EMAIL PROTECTED]> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1D2bb8-0000O9-00; Sat, 19 Feb 2005 12:53:06 -0800 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1D2bVV-0006eC-00; Sat, 19 Feb 2005 15:47:17 -0500 From: Guido Trotter <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.55 $ Subject: Bug#296003: fixed in nagios-plugins 1.4-2 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Sat, 19 Feb 2005 15:47:17 -0500 Delivered-To: [EMAIL PROTECTED] 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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: X-CrossAssassin-Score: 3 Source: nagios-plugins Source-Version: 1.4-2 We believe that the bug you reported is fixed in the latest version of nagios-plugins, which is due to be installed in the Debian FTP archive: nagios-plugins_1.4-2.diff.gz to pool/main/n/nagios-plugins/nagios-plugins_1.4-2.diff.gz nagios-plugins_1.4-2.dsc to pool/main/n/nagios-plugins/nagios-plugins_1.4-2.dsc nagios-plugins_1.4-2_i386.deb to pool/main/n/nagios-plugins/nagios-plugins_1.4-2_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Guido Trotter <[EMAIL PROTECTED]> (supplier of updated nagios-plugins package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sat, 19 Feb 2005 19:37:38 +0000 Source: nagios-plugins Binary: nagios-plugins Architecture: source i386 Version: 1.4-2 Distribution: unstable Urgency: low Maintainer: Guido Trotter <[EMAIL PROTECTED]> Changed-By: Guido Trotter <[EMAIL PROTECTED]> Description: nagios-plugins - Plugins for the nagios network monitoring and management system Closes: 291224 295917 296003 Changes: nagios-plugins (1.4-2) unstable; urgency=low . * Add information about update-nagios needed after re-configuration (Shouldn't nagios document this? anyway...) (closes: #291224) * Use --ssl in check_https (closes: #295917) * Fix ps syntax (closes: #296003) Files: 4a00609dfb8200efdd9a3472dbf81c21 869 net extra nagios-plugins_1.4-2.dsc 70048765be305229d6dda0f17999dab3 19302 net extra nagios-plugins_1.4-2.diff.gz 6b90170681dda455618b0fe82d784e59 352950 net extra nagios-plugins_1.4-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCF6BOhImxTYgHUpsRAh3uAJ4tk0aKtPMFX/bCGWjSLTEQIN2FDgCfWO2U ITrmQUspZTkJNK/6Sik+yVU= =jouX -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]