Xymon Mailing List Archive search

hobbit-clients.cfg not working?

list Stefan van der Walt
Tue, 30 Oct 2007 14:06:30 +0200
Message-Id: <user-720a8fe6955b@xymon.invalid>

strace ./bbcmd hobbitd_client --test

<snip>
write(1, "Filesystem: ", 12Filesystem: )            = 12
read(0, /data2
"/data2\n", 1024)               = 7
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 5852 detached
<snip>

I saw when I changed the defaults for disk only the server actually changed
and accepted the new values


On 30/10/2007, Stefan van der Walt <user-651f11aa7267@xymon.invalid> wrote:
The client is running on cypher, but there is no client data link.

The server and client are all clean installs/compiles of hobbit 4.2.0


DISK /dev/vg03/lvol2 99% 100% 0 -1 red HOST=cypher (line: 350)
DISK /data3 99% 100% 0 -1 red HOST=cypher (line: 351)
DISK /data4 99% 100% 0 -1 red HOST=cypher (line: 352)
MEMSWAP 60 80 HOST=cypher (line: 353)
MEMSWAP 60 80 HOST=brown,crusher (line: 356)
DISK /data3 99% 100% 0 -1 red HOST=bones (line: 359)
UP 3600 -1 (line: 363)
LOAD 5.00 10.00 (line: 364)
DISK * 90% 95% 0 -1 red (line: 365)
MEMREAL 100 101 (line: 366)
MEMSWAP 50 80 (line: 367)
MEMACT 90 97 (line: 368)

Hostname (.=end, ?=dump, !=reload) [?]: cypher
Hosttype []:
Test (cpu, mem, disk, proc, log, port): disk
Filesystem: /data2
Segmentation fault

Eek..


On 30/10/2007, Henrik Stoerner < user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, Oct 24, 2007 at 02:18:19PM +0200, Stefan van der Walt wrote:
Server has disk with oracle data store, is always on 99%
and swap (this is normal for these hosts is always between 50 and 60

modified hobbit-clients.cfg to say

HOST=cypher
       DISK    /data2 IGNORE
       DISK    /data3 IGNORE
       DISK    /data4 IGNORE

HOST=brown,crusher,cypher
       MEMSWAP 60 80
First, you ARE running the Hobbit client on cypher, right?

If you're using the original Big Brother client, then the client
configuration is stored on the client, and modifying the
hobbit-clients.cfg file on the Hobbit server has no effect.

If you're using the Hobbit client, then your "disk" status column must
have a "Client data" link near the bottom of the webpage, right above
the disk graph.

Could you try dumping the hobbit-clients.cfg file so we can have a look
at how it is parsed ? Run the command "bbcmd hobbitd_client --test" and
at the prompt enter a '?':

$ bbcmd hobbitd_client --test
2007-10-30 12:39:28 Using default environment file
/usr/lib/hobbit/server/etc/hobbitserver.cfg
Hostname (.=end, ?=dump, !=reload) []: ?
DISK / 50% 60% 0 -1 red HOST=redhat (line: 350)
DISK / 70% 80% 0 -1 red HOST=mail (line: 353)
UP 3600 -1 (line: 357)
LOAD 5.00 10.00 (line: 358)
DISK / 85% 90% 0 -1 red (line: 359)
DISK *IGNORE (line: 360)
MEMREAL 100 101 (line: 361)
MEMSWAP 50 80 (line: 362)
MEMACT 90 97 (line: 363)

After that, try the specific test for cypher:

Hostname (.=end, ?=dump, !=reload) []: cypher
Hosttype []:
Test (cpu, mem, disk, proc, log, port): disk
Filesystem: /data2
Yellow at 50%, red at 60%


Regards,
Henrik