FreeBSD 6.1 and PS and COMMAND

Dave Overton dave at syix.com
Wed Jun 21 20:57:56 CEST 2006


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

dave at syix.com
(530) 755-1751 x101
Fax (530) 751-8871
800-988-SYIX 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060621/0acb8d00/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yellow.gif
Type: image/gif
Size: 2598 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060621/0acb8d00/attachment.gif>


More information about the Xymon mailing list