mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-23 06:12:13 +01:00
7c8bd1e394
git-svn-id: svn://svn.code.sf.net/p/muninlite/code/muninlite@1 35caa317-6b62-4e8a-81c0-b04f0c356266
15 lines
426 B
Text
15 lines
426 B
Text
config_load() {
|
|
echo "graph_title Load average
|
|
graph_args --base 1000 -l 0
|
|
graph_vlabel load
|
|
graph_scale no
|
|
graph_category system
|
|
load.label load
|
|
load.warning 10
|
|
load.critical 120
|
|
graph_info The load average of the machine describes how many processes are in the run-queue (scheduled to run \"immediately\").
|
|
load.info Average load for the five minutes."
|
|
}
|
|
fetch_load() {
|
|
echo "load.value" $(cut -f2 -d\ /proc/loadavg)
|
|
}
|