Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Flow Verification Node monitoring and alerting #9

Open
2 tasks
cfl0ws opened this issue Jul 5, 2021 · 3 comments
Open
2 tasks

Deploy Flow Verification Node monitoring and alerting #9

cfl0ws opened this issue Jul 5, 2021 · 3 comments

Comments

@cfl0ws
Copy link
Contributor

cfl0ws commented Jul 5, 2021

  • Basic system monitoring
  • Network specific monitoring

Note: I already have a very simple monitoring tool running on this server.


TOKEN=1225105282:AAHVAVIwJaFNcz-QcfqYJ2NZZwYfKUOaLFY
CHAT_ID=-1001346480078
URL="https://api.telegram.org/bot$TOKEN/sendMessage"
MESSAGE="Flow Verification Node NOT RUNNING"

/usr/bin/curl localhost:8080/metrics | grep consensus_compliance_sealed_height
RESULT=$?

echo -e "Grep identified as: $RESULT"

if [ $RESULT == 1 ]; then
  echo -e $MESSAGE
  # Send to Telegram
  curl -s -X POST $URL -d chat_id=$CHAT_ID -d text="$(echo -e $MESSAGE)"
fi```
@frankchen07
Copy link

I can't see to update this issue to add checkboxes. It looks like I do have access to the repo though.

@frankchen07
Copy link

@chris-remus can you check permissions on this repo? I don't have access to edit.

@frankchen07
Copy link

this ticket is in the wrong repository, replicated in the correct repo here:

https://github.com/Chainflow/flow/issues/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants