minor updates, removed useless stuff.

This commit is contained in:
2023-07-27 14:16:37 +00:00
parent 05c34c5ee7
commit ac0de0377d
6 changed files with 6 additions and 55 deletions
+4 -4
View File
@@ -25,11 +25,11 @@ SERVER_DOMAIN="localhost"
DISCORD_SERVER_NAME="<YOUR SERVER>"
DISCORD_GENERAL_HOOK="<WEBHOOK_URL_HERE>"
DISCORD_GENERAL_HOOK="<WEBHOOK_URL_HERE>?wait=true"
DISCORD_RESTAKE_HOOK="<WEBHOOK_URL_HERE>"
DISCORD_RESTAKE_HOOK="<WEBHOOK_URL_HERE>?wait=true"
DISCORD_THERMAL_HOOK="<WEBHOOK_URL_HERE>"
DISCORD_THERMAL_HOOK="<WEBHOOK_URL_HERE>?wait=true"
DISCORD_STORAGE_HOOK="<WEBHOOK_URL_HERE>"
DISCORD_STORAGE_HOOK="<WEBHOOK_URL_HERE>?wait=true"
@@ -1,4 +1,5 @@
# TODO: replace <DOMAIN>, <EXTRA-DOMAINS>, and <DIRECTORY>.
# in vim use """:%s/<DIRECTORY>/replacement/g"""
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 ipv6only=on default_server;
+1
View File
@@ -1,4 +1,5 @@
# TODO: replace <DOMAIN>, <EXTRA-DOMAINS>, and <DIRECTORY>.
# in vim use """:%s/<DIRECTORY>/replacement/g"""
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
-17
View File
@@ -1,17 +0,0 @@
#!/bin/bash
LOCATION=`dirname "$0"`
missed_blocks=`curl -s 'https://api-cerberus.cosmostation.io/v1/staking/validator/uptime/cerberusvaloper1krkmg6f0sjwalkx3nq39yt0upxgys7alcjytq4' | jq '.uptime | length'`
if [ "$missed_blocks" -gt 0 ]; then
`${LOCATION}/discord.sh general "Cerberus is missing ${missed_blocks} blocks out of the last 100."`
fi
echo -n "${missed_blocks},"
if [ `date | grep -c ':00:'` -gt 0 ]; then
echo ""
date
fi
-17
View File
@@ -1,17 +0,0 @@
#!/bin/bash
LOCATION=`dirname "$0"`
missed_blocks=`curl -s 'https://api-evmos.cosmostation.io/v1/staking/validator/uptime/evmosvaloper187860d5xukeksge9jz3wwff7h68asdafxdxh4r' | jq '.uptime | length'`
if [ "$missed_blocks" -gt 2 ]; then
`${LOCATION}/discord.sh general "EVMOS is missing ${missed_blocks} blocks out of the last 100."`
fi
echo -n "${missed_blocks},"
if [ `date | grep -c ':00:'` -gt 0 ]; then
echo ""
date
fi
-17
View File
@@ -1,17 +0,0 @@
#!/bin/bash
LOCATION=`dirname "$0"`
missed_blocks=`curl -s 'https://api-lum.cosmostation.io/v1/staking/validator/uptime/lumvaloper1krkmg6f0sjwalkx3nq39yt0upxgys7alme6lps' | jq '.uptime | length'`
if [ "$missed_blocks" -gt 0 ]; then
`${LOCATION}/discord.sh general "Lum Network is missing ${missed_blocks} blocks out of the last 100."`
fi
echo -n "${missed_blocks},"
if [ `date | grep -c ':00:'` -gt 0 ]; then
echo ""
date
fi