From 78b9a62257d3b13b82e087137c14b5574c45c781 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Tue, 25 Oct 2022 11:40:51 +0200 Subject: [PATCH] (plugin) os::linux::local - mode check-plugin fix perfdata parse regexp (#4015) --- centreon-plugins/os/linux/local/mode/checkplugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/os/linux/local/mode/checkplugin.pm b/centreon-plugins/os/linux/local/mode/checkplugin.pm index 4263b9aa5..438901cb1 100644 --- a/centreon-plugins/os/linux/local/mode/checkplugin.pm +++ b/centreon-plugins/os/linux/local/mode/checkplugin.pm @@ -102,7 +102,7 @@ sub check_options { sub parse_perfdatas { my ($self, %options) = @_; - while ($options{perfdatas} =~ /(.*?)=([0-9\.]+)([^0-9;]+?)?([0-9.@;]+?)?(?:\s+|\Z)/g) { + while ($options{perfdatas} =~ /(.*?)=([0-9\.]+)([^0-9;]+?)?([0-9.@;:]+?)?(?:\s+|\Z)/g) { my ($label, $value, $unit, $extra) = ($1, $2, $3, $4); $label = centreon::plugins::misc::trim($label); $label =~ s/^'//;