Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d93b46ef48 | |||
| 7f449ce08c | |||
| ec4b1623f8 | |||
| 69a3cd2ecb |
+1
-1
@@ -1 +1 @@
|
||||
0.5.5
|
||||
0.5.7
|
||||
@@ -32,6 +32,9 @@ Hosts="${Hosts} nsbackup.cvtt.vpn"
|
||||
Hosts="${Hosts} dtvmhost.cvtt.vpn"
|
||||
Hosts="${Hosts} ops-server.cvtt.vpn"
|
||||
|
||||
Hosts="${Hosts} cvtt-prod-01.cvtt.vpn"
|
||||
Hosts="${Hosts} cvtt-prod-02.cvtt.vpn"
|
||||
|
||||
function space_alert() {
|
||||
ALERT_USAGE=75%
|
||||
for ln in "${Measurements[@]}"
|
||||
|
||||
@@ -11,6 +11,10 @@ url=$(jq -r '.MATTERMOST.url' ${HOME}/.creds)
|
||||
team=$(jq -r '.MATTERMOST.team' ${HOME}/.creds)
|
||||
bearer=$(jq -r '.MATTERMOST.bearer' ${HOME}/.creds)
|
||||
|
||||
#lowercase channel
|
||||
channel_name=$(echo "${channel_name}" | awk '{print tolower($0)}')
|
||||
# space to '-'
|
||||
channel_name=${channel_name//" "/"-"}
|
||||
|
||||
get_channel_url="${url}/api/v4/teams/name/${team}/channels/name/${channel_name}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user