Skip to content

Apolo151/remote_system_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote System Health Monitor

A real-time system monitoring application using gRPC server-side streaming.

Features

  • Real-time CPU and RAM monitoring
  • gRPC server-side streaming
  • Graceful shutdown support
  • Configurable monitoring intervals

Prerequisites

  • Go 1.20+
  • Protocol Buffers compiler (protoc)

Installation

go mod download
make proto
make build

Usage

Run Server

# Default (port 50051, 5s interval)
make run-server

# Custom configuration
go run cmd/server/main.go -port 8080 -interval 10s

Run Client

# Default (localhost:50051)
make run-client

# Custom server
go run cmd/client/main.go -server remote.example.com:50051

Project Structure

cmd/         - Entry points
internal/    - Private application code
pkg/         - Generated protobuf code
proto/   - Protocol buffer definitions

Testing

make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published