diff options
Diffstat (limited to 'scripts/telegram-host-notification.sh')
| -rwxr-xr-x | scripts/telegram-host-notification.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/telegram-host-notification.sh b/scripts/telegram-host-notification.sh index 5d42709..c550f5d 100755 --- a/scripts/telegram-host-notification.sh +++ b/scripts/telegram-host-notification.sh @@ -39,14 +39,9 @@ done ## Build the notification message NOTIFICATION_MESSAGE=`cat << EOF -***** Host Monitoring on $ICINGA2HOST ***** +[$HOSTSTATE] $HOSTDISPLAYNAME -$HOSTDISPLAYNAME is $HOSTSTATE! - -Info: $HOSTOUTPUT - -When: $DATE -Host: $HOSTNAME +$HOSTOUTPUT EOF ` |
