This commit is contained in:
2024-06-13 18:00:09 -04:00
parent e295aa8dff
commit 80bbf47755
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
0.7.9
0.8.1
@@ -34,6 +34,8 @@ Hosts="${Hosts} cvtt-prod-01.cvtt.vpn"
Hosts="${Hosts} cvtt-prod-02.cvtt.vpn"
Hosts="${Hosts} cvtt-prod-03.cvtt.vpn"
Metrics=()
function space_alert() {
ALERT_USAGE=75%
for ln in "${Measurements[@]}"
@@ -52,6 +54,7 @@ function storage_check() {
result_lines=()
declare -a SingleMeas
for host in ${Hosts}
do
if [[ "${host}" == *"cryptovaltrading.com" ]]; then
@@ -70,7 +73,12 @@ function storage_check() {
do
IFS=$' '; args=($ln); unset IFS
res="${args[5]}| **${host}** | ***${args[6]}*** | *${args[5]}* |"
result_lines+=("$res")
fs=${args[6]}
used=${args[5]}
Metrics+=("$host $fs $used")
done
unset IFS
done