munin/wormhhole_transit: fix key name

This commit is contained in:
Brian Warner 2016-05-26 18:04:52 -07:00
parent 4b840a37fe
commit bfa429cc5a

View File

@ -67,11 +67,11 @@ CONFIG = """\
graph_title Magic-Wormhole Transit Usage graph_title Magic-Wormhole Transit Usage
graph_vlabel Bytes per Hour graph_vlabel Bytes per Hour
graph_category network graph_category network
transit.label Transit Bytes bytes.label Transit Bytes
transit.draw LINE1 bytes.draw LINE1
transit.type DERIVE bytes.type DERIVE
transit.min 0 bytes.min 0
transit.cdef transit,3600,* bytes.cdef bytes,3600,*
""" """
if len(sys.argv) > 1 and sys.argv[1] == "config": if len(sys.argv) > 1 and sys.argv[1] == "config":
@ -79,4 +79,4 @@ if len(sys.argv) > 1 and sys.argv[1] == "config":
sys.exit(0) sys.exit(0)
c = count_events() c = count_events()
print "nameplates.value", c["transit bytes"] print "bytes.value", c["transit bytes"]