Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 09:08:24 -0800 (PST)
From:      Michael Haro <mharo@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75061: nagios-plugins uses wrong ps arguments on FreBSD 5.3
Message-ID:  <200412141708.iBEH8Ot3010162@burrito.bitsurf.net>
Resent-Message-ID: <200412141710.iBEHASbs035294@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75061
>Category:       ports
>Synopsis:       nagios-plugins uses wrong ps arguments on FreBSD 5.3
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 14 17:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Haro
>Release:        FreeBSD 5.3-RELEASE-p1 i386
>Organization:
>Environment:


	
>Description:

check_procs appears to be using the wrong ps command.

>From make configure...

checking for ps... /bin/ps
checking for ps syntax... /bin/ps -weo 'stat uid ppid vsz rss pcpu comm args'

This impacts process reporting:

# ps -ax|wc -l
     132

# /usr/local/libexec/nagios/check_procs
PROCS OK: 11 processes

# ps | wc -l
      13

>How-To-Repeat:

cd /usr/ports/net-mgmt/nagios-plugins
make configure

# ident Makefile
Makefile:
     $FreeBSD: ports/net-mgmt/nagios-plugins/Makefile,v 1.36 2004/12/04 17:23:31 arved Exp $

>Fix:

Something in configure, but I'm not sure how to change it.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412141708.iBEH8Ot3010162>