Daniel Gibbs 5 년 전
부모
커밋
698cbbe280
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lgsm/functions/alert_rocketchat.sh
  2. 3 0
      lgsm/functions/alert_slack.sh

+ 1 - 0
lgsm/functions/alert_rocketchat.sh

@@ -36,6 +36,7 @@ json=$(cat <<EOF
 			]
 		}
 	]
+	"text": "Hostname: ${HOSTNAME} / More info: ${alerturl}",
 }
 EOF
 )

+ 3 - 0
lgsm/functions/alert_slack.sh

@@ -58,6 +58,9 @@ json=$(cat <<EOF
 						}
 					]
 				},
+				{
+					"type": "divider"
+				},
 				{
 					"type": "section",
 					"text": {