Skip to content

v0.1.4

Choose a tag to compare

@sam0uly sam0uly released this 02 Feb 02:28
· 72 commits to master since this release

bubbleMonitor v0.1.4

Previously, the Health Score (0-100%) used internal constants to decide when to penalize your score. Now, it respects your configuration.

  • Threshold Sync: The score now strictly follows the thresholds you defined in config.json. If you set your CPU warning at 50%, the score will drop the moment you cross 50%.
  • Custom Weights: You can now fine-tune exactly how much the score drops for each issue via the new health_weights config.
    How to Configure
    Add health_weights to your config.json to override the defaults:
{
  "thresholds": {
    "CPU": 80.0,
    "Memory": 90.0,
    "Disk": 95.0,
    "Temperature": 85.0
  },
  "health_weights": {
    "cpu_critical": 30,  // -30 points if CPU > 80%
    "cpu_high": 10,      // -10 points if CPU > 56% (70% of threshold)
    "mem_critical": 30,
    "mem_high": 10,
    "disk_critical": 50, // Severe penalty for full disk
    "temp_critical": 30,
    "temp_high": 10
  }
}

Fixes & Improvements

  • Fix: Health calculation logic no longer ignores user-defined thresholds.
  • Fix: Removed hardcoded "magic numbers" from analysis logic.
  • Improvement: Better default weight fallback if config is missing.

Installation

Go Install

go install github.com/N1xev/bubbleMonitor/cmd/bub@v0.1.4

Binaries
Download the pre-compiled binary for your platform from the Assets section.