Fix #1957
This commit is contained in:
parent
550e28324d
commit
7a636fb4ee
|
@ -37,7 +37,7 @@ sub set_system {
|
||||||
$self->{thresholds} = {
|
$self->{thresholds} = {
|
||||||
default => [
|
default => [
|
||||||
['false', 'OK'],
|
['false', 'OK'],
|
||||||
['.*', 'CRITICAL'],
|
['.*', 'CRITICAL']
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ sub ssh_execute {
|
||||||
|
|
||||||
($self->{results}, $self->{exit_code}) = $options{custom}->execute_command(
|
($self->{results}, $self->{exit_code}) = $options{custom}->execute_command(
|
||||||
command => 'show system environmentals',
|
command => 'show system environmentals',
|
||||||
|
ForceArray => ['entry']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue