From 9e3d65e4e99d4343ea97145046ff0cefad4cc2a5 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 12 May 2015 17:44:53 +0200 Subject: [PATCH] Display performance data metrics with value 0 fixes #8744 --- modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php b/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php index 269107c82..d503bc19f 100644 --- a/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php +++ b/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php @@ -83,7 +83,7 @@ class PerfdataSet implements IteratorAggregate $label = trim($this->readLabel()); $value = trim($this->readUntil(' ')); - if ($label && $value) { + if ($label) { $this->perfdata[] = new Perfdata($label, $value); } }