mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 09:05:19 +02:00
(plugin) storage::emc::xtremio::restapi - Fix Xenvs threshold check
This commit is contained in:
parent
1e559246ef
commit
251dc85bbc
@ -83,7 +83,7 @@ sub run {
|
||||
$details->{'cpu-usage'}));
|
||||
|
||||
|
||||
my $exit = $self->{perfdata}->threshold_check(value => $details->{'cpu-usage'}, threshold => [ { label => 'warning', 'exit_litteral' => 'warning' }, { label => 'critical', exit_litteral => 'critical' } ]);
|
||||
my $exit = $self->{perfdata}->threshold_check(value => $details->{'cpu-usage'}, threshold => [ { label => 'critical', exit_litteral => 'critical' }, { label => 'warning', exit_litteral => 'warning' } ]);
|
||||
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
|
||||
$self->{output}->output_add(severity => $exit,
|
||||
short_msg => sprintf("Xenvs '%s' cpu-Usage is %i%%",
|
||||
|
Loading…
x
Reference in New Issue
Block a user