Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-25 Thread Matt Massie
leif- you're right in that gmetad currently just get the name from xml NAME tag. gmetad doesn't do dns hostname lookups. the problem with dns is further down stream. say i'm monitoring hundreds of clusters all over the world. the gmond that i'm fulling the data from use dns to resolve the ip t

Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-25 Thread Leif Nixon
Matt Massie <[EMAIL PROTECTED]> writes: > gmetad saves a dbm(or xml) with the hostname/ip tuples. these files > persist on disk even though gmetad is stopped/started. if there is a > mismatch with previous tuples then gmetad will merge/move database files > to deal with the changes. > > having t

Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-24 Thread Lester Vecsey
I know what you mean about the data forking as it relates to the hostname and IP address, an example is where a set of gmonds are running and only a pair of them have tcp port 8649 listening, and one of them has a custom hosts file or certain knowledge of ip to hostname mapping that differs from th

Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-24 Thread Brooks Davis
On Tue, Feb 24, 2004 at 12:10:35PM -0800, Matt Massie wrote: > if we simply key on ip address, it would cause other problems. when you > remap ip/hostname pairs in a network overhaul.. it's very possible to > have ip gets swapped (not just changed for a single host). in that case > the data forks

Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-24 Thread Matt Massie
the real problem here is not that data will be lost if the ip/hostname pair changes. the real problem is that the data forks to two different places. gmetad is currently not smart enough to know that a fork occurred. i don't see a simple way to make it smart. here's one way... gmetad saves a d

Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-24 Thread Brooks Davis
On Tue, Feb 24, 2004 at 09:06:10AM +0100, Leif Nixon wrote: > Brooks Davis <[EMAIL PROTECTED]> writes: > > > Since this will require a conversion script anyway, would it be > > possiable to move away from using hostnames in the data store entierly? > > It has the weird effect that if you don't hav

Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-24 Thread Leif Nixon
Brooks Davis <[EMAIL PROTECTED]> writes: > Since this will require a conversion script anyway, would it be > possiable to move away from using hostnames in the data store entierly? > It has the weird effect that if you don't have a hosts entry in > place the first time the host comes on, it gets s

Re: [Ganglia-developers] 2.5.7 DNS fix

2004-02-23 Thread Brooks Davis
On Fri, Feb 20, 2004 at 01:17:51PM -0800, Matt Massie wrote: > guys- > > i just updated the CVS and uploaded a new tarball to > http://matt-massie.com/ganglia/ > > i fixed the RRD case-sensitivity problem by forcing the RRD paths to be > lower-case in both gmetad and the web frontend. this chang

[Ganglia-developers] 2.5.7 DNS fix

2004-02-20 Thread Matt Massie
guys- i just updated the CVS and uploaded a new tarball to http://matt-massie.com/ganglia/ i fixed the RRD case-sensitivity problem by forcing the RRD paths to be lower-case in both gmetad and the web frontend. this change doesn't effect how the data is displayed. for example, if DNS alternatel