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

Implement a monitoring cron job #556

Closed
zjshen14 opened this issue Feb 17, 2019 · 2 comments
Closed

Implement a monitoring cron job #556

zjshen14 opened this issue Feb 17, 2019 · 2 comments
Assignees

Comments

@zjshen14
Copy link
Contributor

We need to create a simple tool executable, which takes a list of endpoints of servers, and a target blockchain height as params. The executable poke every endpoints' getBlockMeta API to get the block height info. If any server respond a block height lower than the expectation, return failure. Otherwise, return success.

We could then deploy this executable a cron job to scan through the servers we want to monitor, and alert us if any server is abnormal. Feel free to ping me if you have any question.

@raullenchai
Copy link
Member

raullenchai commented Feb 17, 2019

@ashishsnigam feel free to ping @zjshen14 in https://gitter.im/iotex-dev-community/Lobby for the context

@zjshen14
Copy link
Contributor Author

Per discussion offline, we no longer need this cron job as we figure out an alternative monitoring plan, but thank you all the same @ashishsnigam!

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

3 participants