summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-07-21 14:42:39 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-07-21 14:42:39 +0000
commit2df0820b9641efa3c1e8dff80bf1c0f1b1da00b6 (patch)
treee2e4e214861c71697143e0c27722254f497b2f78
parent4bfd7514edd1e06a13b91af9bd619d861390dd81 (diff)
Show runtime in minutes
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@157 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xmunin/ups_3
1 files changed, 2 insertions, 1 deletions
diff --git a/munin/ups_ b/munin/ups_
index 10e1420..973203f 100755
--- a/munin/ups_
+++ b/munin/ups_
@@ -121,8 +121,9 @@ function runtime() {
echo "graph_title $UPS battery runtime"
echo "graph_args --base 1000 -l 0"
- echo "graph_vlabel seconds"
+ echo "graph_vlabel minutes"
echo "runtime.label runtime"
+ echo "runtime.cdef runtime,60,/"
echo "runtime.type GAUGE"
echo "runtime.max 10000"
echo "runtime.min 0"