Browse Source

servername

pull/3051/head
Daniel Gibbs 5 years ago
parent
commit
1068649da2
  1. 2
      lgsm/functions/alert_rocketchat.sh
  2. 2
      lgsm/functions/alert_slack.sh

2
lgsm/functions/alert_rocketchat.sh

@ -17,7 +17,7 @@ json=$(cat <<EOF
"text": "*${alertemoji} ${alertsubject} ${alertemoji}* + \n ${alertbody}",
"attachments": [
{
"title": "Linuxgsm Alert",
"title": "${servername}",
"text": "Hostname: ${HOSTNAME}",
"color": "#36a64f",
"fields": [

2
lgsm/functions/alert_slack.sh

@ -21,7 +21,7 @@ json=$(cat <<EOF
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*LinuxGSM Alert*"
"text": "*${servername}*"
}
},
{

Loading…
Cancel
Save