diff --git a/modules/monitoring/application/views/helpers/Perfdata.php b/modules/monitoring/application/views/helpers/Perfdata.php index 68b9b1e9e..1d5224f1f 100644 --- a/modules/monitoring/application/views/helpers/Perfdata.php +++ b/modules/monitoring/application/views/helpers/Perfdata.php @@ -15,7 +15,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract $table = array(); $pset = array_slice(PerfdataSet::fromString($perfdataStr)->asArray(), 0, ($compact ? 5 : null)); foreach ($pset as $perfdata) { - if (!$perfdata->isPercentage() && $perfdata->getMaximumValue() === null) { + if ($perfdata->getPercentage() == 0) { continue; } $pieChart = $this->createInlinePie($perfdata);