Alex Rivera | Logout

Django Celery: Admin interface showing zero tasks/workers

Asked 2011-03-27T12:20:26.063
28

I've setup Celery with Django ORM as back-end. Trying to monitor what's going on behind the scene.

  • I've started celeryd with -E flag python manage.py celeryd -E -l INFO -v 1 -f /path/to/celeryd.log

  • Started celerycam with default snapshot frequency of 1 second.python mannage.py celerycam

I can see the tasks being executed(in the celery log) and results being stored(data models periodically being changed by those tasks). However the Task/Worker pages in Django admin panel showing zero items. Same thing happens when I start celeryev(shows o events/tasks/workers).

Is there any additional configuration settings need to be changed to achieve monitoring?

My software stack: Django 1.1, Celery 2.2.4, Python 2.4

Edit
Report

1 Answer

8

I don't know if this will be helpful, but did you try running ./manage.py celerycam, it will capture the data into the database every 1 seconds thus you will be able to see online workers and tasks in the django admin interface.

answered 2011-08-13T19:54:08.760

Your Answer