Repository navigation
v0.1.4
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
thresholdsyou defined inconfig.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_weightsconfig.
How to Configure
Addhealth_weightsto yourconfig.jsonto 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.4Binaries
Download the pre-compiled binary for your platform from the Assets section.