This custom metric executes the cat /proc/loadavg command on a Linux/Unix system to retrieve CPU usage information. It parses the output to extract the first column of the output which represents the 1 min load avg of the server.
To set this up, paste the provided SQL script into a custom single value metric that runs every minute. Here is an example of the metric definition:
