On 1/28/14 6:21 AM, Sergio Ballestrero wrote:
> Hello Adrian,
>
> On 25 Jan 2014, at 21:34, Adrian Sevcenco <[email protected]> wrote:
>> On 01/25/2014 09:37 PM, Sergio Ballestrero wrote:
>>> Hello Adrian, if the host for which you send gmetrics is not a gmond
>>> "client", you need to also spoof a "heartbeat" metric, else the
>>> collector will think the host is down :
>> yeah, i already banged my head on the wall for this...
>> the things is that i dont know how fust this heartbeat is .. i imagine
>> that either i should send gmetrics faster than this heartbeat or
>> increase the time between heartbeats (at this moment it is not clear to
>> me how this is related to dmax and tmax ... )
>> is dmax the time-width of the metric value and tmax the heartbeat?
>> so the cronjob should have an size <= then tmax?
> This is still quite confusing to me too and I have not investigated much. I 
> thought an interval less than dmax would keep the host alive, but with 
> dmax=600 and a period of 300s, I sometimes found the hosts "down" for 
> Ganglia. With 60s period, all seems ok, so where important I'm using 60s for 
> now. Never found time to dig in the actual code, so if you figure it out 
> better, I'd like to know it too.

The gmond "globals" configuration option "host_tmax" controls how long a 
host can go without a heartbeat before being seen as "down"; it's set to 
20 by default, but the value in the config file gets multiplied by 4, so 
the default timeout is actually 80 seconds.

http://manpages.ubuntu.com/manpages/raring/man5/gmond.conf.5.html#contenttoc2

- Adam


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to