Xymon Mailing List Archive search

FreeBSD 6.1 and PS and COMMAND

list Dave Overton
Wed, 21 Jun 2006 11:57:56 -0700
Message-Id: <00b901c69564$9b9b6b00$user-77349d5d7986@xymon.invalid>

I am running FreeBSD 6.1 Release, Hobbit with the patches on the website
today, and a bit frustrated.
 
In hobbit-clients.cfg I have added the following lines:
 
HOST=mail02.syix.com
        PROC cron 1 -1 yellow
        PROC httpd 2 -1 red
        PROC radiusd 1 -1 red
        PROC named 1 -1 red
 
In the Hobbit Display, and in my pages on my phone, I get for that server:
 
Expected string COMMAND not found in ps output header
 
and on the display, the "COMMAND" column is not there...
 
It looks like this:
 

Wed Jun 21 11:51:47 PDT 2006 - Processes NOT ok

 yellow <http://puma.syix.com/hobbit/gifs/yellow.gif>;  Expected string
COMMAND not found in ps output header


  PID  PPID USER    STARTED STAT PRI %CPU      TIME %MEM  RSS   VSZ

    0     0 root    31Aug05 DLs  -18  0.0   0:04.46  0.0    0     0

    1     0 root    31Aug05 SLs   10  0.0   0:01.30  0.1   72   544

    2     0 root    31Aug05 DL    10  0.0   0:00.00  0.0    0     0

    3     0 root    31Aug05 DL    10  0.0   0:04.90  0.0    0     0

    4     0 root    31Aug05 DL    10  0.0   0:00.00  0.0    0     0
(which is probably broken on your screen, but there is no "COMMAND" column)
 
So, I go looking...  Can't find where PS is told to do this!!!  Argh.  A bit
of guidance, like what file tells PS to read those columns?  and why does it
hate the COMMAND column?
 
Help?


Dave Overton, Owner
SYIX.COM

user-4179705f9dca@xymon.invalid
(XXX) XXX-XXXX x101
Fax (XXX) XXX-XXXX
800-988-SYIX