dsrvlabs / vatz

Node management integration tools in purpose of maximizing node's uptime for any protocols
https://www.dsrvlabs.com/
GNU General Public License v3.0
30 stars 15 forks source link

Plugin Development : Solana #118

Closed heejin-github closed 2 years ago

heejin-github commented 2 years ago

Checklist


Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. such as Ex. I'm always frustrated Need to implement solana specific monitoring plugin

Describe the solution you'd like| Ex

A clear and concise description of what you want to happen Monitor Node Status

  • health check via solana REST api
  • get balance via solana cli command
  • get voting credit via solana cli command
  • CPU/Memory/Disk usage
  • Network usage
  • etc.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you have considered. Make similar features first what node manager do in current. then, expand its feature for solana specific monitoring parameters.

Additional context or comment

Add any other context or screenshots about the feature request here.

heejin-github commented 2 years ago

2022-05-25

root@heejin-hetzner ~/vatz/vatz-plugin-solana # tree
.
├── plugins
│   ├── balance_monitor
│   │   ├── balance_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── credits_monitor
│   ├── health_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   ├── health_monitor
│   │   └── main.go
│   └── resource_monitor
├── README.md
heejin-github commented 2 years ago

2022-06-23

Resource monitor separate to CPU/MEM/DISK monitor

root@heejin-hetzner ~/vatz/vatz-plugin-solana # tree
.
├── plugins
│   ├── balance_monitor
│   │   ├── balance_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── cpu_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── credits_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   ├── log.json
│   │   ├── main.go
│   │   └── temp.diff
│   ├── disk_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── health_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   ├── health_monitor
│   │   └── main.go
│   └── mem_monitor
│       ├── go.mod
│       ├── go.sum
│       └── main.go
├── README.md
└── templates
    └── main.go
heejin-github commented 2 years ago

2022-08-08

Done for the initial plugins development. may added more plugins or bug fixes later.

.
├── plugins
│   ├── balance_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── cpu_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── disk_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── health_checker
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   ├── health_monitor
│   │   ├── go.mod
│   │   ├── go.sum
│   │   └── main.go
│   └── mem_monitor
│       ├── go.mod
│       ├── go.sum
│       └── main.go
└── README.md

https://github.com/dsrvlabs/vatz-plugin-solana