[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbit-clients.cfg not working?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbit-clients.cfg not working?
- From: "Stefan van der Walt" <skjoldar (at) gmail.com>
- Date: Tue, 30 Oct 2007 14:06:30 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=qrb0kAlxv2VacFTuU7crKGJFq5R4sKloUzJS72dnnLo=; b=PEc/mLWkWKQTpG11gkphzEix7lscjYCyuoLJTa0XcWZWZRhxSXEhkI7jUe1jqE6fLZopSBhMAfqNWb+FEkEytRcdJDAyE4PQnHWrvgt0eynhhJ3Q+KLaFkySD7iQfhq68azKhLm5RtaR2/e+y1Qrsgr6L6qR0PtU5WA1HuL0GDc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IJG6ARXApY1Fm40rMvrRAVGFAahadVdHDafhTwpfzSUKGnJdbDBFIU9jeYwTDZm61y+1lZb4rp0mUpeUTdKynG0a0194myZD/7Cvc8KIYhdpOpE5h3TY7Krq4/st9oitQzOJOt0IPJJF1KILDHURsGrhBZ/hPI6b7eWcxd/0jew=
- References: <c72ed9370710240518v4fc73112x59c095c6ed95c2a0 (at) mail.gmail.com> <20071030114416.GA7149 (at) hswn.dk> <c72ed9370710300500s4bc13df9me912d3d1948eebc (at) mail.gmail.com>
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 <skjoldar (at) gmail.com> 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 < henrik (at) hswn.dk> 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
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
>