Daniel Gibbs %!s(int64=5) %!d(string=hai) anos
pai
achega
1068649da2
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      lgsm/functions/alert_rocketchat.sh
  2. 1 1
      lgsm/functions/alert_slack.sh

+ 1 - 1
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": [

+ 1 - 1
lgsm/functions/alert_slack.sh

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