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/
On Thu, Feb 16, 2006 at 02:37:27PM -0500, Greg Larkin wrote:
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.
Thanks :-)
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.
**** **** 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/
Try "CLIENT:patches" instead of CLIENTNAME. This is probably just one of those easy-to-make mistakes, but if in doubt I'd recommend double-checking your syntax in the config-files against the docs in the bb-hosts man page. Especially for bb-hosts, because you can put anything in there and Hobbit will just ignore it silently (this is on purpose, to allow for custom tests being configured through bb-hosts).
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.
No, the client messages aren't written anywhere - Hobbit keeps all of the changing status information in memory. The only place on disk you'll find some remnant of the information is in the ~hobbit/data/tmp/hobbitd.chk file; it is updated every 5 minutes and contains a snapshot of what hobbitd currently has in memory. It is used when Hobbit restarts, to provide an immediate full status until all of the statuses have been updated.
Regards, Henrik
Hi Henrik,
I was afraid of a fix like that - sorry for such a newbie problem!
Thanks very much, Greg
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, February 16, 2006 3:34 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Difficulty with CPU/disk/procs columns
On Thu, Feb 16, 2006 at 02:37:27PM -0500, Greg Larkin wrote:
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.
Thanks :-)
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.
**** **** 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/
Try "CLIENT:patches" instead of CLIENTNAME. This is probably just one of those easy-to-make mistakes, but if in doubt I'd recommend double-checking your syntax in the config-files against the docs in the bb-hosts man page. Especially for bb-hosts, because you can put anything in there and Hobbit will just ignore it silently (this is on purpose, to allow for custom tests being configured through bb-hosts).
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.
No, the client messages aren't written anywhere - Hobbit keeps all of the changing status information in memory. The only place on disk you'll find some remnant of the information is in the ~hobbit/data/tmp/hobbitd.chk file; it is updated every 5 minutes and contains a snapshot of what hobbitd currently has in memory. It is used when Hobbit restarts, to provide an immediate full status until all of the statuses have been updated.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
glarkin@sourcehosting.net
-
henrik@hswn.dk