From 04e64cdcbfc598c16f11a9a871cae74aeb296829 Mon Sep 17 00:00:00 2001 From: Thibault S <48209914+thibaults-centreon@users.noreply.github.com> Date: Fri, 24 Sep 2021 12:58:07 +0200 Subject: [PATCH] help(muleosft): wrong threshold syntax (#3139) --- apps/mulesoft/restapi/mode/applications.pm | 2 +- apps/mulesoft/restapi/mode/clusters.pm | 2 +- apps/mulesoft/restapi/mode/servers.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/mulesoft/restapi/mode/applications.pm b/apps/mulesoft/restapi/mode/applications.pm index 2690bd1c8..51370258b 100644 --- a/apps/mulesoft/restapi/mode/applications.pm +++ b/apps/mulesoft/restapi/mode/applications.pm @@ -175,7 +175,7 @@ Typical syntax: --warning-status='%{status} ne "STARTED"' Set warning threshold for status (Default: ''). Threshold can be matched on %{name}, %{id} or %{status} and Regexp can be used. -Typical syntax: --critical-status='%{status} ~= m/FAILED/' +Typical syntax: --critical-status='%{status} =~ m/FAILED/' =back diff --git a/apps/mulesoft/restapi/mode/clusters.pm b/apps/mulesoft/restapi/mode/clusters.pm index b5466f3b3..9c08432b7 100644 --- a/apps/mulesoft/restapi/mode/clusters.pm +++ b/apps/mulesoft/restapi/mode/clusters.pm @@ -167,7 +167,7 @@ Typical syntax: --warning-status='%{status} ne "RUNNING"' Set warning threshold for status (Default: ''). Threshold can be matched on %{name}, %{id} or %{status} and Regexp can be used. -Typical syntax: --critical-status='%{status} ~= m/DISCONNECTED/' +Typical syntax: --critical-status='%{status} =~ m/DISCONNECTED/' =back diff --git a/apps/mulesoft/restapi/mode/servers.pm b/apps/mulesoft/restapi/mode/servers.pm index f0bcd7ff0..e69e529e5 100644 --- a/apps/mulesoft/restapi/mode/servers.pm +++ b/apps/mulesoft/restapi/mode/servers.pm @@ -169,7 +169,7 @@ Typical syntax: --warning-status='%{status} ne "RUNNING"' Set warning threshold for status (Default: ''). Threshold can be matched on %{name}, %{id} or %{status} and Regexp can be used. -Typical syntax: --critical-status='%{status} ~= m/DISCONNECTED/' +Typical syntax: --critical-status='%{status} =~ m/DISCONNECTED/' =back