Giter VIP home page Giter VIP logo

celo's People

Contributors

anilcse avatar cfl0ws avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

secretnodes

celo's Issues

Add alerts to Celo alert bot

Proposal

  • Alert when new proposal is submitted and enters voting stage
  • Include voting stage deadline

Approval

  • Alert when proposal enters approval stage.
  • Include approval stage deadline
  • Alert when new proposal has been approved or expired

Referendum

  • Alert when proposal enters referendum stage
  • Include referendum (voting) stage deadline
  • Include defined required level of agreement
  • Include defined required agreement for a proposal
  • Alert when new proposal has been approved and moves to execution phase

Execution

  • Alert when proposal enters execution stage.
  • Include execution
  • Alert when has been executed or if proposal expires, i.e. is not executed

Deploy Flow Verification Node monitoring and alerting

  • 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```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.