[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] ghostlist
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] ghostlist
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Mon, 19 May 2008 15:56:47 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=MsRiOxvfIU9ya/DXUg8qAJ728CIHfMrX+HtHNy+QOm0=; b=LJ32vjWjSJKq+Za9YsPsgjMzUtYR1ZCDRzrVVOD1xx45eaq/iS3cLIwLQB3wp62u+ec5Qx9S8vXqwDFe6vJ+4aiCwfBTsQmOd4PIYnkNbRKlBq1VDYVoQH9rpVcWRZYhFtBPctYuHTV2JrxcewyQIkg+/+txJfUqQ7tX+5m2bjA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=r8rtHSDfYnzYZXu2BmVB369HFUovbn5AeslYOzShLEoUnwN2mpKX8+LgELT4+MM5qfHFmUe22AakKftnvHEeOB2GpITVPIrR+Rl5FLkLhK9AE4EATa9BX4aLU35Bq+79Oo7cuBfUBfjrgT/naaJcet/TycMTKaspXgXIIZAdPkc=
- References: <258e9b160805190653s6aff1093gd3f71cb526eb1311 (at) mail.gmail.com> <3343.141.104.15.147.1211210607.squirrel (at) epperson.homelinux.net> <258e9b160805190917o51bb1537p5c68b8344f8ffb32 (at) mail.gmail.com> <997a524e0805190957g60ef2654m33175ffd07cdc938 (at) mail.gmail.com> <58EF0861D3A1A04182720B3A5231C7C202B91CC4 (at) usplm205.amer.corp.eds.com> <961092e10805191048m7a41c0edg504fe4cbb6b21d53 (at) mail.gmail.com> <997a524e0805191105l1ef1296etfdceb7e58c148599 (at) mail.gmail.com>
On Mon, May 19, 2008 at 1:05 PM, Ralph Mitchell <ralphmitchell (at) gmail.com>
wrote:
>
>
> On Mon, May 19, 2008 at 12:48 PM, Josh Luthman <
> josh (at) imaginenetworksllc.com> wrote:
>
>> I believe a "ghost" is where there is data/history for a host but it is
>> not listed on bb-hosts.
>>
>>
>> On Mon, May 19, 2008 at 1:44 PM, Hubbard, Greg L <greg.hubbard (at) eds.com>
>> wrote:
>>
>>> I thought "ghosts" were clients that send in data, but their name is
>>> not a match in the bb-hosts file. If you decide to get rid of a client, you
>>> have to a) update bb-hosts to suspend polling, and b) update the client so
>>> either the agent does not run, or so that it sends its data elsewhere.
>>>
>>
>
> In my case. I was fooling around with the bb-stocks.sh script from
> deadcat.net, running it from hobbitlaunch.cfg on the server. It sends
> reports where the hostname is the ticker symbol (e.g. IBM, MSFT, etc) and
> the column name is "stock". I let it run for a while, then marked the entry
> in hobbitlaunch as DISABLED and dropped the stock names.
>
> This morning, while reading this email thread, I went back to the script
> and inserted "exit" right at the top, so it shouldn't be possible for the
> script to produce a report, even if it gets launched.
>
> The ticker symbols do *not* show up in the hobbitdboard output. They
> *were* in the data/hist/allevents file, but
>
> trimhistory --cutoff=`date +%s --date="19 May 2008"` --drop
>
> took care of that. I've confirmed via grep that the names do not appear in
> any file in the Hobbit directory hierarchy.
>
> I *do* still see the ticker symbols in "bb localhost ghostlist", but they
> don't appear in the Ghost Clients web page.
>
> Maybe I'm missing something obvious. Here's a quick test if you're
> interested in replicating the problem:
>
> server/bin/bb localhost "status server,domain,com.bogus green `date`"
> server/bin/bb localhost hobbitdboard | grep server
> server/bin/bb localhost ghostlist | grep server
>
> server.domain.com should not ever have existed in your bb-hosts file. It
> will show up in the Ghost Clients web page for 5 minutes. 45 minutes after
> doing the above, it's still showing in "bb localhost ghostlist".
>
> Ralph Mitchell
>
>
Replying to myself with an update for any interested parties: "bb localhost
ghostlist" is still showing:
server.domain.com|127.0.0.1|1211218983
3 hours after sending that status report just one time, manually. The big
number after the IP address translates to the date/time the report was
sent, "Mon May 19 12:43:03 2008".
Maybe this is a bug in the ghost handling procedures??
Ralph Mitchell