From fb6804d0ff1352c1b68207f5063add250ea25d71 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Fri, 10 Jul 2009 23:12:56 +0200 Subject: [PATCH] apparently munin doesn't like the order changing (it will change colors in the graphs then), so guarantee a fixed order... --- munin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/munin.py b/munin.py index 351080e..622bbbc 100755 --- a/munin.py +++ b/munin.py @@ -25,7 +25,7 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'pyweb.settings' #os.environ['PYTHON_EGG_CACHE'] = '/tmp/pyeggs' from mumble.models import * -mm = Mumble.objects.filter( booted = True ) +mm = Mumble.objects.filter( booted = True ).order_by( "id" ); if sys.argv[-1] == 'config': print "graph_vlabel Users"