mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
enh(iplabel::ekara::restapi::scenarios): reworked defaults status
This commit is contained in:
parent
2c868ab9dd
commit
8486e3592a
@ -61,9 +61,9 @@ sub set_counters {
|
||||
$self->{maps_counters}->{global} = [
|
||||
{ label => 'scenario-status',
|
||||
type => 2,
|
||||
warning_default => '%{status} =~ /(Aborted|Stopped|Excluded|Degraded)/',
|
||||
warning_default => '%{status} =~ "Degraded"',
|
||||
critical_default => '%{status} =~ "Failure"',
|
||||
unknown_default => '%{status} =~ /(Unknown|No execution)/',
|
||||
unknown_default => '%{status} =~ /(Unknown|No execution|Aborted|Stopped|Excluded)/',
|
||||
set => {
|
||||
key_values => [ { name => 'status' }, { name => 'num_status' }, { name => 'display' } ],
|
||||
closure_custom_output => $self->can('custom_status_output'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user