fix threshold ibm mq channels

This commit is contained in:
garnier-quentin 2020-02-28 10:43:07 +01:00
parent abe139e753
commit bd065f4a64
1 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ sub new {
'filter-name:s' => { name => 'filter_name' }, 'filter-name:s' => { name => 'filter_name' },
'unknown-status:s' => { name => 'unknown_status', default => '' }, 'unknown-status:s' => { name => 'unknown_status', default => '' },
'warning-status:s' => { name => 'warning_status', default => '' }, 'warning-status:s' => { name => 'warning_status', default => '' },
'critical-status:s' => { name => 'critical_status', default => '%{channel_status} !~ /running/i' }, 'critical-status:s' => { name => 'critical_status', default => '%{channel_status} !~ /running|idle/i' },
}); });
return $self; return $self;
} }
@ -196,7 +196,7 @@ Can used special variables like: %{channel_status}, %{mca_status}
=item B<--critical-status> =item B<--critical-status>
Set critical threshold for status (Default: '%{channel_status} !~ /running/i'). Set critical threshold for status (Default: '%{channel_status} !~ /running|idle/i').
Can used special variables like: %{channel_status}, %{mca_status} Can used special variables like: %{channel_status}, %{mca_status}
=item B<--warning-*> B<--critical-*> =item B<--warning-*> B<--critical-*>