ports/75061: nagios-plugins uses wrong ps arguments on FreBSD 5.3

Michael Haro mharo at FreeBSD.org
Tue Dec 14 17:10:29 UTC 2004


>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:



More information about the freebsd-ports-bugs mailing list