<br><font size=2 face="sans-serif">No. I export the data from our inventory
and simply regenerate the bbhosts files. So old hosts simply are missing
in the new bbhosts files. So I don't know which hosts were deleted. Therefore
I would need to store the old export file and compare it to the new one
to find the differences and use the "drop host" command. I find
that very complicated. </font><br><br><font size=2 face="sans-serif">Such a cleanup utility would also be
helpful if one edits the bbhosts by hand and forgets to drop a host he
has deleted.</font><br><br><font size=2 face="sans-serif">I just started to write a shellscript
which scans the rrd directory and tries to find the host in the bbhost
files. But is complicated to follow all the includes. I thought bbhostgrep
is the answer but it only can find a test, not a host.</font><br><br><font size=2 face="sans-serif">Any ideas</font><br><font size=2 face="sans-serif">Thorsten</font><br><br><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>greg.hubbard@eds.com</b></font><p><font size=1 face="sans-serif">25.02.2009 16:01</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Bitte antworten an<br>hobbit@hswn.dk</font></div></table><br><td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">An</font></div><td><font size=1 face="sans-serif">hobbit@hswn.dk</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">Kopie</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Thema</font></div><td><font size=1 face="sans-serif">RE: [hobbit] Howto delete abandoned
datafiles</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><br><font size=2 color=blue face="Verdana">Are you using the "drop
host" function in the "bb" command?</font><br><br><hr><font size=2 face="Tahoma"><b>From:</b> thorsten.erdmann@daimler.com
[mailto:thorsten.erdmann@daimler.com] <b><br>Sent:</b> Wednesday, February 25, 2009 8:54 AM<b><br>To:</b> hobbit@hswn.dk<b><br>Subject:</b> [hobbit] Howto delete abandoned datafiles</font><font size=3><br></font><br><font size=2 face="sans-serif"><br>Hi</font><font size=3><br></font><font size=2 face="sans-serif"><br>I have written a script which generates several hobbit bbhosts include
files automaticly from our inventory system. Now I have a problem when
a host has been deinstalled.<br>I delete the entry from the hobbit config but the old datafiles (rrd and
so on) keep there forever.</font><font size=3><br></font><font size=2 face="sans-serif"><br>Is there a tool to scan the complete hobbit bbhost hierarchy and delete
all data which are not longer needed?</font><font size=3><br></font><font size=2 face="sans-serif"><br>Thank you</font><font size=3><br></font><font size=2 face="sans-serif"><br>Thorsten Erdmann</font><font size=2 color=#808080 face="sans-serif"><br><br>If you are not the intended addressee, please inform us immediately that
you have received this e-mail in error, and delete it. We thank you for
your cooperation. <br></font><br><font face="sans-serif"><font face="sans-serif, Arial, Helvetica" size="-1" color="#808080"><br>If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
<br></br> 
                                                                          
</font></font>