mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
Merge pull request #1943 from centreon/telegram-notif
add missing host output to notification
This commit is contained in:
commit
9060d7e05c
@ -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 <a href=\"" . $self->{option_results}->{link_url} . "\">Link</a>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user