diff --git a/agent.py b/agent.py index 11ec17f..5646523 100755 --- a/agent.py +++ b/agent.py @@ -27,6 +27,7 @@ def human_size(bytes, units=units_map): class ENV: def __init__(self): + self.os = psutil.sys.platform self.hostname = psutil.os.uname().nodename self.cpu_number = psutil.cpu_count(logical=False) self.vcpu = psutil.cpu_count()