mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-29 06:12:21 +03:00
get processor when agent registration
This commit is contained in:
parent
a26cf032a8
commit
772e6430a8
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue