Commit 51090e6d by Bach Dániel

monitor: add firewall to check_celery_queues()

parent 3cafdeed
......@@ -23,7 +23,9 @@ from django.conf import settings
from manager.mancelery import celery
from vm.tasks.vm_tasks import check_queue
from firewall.tasks.remote_tasks import check_queue as check_queue_fw
from vm.models import Node, InstanceTemplate
from firewall.models import Firewall
from storage.models import DataStore
from monitor.client import Client
......@@ -80,6 +82,11 @@ def check_celery_queues():
"storage-" + s, is_queue_alive,
for fw in Firewall.objects.all():
is_queue_alive = check_queue_fw(, "firewall", None)
"firewall",, "firewall", is_queue_alive, time()))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment