Difficulty with CPU/disk/procs columns

Greg Larkin glarkin at sourcehosting.net
Thu Feb 16 20:37:27 CET 2006


Hi there,

First of all, let me say - Hobbit is great!  I set aside some hours
yesterday to get things set up, and it's working really well.

Here's my setup:

Hobbit version 4.1.2p1

BBDISPLAY/BBNET/BBPAGER: Mac OS X 10.3.9 machine
    Hostname: Gregory-Larkins-Computer.local

Client: RedHat 9 (2.4.20-31.9.progeny.8 i686 i686 i386 GNU/Linux)
    Hostname: patches

The one problem I'm having is that I can't get the CPU/disk/procs columns to
display for the client I'm monitoring.  I double- and triple-checked by
bb-hosts, hobbit-clients.cfg, firewall, etc.  So far, everything looks good,
but there must be a problem somewhere. I've followed the advice here
(http://hobbitmon.sourceforge.net/docs/hobbit-tips.html#noclient), but I
haven't fixed the problem yet.

Here are the relevant parts of my config files:

**** **** bb-hosts **** ****
192.168.1.240 Gregory-Larkins-Computer.local # BBDISPLAY BBPAGER BBNET bbd
http://localhost/ ssh smtp ftp

204.8.45.68 www.sourcehosting.net # CLIENTNAME:patches
http://www.sourcehosting.net/
**** **** ******** **** ****

**** **** hobbit-clients.cfg **** ****
HOST=Gregory-Larkins-Computer.local
        PROC    named 1 1
        PROC    /usr/local/sbin/dyndnsd 1 1
        PROC    ntpd 1 1
 
HOST=patches
        LOAD    3.0 5.0

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97
**** **** ****************** **** ****

I've checked that messages are getting through the firewall around the
BBDISPLAY machine by running strace on the client machine.  I also checked
the msg.txt file on the client to make sure that the client name is correct:

*** *** *** ***
[hobbit at patches tmp]$ head -5 msg.txt 
client patches.linux
[date]
Thu Feb 16 14:26:26 EST 2006
[uname]
Linux patches 2.4.20-31.9.progeny.8 #1 Thu Jun 9 22:44:19 EDT 2005 i686 i686
i386 GNU/Linux
*** *** *** ***

The client name looks OK to me, and the messages are getting through the
firewall as far as I know.

I ran ktrace on the Mac OS X machine to make sure that the client messages
are received, and it looks like they are, but what file should the msg.txt
data be written to?  I've looked in the data subdirectory, but haven't found
it yet.  I would guess that's related to my problem.

What other things should I do to troubleshoot this problem?

Thanks very much for a great tool,
Greg

SourceHosting.net, LLC
Ready. Set. Code.
http://www.sourcehosting.net/






More information about the Xymon mailing list