add client and site to the email subject for failing check alerts
@@ -295,6 +295,9 @@ class Check(models.Model):
CORE = CoreSettings.objects.first()
+ if self.agent:
+ subject = f"{self.agent.client}, {self.agent.site}, {self} Failed"
+ else:
subject = f"{self} Failed"
if self.check_type == "diskspace":
