mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+ Fix #408
This commit is contained in:
parent
decb003ecd
commit
ebd6682e5a
@ -158,6 +158,7 @@ sub run {
|
||||
}
|
||||
|
||||
if (defined($result->{rPDULoadStatusLoad}) && $result->{rPDULoadStatusLoad} =~ /[0-9]/) {
|
||||
$result->{rPDULoadStatusLoad} /= 10;
|
||||
my ($exit2, $warn, $crit, $checked) = $self->get_severity_numeric(section => 'load', instance => $instance, value => $result->{rPDULoadStatusLoad});
|
||||
if (!$self->{output}->is_status(value => $exit2, compare => 'ok', litteral => 1)) {
|
||||
$self->{output}->output_add(severity => $exit2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user