Format IPs as <code>
This commit is contained in:
parent
b4bc721640
commit
6948ee2b61
1 changed files with 2 additions and 2 deletions
|
@ -132,14 +132,14 @@ fi
|
|||
NOTIFICATION_MESSAGE=$(cat << EOF
|
||||
$HOSTSTATEICON<b>$HOSTDISPLAYNAME</b>$HOSTALIAS2 is $HOSTSTATE!
|
||||
${age}Info $HOSTOUTPUT
|
||||
IPv4 $HOSTADDRESS
|
||||
IPv4 <code>$HOSTADDRESS</code>
|
||||
EOF
|
||||
)
|
||||
|
||||
## Is this host IPv6 capable?
|
||||
if [ -n "$HOSTADDRESS6" ] ; then
|
||||
NOTIFICATION_MESSAGE="$NOTIFICATION_MESSAGE
|
||||
IPv6 $HOSTADDRESS6"
|
||||
IPv6 <code>$HOSTADDRESS6</code>"
|
||||
fi
|
||||
## Are there any comments? Put them into the message!
|
||||
if [ -n "$NOTIFICATIONCOMMENT" ] ; then
|
||||
|
|
Loading…
Reference in a new issue