On Thu, Oct 15, 2009 at 09:45, Matt <[email protected]> wrote:
> Sorry, I meant the thresholds on when ganglia changes the colour i.e.
> Red - for a node in the Web Frontend.

That's a much different beast.

> I believe the thresholds you are talking about in the gmond.conf are
> only when to send a new value for a metric.

Correct.

The colors themselves are defined in web/conf.php as part of the
"$load_colors" array.  The default settings for this are defined as:

$load_colors = array(
   "100+" => "ff634f",
   "75-100" =>"ffa15e",
   "50-75" => "ffde5e",
   "25-50" => "caff98",
   "0-25" => "e2ecff",
   "down" => "515151"
);

The specific colors are chosen from this list via the load_color()
function in functions.php (around line 145, in trunk), which is called
from a few places, but notably around line 120 of cluster_view.php.
The value passed is a normalized one-minute load value (i.e. load_one
/ num_cpus), since a load of "4" on a single-core box is much
different from a load of "4" on an 8-core box.

There is also a "load_scale" value that can be set in conf.php.  This
value acts as global divisor for the values.  See load_color() in
functions.php for how it's used

-- 
Jesse Becker

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to