From 2512ad1d8b5de7c38c6b3e8cd7ae092cba53ab07 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Thu, 29 Apr 2021 12:32:02 +0200 Subject: [PATCH] enh(pacemaker): crm mode default threshold update (#2748) --- apps/pacemaker/local/mode/crm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/pacemaker/local/mode/crm.pm b/apps/pacemaker/local/mode/crm.pm index bc29310b6..30ca0cbfd 100644 --- a/apps/pacemaker/local/mode/crm.pm +++ b/apps/pacemaker/local/mode/crm.pm @@ -235,7 +235,7 @@ sub set_counters { ]; $self->{maps_counters}->{clone_resources} = [ - { label => 'clone-resource-status', type => 2, critical_default => '%{status} =~ /stopped|failed/i', set => { + { label => 'clone-resource-status', type => 2, critical_default => '%{status} =~ /failed/i', set => { key_values => [ { name => 'name' }, { name => 'status' }, { name => 'is_unmanaged' }, { name => 'masters_nodes_name' }, { name => 'slaves_nodes_name' } @@ -504,7 +504,7 @@ Can used special variables like: %{name}, %{status}, %{masters_nodes_name}, %{sl =item B<--critical-clone-resource-status> -Set critical threshold for status (Default: '%{status} =~ /stopped|failed/i'). +Set critical threshold for status (Default: '%{status} =~ /failed/i'). Can used special variables like: %{name}, %{status}, %{masters_nodes_name}, %{slaves_nodes_name}, %{is_unmanaged} =item B<--ignore-failed-actions>