uptime reports seconds instead of days
Brought to you by:
runesk
The uptime plugin as documented in this code as well as the main munin repository reports time in days. The plugin in this implementation simply returns the data in /proc/uptime, which is reported in seconds. This causes a problem when mixing uptime data from this version of munin-node and the full version.
Attached is a patch that changes this plugin to report days instead. It's similar to the awk command used in the full version except it uses a print statement instead of a newline character (the Makefile does not handle stitching together plugins that contain newline characters properly).
Thank you!
Your patch is finally included (in muninlite's new home at github):
https://github.com/munin-monitoring/muninlite/commit/44628e78cc50094fcbf3765e68ee5b932139e833