mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
Fix no-ha-status option
'no_ha_status' or 'no_ha_state' to handle the option no-ha-status? :) Let's use the first name in the code : 'no_ha_status'
This commit is contained in:
parent
d12bf8e497
commit
55e76f569a
@ -101,7 +101,7 @@ sub manage_selection {
|
||||
nothing_quit => 1);
|
||||
|
||||
if ($result->{$oid_haInstalled} < 1 or $result->{$oid_haStarted} eq "no") {
|
||||
$self->{output}->output_add(severity => $self->{option_results}->{no_ha_state},
|
||||
$self->{output}->output_add(severity => $self->{option_results}->{no_ha_status},
|
||||
short_msg => sprintf("Looks like HA is not started, or not installed .."),
|
||||
long_msg => sprintf("HA Installed : '%u' HA Started : '%s'",
|
||||
$result->{$oid_haInstalled}, $result->{$oid_haStarted}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user