Django Celery: Admin interface showing zero tasks/workers

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

Answers


The event snapshots doesn't currently work with the Django ORM transport.


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.


Need Your Help

Increment an Integer within a HashMap

java pointers reference hashmap

Do I have to return the object and then put a new one in ? Or can I just directly increment ?