Browse Source

apparently munin doesn't like the order changing (it will change colors in the graphs then), so guarantee a fixed order...

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

2
munin.py

@ -25,7 +25,7 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'pyweb.settings'
#os.environ['PYTHON_EGG_CACHE'] = '/tmp/pyeggs' #os.environ['PYTHON_EGG_CACHE'] = '/tmp/pyeggs'
from mumble.models import * from mumble.models import *
mm = Mumble.objects.filter( booted = True )
mm = Mumble.objects.filter( booted = True ).order_by( "id" );
if sys.argv[-1] == 'config': if sys.argv[-1] == 'config':
print "graph_vlabel Users" print "graph_vlabel Users"

Loading…
Cancel
Save