diff --git a/notification/telegram/mode/alert.pm b/notification/telegram/mode/alert.pm index ce452e6ae..2812f8bdc 100644 --- a/notification/telegram/mode/alert.pm +++ b/notification/telegram/mode/alert.pm @@ -111,7 +111,9 @@ sub host_message { } else { $self->{message} .= ' alert'; } - + if (defined($self->{option_results}->{host_output}) && $self->{option_results}->{host_output} ne '') { + $self->{message} .= "\n " . $self->{option_results}->{host_output}; + } if (defined($self->{option_results}->{link_url}) && $self->{option_results}->{link_url} ne '') { $self->{message} .= "\n {option_results}->{link_url} . "\">Link"; }