This commit is contained in:
garnier-quentin 2020-04-23 13:30:17 +02:00
parent 550e28324d
commit 7a636fb4ee
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ sub set_system {
$self->{thresholds} = {
default => [
['false', 'OK'],
['.*', 'CRITICAL'],
['.*', 'CRITICAL']
]
};
@ -52,6 +52,7 @@ sub ssh_execute {
($self->{results}, $self->{exit_code}) = $options{custom}->execute_command(
command => 'show system environmentals',
ForceArray => ['entry']
);
}