mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 09:05:19 +02:00
(plugin) network::cisco::umbrella - Fix regex in appliance.pm mode
This commit is contained in:
parent
5aee31890c
commit
9a3e21d7bd
@ -44,7 +44,7 @@ sub set_counters {
|
||||
label => 'status', type => 2,
|
||||
critical_default => '%{status} =~ /red/' ,
|
||||
warning_default => '%{status} =~ /yellow/',
|
||||
unknown_default => '%{status} =~ /(green|yellow|red|white)/',
|
||||
unknown_default => '%{status} !~ /(green|yellow|red|white)/',
|
||||
set => {
|
||||
key_values => [ { name => 'status' } ],
|
||||
closure_custom_output => $self->can('custom_status_output'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user