diff --git a/admin/muninlite/patches/110-fix-uptime-days.patch b/admin/muninlite/patches/110-fix-uptime-days.patch index 17ef208ae..d9aa43f4a 100644 --- a/admin/muninlite/patches/110-fix-uptime-days.patch +++ b/admin/muninlite/patches/110-fix-uptime-days.patch @@ -1,7 +1,10 @@ --- a/plugins/uptime +++ b/plugins/uptime -@@ -7,5 +7,5 @@ - echo "uptime.cdef uptime,86400,/" +@@ -4,8 +4,7 @@ config_uptime() { + 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)