|
|
@ -21,14 +21,21 @@ json=$(cat <<EOF |
|
|
|
"type": "section", |
|
|
|
"text": { |
|
|
|
"type": "mrkdwn", |
|
|
|
"text": "*${servername}*" |
|
|
|
"text": "*${alertemoji} ${alertsubject} ${alertemoji}*" |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "section", |
|
|
|
"text": { |
|
|
|
"type": "mrkdwn", |
|
|
|
"text": "${alertbody}" |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "section", |
|
|
|
"text": { |
|
|
|
"type": "mrkdwn", |
|
|
|
"text": "*${alertemoji} ${alertsubject} ${alertemoji}* \n ${alertbody}" |
|
|
|
"text": "*${servername}*" |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|