Browse Source

move info

feature/alerts-refactor
Daniel Gibbs 4 years ago
parent
commit
87cf48c3ba
No known key found for this signature in database GPG Key ID: 2EBB36015C6D78E2
  1. 16
      lgsm/functions/alert_discord.sh
  2. 16
      lgsm/functions/alert_rocketchat.sh

16
lgsm/functions/alert_discord.sh

@ -39,23 +39,23 @@ json=$(cat <<EOF
"inline": true
},
{
"name": "Server IP",
"value": "${alertip}:${port}",
"name": "Version",
"value": "${alertversion}",
"inline": true
},
{
"name": "Hostname",
"value": "${HOSTNAME}",
"name": "Country",
"value": "${country}",
"inline": true
},
{
"name": "Version",
"value": "${alertversion}",
"name": "Server IP",
"value": "${alertip}:${port}",
"inline": true
},
{
"name": "Country",
"value": "${country}",
"name": "Hostname",
"value": "${HOSTNAME}",
"inline": true
},
{

16
lgsm/functions/alert_rocketchat.sh

@ -26,23 +26,23 @@ json=$(cat <<EOF
},
{
"short": true,
"title": "Server IP",
"value": "${alertip}:${port}"
"title": "Version",
"value": "${alertversion}"
},
{
"short": true,
"title": "Hostname",
"value": "${HOSTNAME}"
"title": "Country",
"value": "${country}"
},
{
"short": true,
"title": "Version",
"value": "${alertversion}"
"title": "Server IP",
"value": "${alertip}:${port}"
},
{
"short": true,
"title": "Country",
"value": "${country}"
"title": "Hostname",
"value": "${HOSTNAME}"
}
]
}

Loading…
Cancel
Save