[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] unknown host question




i'm re-sending this again, i think my first mail got cut...


-----

ok, thank you for the explaination, i have a better picture of this.
but, im still puzzled with with a certain scenario :
i have several bb-hosts files,
and once, one guy (who didnt know how to use vi) emptied the bb-hosts file without realizing..


that why i need of way to be alert of what hosts are disappearing from bb-host
so i'll write a script to compare histlog and bb-hosts (thank you for the tip)



Olivier



Le 31 juil. 05 à 10:04, Henrik Stoerner a écrit :


On Wed, Jul 27, 2005 at 02:19:54PM +0200, Olivier Beau wrote:


when i comment an entry in my bb-hosts file,
the host disappears from the display, which is normal.

i haven't done a "drop hostname" yet,
and , i don't see any "unknown host" in my log files..



Hobbit does notice when you remove hosts from bb-hosts, and will automatically forget about hosts that disappear from bb-hosts. The "drop" command is only to clean up the files stored on disk (history logs and RRD files).



this brings me to the question : if someone deletes hosts in the bb-hosts file,
how do i know which hosts to "drop" ?




I think it should be the other way around: When someone deletes hosts from your bb-hosts file, they should know to do a "drop" command also.

It doesn't do much harm if you don't do the "drop" command.
Hobbit will simply ignore hosts that are not in the bb-hosts
file, so they only take up a bit of space.

If you must know what "orphan" hosts you have lying around,
compare the list of hostnames from your bb-hosts file with the
directory names in ~hobbit/data/histlogs/


Henrik


To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk