I get a whole load of these all over the place once I upgraded to
3.0.3's web frontend:
Warning: Division by zero in /var/www/ganglia/functions.php on line 121
Warning: Division by zero in /var/www/ganglia/functions.php on line 121
Warning: Division by zero in /var/www/ganglia/functions.php on line 121
When I have a look at the php:
----
ganglia.irc.sara.nl:/var/www/ganglia
root# grep -n load_scale *
functions.php:119: global $load_scale;
functions.php:121: $scaled_load = $value / $load_scale;
functions.php:147: global $load_scale;
functions.php:149: $scaled_load = $value / $load_scale;
ganglia.irc.sara.nl:/var/www/ganglia
root#
----
This variable 'load_scale' never seems to be assigned. Is this value
supposed to be specified in conf.php or what is the idea here?
When I do a diff between 3.0.1 and 3.0.3 it seems this was added as a
minor change to load_image in functions.php, but i seems incomplete.
What is it meant for? I think there might be a little bug left here, or
am I the only one having this issue?
Cheers,
- Ramon.
--
ing. R. Bastiaans HPC - Systems Programmer
SARA - Computing and Networking Services
Kruislaan 415 PO Box 194613
1098 SJ Amsterdam 1090 GP Amsterdam
Tel. +31 (0) 20 592 3000 Fax. +31 (0) 20 668 3167
---
There are really only three types of people:
Those who make things happen, those who watch things happen
and those who say, "What happened?"