Merge pull request #1471 from CPbN/label

Update HTTP default message
This commit is contained in:
qgarnier 2019-04-08 20:35:42 +02:00 committed by GitHub
commit 634d829db1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ sub custom_content_threshold {
sub custom_content_output {
my ($self, %options) = @_;
my $msg = 'Content test';
my $msg = 'HTTP test(s)';
if (!$self->{output}->is_status(value => $self->{instance_mode}->{content_status}, compare => 'ok', litteral => 1)) {
my $filter = $self->{instance_mode}->{option_results}->{lc($self->{instance_mode}->{content_status}) . '_content'};
$filter =~ s/\$self->\{result_values\}->/%/g;