vm-infrastructure-ops

Community

Troubleshoot and manage GCP VM for eth-collector.

Authorterrylica
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to diagnosing and recovering Ethereum real-time data collection on a GCP e2-micro VM. It targets VM service outages, systemd failures, streaming interruptions, and network problems, enabling quick restoration of data flow.

Core Features & Use Cases

  • Service health checks: verify eth-collector daemon is active and responsive.
  • Live log visibility: stream or view the collector logs to spot errors.
  • Recovery actions: restart the service, pull fresh credentials, or reinitialize networking.
  • VM recovery options: perform a hard VM reset if networking is completely broken.
  • Data flow verification: validate that blocks are flowing into ClickHouse after recoveries.

Quick Start

Use the cloud-based commands and scripts to diagnose and recover:

  • Check service status on the VM: gcloud compute ssh eth-realtime-collector --zone=us-east1-b --command='sudo systemctl status eth-collector'
  • View live logs: gcloud compute ssh eth-realtime-collector --zone=us-east1-b --command='sudo journalctl -u eth-collector -f'
  • Restart the collector service: gcloud compute ssh eth-realtime-collector --zone=us-east1-b --command='sudo systemctl restart eth-collector'
  • Quick status using provided script: .claude/skills/vm-infrastructure-ops/scripts/check_vm_status.sh
  • Alternative restart script with pre-checks: .claude/skills/vm-infrastructure-ops/scripts/restart_collector.sh
  • VM hard reset (last-resort): gcloud compute instances reset eth-realtime-collector --zone=us-east1-b
  • Verify data flow to ClickHouse after restart: doppler run --project aws-credentials --config prd -- python3 -c "import clickhouse_connect; ..."

Dependency Matrix

Required Modules

bashgcloudjournalctlsystemctl

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vm-infrastructure-ops
Download link: https://github.com/terrylica/gapless-network-data/archive/main.zip#vm-infrastructure-ops

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.