Hi Ryan,

 it works as designed :-) your new intervalls do not have proper samples in the 
RRD database, so the graphs are blown up from the day intervall.

 You need to tell "gmetad" to generate samples for the two and three hour 
intervalls. Something like this in "gmetad.conf" should do, although I am no 
specialist.

RRAs "RRA:AVERAGE:0.5:1:244" "RRA:AVERAGE:0.5:24:244" \ 
  "RRA:AVERAGE:0.5:2:244" "RRA:AVERAGE:0.5:3:244" \ 
  "RRA:AVERAGE:0.5:168:244" "RRA:AVERAGE:0.5:672:244" \
  "RRA:AVERAGE:0.5:5760:374"


 Warning: you need to remove (or move) your old  data first. Or you need some 
rrd-magic to add the new intervalls to the old database.

Cheers
Martin
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de


>
>From: 朱韬 <[email protected]>
>To: [email protected]
>Sent: Wed, December 29, 2010 8:36:38 AM
>Subject: [Ganglia-general] last-N-hours view
>
>Hi guys:
>       I enountered the problem that my job lasted for a few hours while 
> ganglia 
>do not support last-N-hours view. 
>
>
>So I tried to add to two view model to conf.php  as follows:
>$time_ranges = array(
>   'hour'=>3600,
>   'twohours'=>7200,
>   'threehours'=>10800,
>   'day'=>86400,
>   'week'=>604800,
>   'month'=>2419200,
>   'year'=>31449600
>);
>      But it does not work as it should be. The resultion of the modified 
> model 
>is much lower these orginal ones.
>Is there any other code to be modified?
>     Thank  you
>
>                                                                               
>                                    
> ryan zhu
>
>
>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to