[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 13:05:19 -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=vqcclcLQRjO+oguAj2Tq75qukOe5OJ7Bu5Y3i54varc=; b=iYl4xGAGtdZxIJBefHDXxDBcRiIvUiiZZ82SaDP4giEeHOOnPDjZ6YicfYcec+pWTfxj5lIbOfgb+sQUvvyYVHYBm10j/KE5PsjkGJnzv1dSElJwBINfpEbDeo1bvKAJSf0KJP4Zu6bMehdFb9RR50Knivz1sUrcpurHNzBQB8M=
- 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=XBxzO8sLU4UWHRMAkUIEEkj1YvrnsHvSTLoDMxzl/Ow1QhoEvyDADTFp0TINLUc1Hrd/ZPsEqx6/gcXzphbc9LJwOHLj/qdcWtjVUAgD8K2fHmJgCcSfR97qRro7ICXyA1BiEajyF6vtEwGvaYHmnmhgYcBFfskKVDw0piVOFws=
- 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>
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