diff options
author | charleszlu <c4planted@gmail.com> | 2014-08-09 11:33:36 +0400 |
---|---|---|
committer | charleszlu <c4planted@gmail.com> | 2014-08-09 11:33:36 +0400 |
commit | 2877246cd379c727ae258e68f34911797c6f0887 (patch) | |
tree | 7c1edcaff4be79a26b626c582915473d194ba7be | |
parent | 9c98b52bd12754427a7f7af0efc60a330268b925 (diff) |
Update murmur-munin.py
-rwxr-xr-x | murmur-munin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/murmur-munin.py b/murmur-munin.py index a0f58dc..19ece00 100755 --- a/murmur-munin.py +++ b/murmur-munin.py @@ -143,11 +143,11 @@ if (sys.argv[1:]): ice.shutdown() sys.exit(0) elif (sys.argv[1] == "uptime"): - print "uptime.value %.2f" % (float(meta.getUptime())/60/60/24) + print "uptime.value %.2f" % (float(meta.getUptime())) ice.shutdown() sys.exit(0) elif (sys.argv[1] == "chancount"): - print "chancount.value %.1f" % (len(server.getChannels())/10) + print "chancount.value %.1f" % (len(server.getChannels())-1) ice.shutdown() sys.exit(0) elif (sys.argv[1] == "bancount"): |