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
11 lines
284 B
Text
11 lines
284 B
Text
config_uptime() {
|
|
echo "graph_title Uptime"
|
|
echo "graph_args --base 1000 -l 0 "
|
|
echo "graph_vlabel uptime in days"
|
|
echo "uptime.label uptime"
|
|
echo "uptime.draw AREA"
|
|
echo "uptime.cdef uptime,86400,/"
|
|
}
|
|
fetch_uptime() {
|
|
echo "uptime.value" $(cut -d\ -f1 /proc/uptime)
|
|
}
|