Daniel Gibbs 5 vuotta sitten
vanhempi
commit
698cbbe280
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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": {