From 8c6a2df87a59a06d254f311eb17b2a1a6f0401e0 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Thu, 12 Feb 2015 00:24:13 +0000 Subject: [PATCH] muninlite: fix uptime should report days patch 1295d87 failed to remove cdef config which will break graphs for existing users. Properly closes #810 Signed-off-by: Jonathan McCrohan --- admin/muninlite/patches/110-fix-uptime-days.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/admin/muninlite/patches/110-fix-uptime-days.patch b/admin/muninlite/patches/110-fix-uptime-days.patch index 17ef208ae5..d9aa43f4a5 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) -- 2.30.2