diff --git a/api/tacticalrmm/agents/models.py b/api/tacticalrmm/agents/models.py index cc84de0082..c1ffd82d03 100644 --- a/api/tacticalrmm/agents/models.py +++ b/api/tacticalrmm/agents/models.py @@ -426,7 +426,10 @@ def physical_disks(self) -> Sequence[Disk]: @property def serial_number(self) -> str: if self.is_posix: - return "" + try: + return self.wmi_detail["serialnumber"] + except: + return "" try: return self.wmi_detail["bios"][0][0]["SerialNumber"]