mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-24 22:25:02 +02:00
add missing host output to notification
This commit is contained in:
parent
7eececdefe
commit
12702665fa
@ -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