mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Fix #1957
This commit is contained in:
parent
1756105eaa
commit
3a549e7393
@ -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…
x
Reference in New Issue
Block a user