+ Fix pacemaker script
This commit is contained in:
parent
cac2103248
commit
2efbf6f425
|
@ -123,7 +123,7 @@ sub parse_output {
|
||||||
# Check Master/Slave stopped
|
# Check Master/Slave stopped
|
||||||
$self->{output}->output_add(severity => $self->{threshold},
|
$self->{output}->output_add(severity => $self->{threshold},
|
||||||
short_msg => "$1 Stopped");
|
short_msg => "$1 Stopped");
|
||||||
} elsif ($line =~ /^Failed actions\:/) { && !defined($self->{option_results}->{ignore_failed_actions})) {
|
} elsif ($line =~ /^Failed actions\:/) {
|
||||||
# Check Failed Actions
|
# Check Failed Actions
|
||||||
my $skip = 0;
|
my $skip = 0;
|
||||||
foreach ($self->{option_results}->{ignore_failed_actions}) {
|
foreach ($self->{option_results}->{ignore_failed_actions}) {
|
||||||
|
|
Loading…
Reference in New Issue