On Fri, 6 Dec 2002, Steven Wagner wrote:
> 2.5.1 should support the concept of DMAX for individual metrics. I think
> that extends to hosts, as well. Basically it's metric aging - if a metric
> hasn't been transmitted for X seconds, take it off the list. It's designed
> exactly for this type of thing - getting rid of hosts that have been dead a
> long time. It doesn't delete RRDs, though (I think ... Fed can overrule me
> on that one).
Ah yes, I see the parameter that you're talking about. Unfortunately, I
can now find (at line 87 in gmond/listen.c):
/* Hosts are never deleted for now. */
data.dmax = 0;
So I guess that answers that question! DMAX is zero for all hosts and all
metrics in my XML feed. I notice gmetric has an undocumented switch for
specifying DMAX, but I'm not yet using gmetric.
Can anybody comment on the status of DMAX support (why it's like it is,
whether that can safely be changed, or whether anybody is working on it
just now)?
> Funny thing, in my experience you only need to kill the monitoring cores
> that your metadaemon polls.
Ah yes, thank you very much. Restarting the gmonds that I'm polling,
_and_ restarting gmetad itself, is sufficient to make the ex-nodes go
away.
Phil