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. 

>> PS if it's an APC, see the attachment, courtesy of a work colleague.
> yes, it is APC. Thanks for the script! ( a lot more organized than mine:) )
> 
> but i would have a few questions:
> 1. given tmax of 600 , do you have the cron job at 600 seconds?
300s 

> 2. the T is used to see if the ups is down i imagine.. but why are you
> interested in collecting the ping time?
> (i chosen to ignore failed devices with -r 1 -t 0.5; also given the
> delay of snmpget i take all the list of vars with a single snmpget,
> redirect in a file and format the variables from the file)
just because I have the info - and it can indicate network congestion 
sometimes. 

Cheers,
  Sergio
------------------------------------------------------------------------------
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