get processor when agent registration

This commit is contained in:
Tuncay ÇOLAK 2020-09-11 11:14:15 +03:00
parent a26cf032a8
commit 772e6430a8

View file

@ -280,6 +280,7 @@ class Registration:
System.Hardware.BaseBoard.product_name()[0] == 0 else 'n/a',
'hardware.baseboard.serialNumber': System.Hardware.BaseBoard.serial_number()[1].replace('\n', '') if
System.Hardware.BaseBoard.serial_number()[0] == 0 else 'n/a',
'processor': System.Hardware.Cpu.brand(),
}
return json.dumps(params)