Public bug reported:
When columns=0 is selected (to get one line per host), a division by
zero error occurs and no graphs are returned.
--- /usr/share/ganglia-webfrontend/cluster_view.php.orig 2019-04-19
09:45:14.581175724 -0400
+++ /usr/share/ganglia-webfrontend/cluster_view.php 2019-04-19
09:47:25.507084333 -0400
@@ -348,7 +348,7 @@
}
} else {
$sorted_list[$host]["metric_image"] = $cell;
- if (! ($i++ % $conf['hostcols']) ) {
+ if ($conf['hostcols']==0 || ! ($i++ % $conf['hostcols']) ) {
$sorted_list[$host]["br"] = "</tr><tr>";
} else {
$sorted_list[$host]["br"] = "";
** Affects: ganglia-web (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825533
Title:
ganglia webfrontend 3.6.1 division by zero
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ganglia-web/+bug/1825533/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs