librenms / librenms-agent

LibreNMS Agent & Scripts
GNU General Public License v2.0
118 stars 188 forks source link

Added CPU Details #255

Closed Munzy closed 4 years ago

Munzy commented 5 years ago

I have long wanted a way to monitor steal time on my VMs. I currently use a lot of VMs on hosting providers such as Linode, Digital Ocean, et cetera. These providers sometimes over-allocate a node to the point of becoming a problem. One way to indicate this issue is CPU Steal climbing beyond a certain percentage.

https://scoutapm.com/blog/understanding-cpu-steal-time-when-should-you-be-worried

The goal is to allow LibreNMS to track users, system, idle, io wait, and steal numbers so that we can make better decisions on how to improve performance or mitigate performance issues on a VM.

Munzy commented 5 years ago
./detailedcpu.sh
0
0
100
0
0
murrant commented 5 years ago

New applications should output json format with labeled fields.

Munzy commented 5 years ago

New applications should output json format with labeled fields.

Alright. I'll see how I want to refactor it.

SourceDoctor commented 4 years ago

rewritten to use same data via UCD MIB SNMP, which are usually transfered, also.