Browse Source

strip # chars from the server name because munin thinks it's a comment. sorta fixes #38 (it's the closest I can get).

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
a079a7c0ec
  1. 2
      munin.py

2
munin.py

@ -50,7 +50,7 @@ if sys.argv[-1] == 'config':
print "graph_category network" print "graph_category network"
for mumble in mm: for mumble in mm:
print "%d.label %s" % ( mumble.id, mumble.name );
print "%d.label %s" % ( mumble.id, mumble.name.replace( '#', '' ) );
elif sys.argv[-1] == 'autoconf': elif sys.argv[-1] == 'autoconf':

Loading…
Cancel
Save