diff --git a/SOURCES/etc/xapi.d/plugins/smartctl.py b/SOURCES/etc/xapi.d/plugins/smartctl.py index 6958ac0..053f223 100755 --- a/SOURCES/etc/xapi.d/plugins/smartctl.py +++ b/SOURCES/etc/xapi.d/plugins/smartctl.py @@ -24,7 +24,7 @@ def get_information(session, args): with OperationLocker(): disks = _list_disks() for disk in disks: - cmd = run_command(["smartctl", "-j", "-a", disk]) + cmd = run_command(["smartctl", "-j", "-a", disk], check=False) results[disk] = json.loads(cmd['stdout']) return json.dumps(results)