Fixing munin.

This commit is contained in:
Samuel Clay 2013-06-26 13:03:44 -07:00
parent 1d82535faf
commit 2ade3b31e9
3 changed files with 3 additions and 4 deletions

View file

@ -26,7 +26,7 @@ psutil==0.7.1
pyes==0.19.1
pyelasticsearch==0.5
pyflakes==0.6.1
pymongo==2.2
pymongo==2.5.2
python-dateutil==2.1
python-gflags==2.0
pytz==2013b

1
fabfile.py vendored
View file

@ -201,7 +201,6 @@ def setup_app(skip_common=False):
update_gunicorn()
# setup_node_app()
# config_node()
pre_deploy()
deploy_web()
config_monit_app()
done()

View file

@ -21,8 +21,8 @@ class NBMuninGraph(MuninGraph):
from apps.reader.models import UserSubscription
from apps.social.models import MSocialProfile, MSocialSubscription
return {
'feeds': Feed.objects.count(),
'subscriptions': UserSubscription.objects.count(),
'feeds': Feed.objects.latest('pk').pk,
'subscriptions': UserSubscription.objects.latest('pk').pk,
'profiles': MSocialProfile.objects.count(),
'social_subscriptions': MSocialSubscription.objects.count(),
}